AnsweredAssumed Answered

web scripts placed in class path folder not recognized

Question asked by targa2000 on Feb 23, 2010
Latest reply on Oct 28, 2010 by dc_noze
I placed a simple webscript in class path folder: {Alfresco_installation}\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\extension\templates\webscripts\com\dev\simpletwo

went to
http://localhost:8080/alfresco/service/index and refreshed web scripts, but my web script is not being recognized. 

What is wrong?

<shortname>Simple Two</shortname>
<description>Simple Two web script</description>

<p>Simple 2, ${}!</p>

According to the alfresco wiki on web scripts, we can place web scripts in the following:

These files need to be stored in a folder somewhere. They can live in either the Alfresco Repository or the Java ClassPath. The following folders are listed in the sequence in which Alfresco searches for Web Script implementation files:

   1. repository folder: /Company Home/Data Dictionary/Web Scripts Extensions
   2. repository folder: /Company Home/Data Dictionary/Web Scripts
   3. class path folder: /alfresco/extension/templates/webscripts
   4. class path folder: /alfresco/templates/webscripts

Within any of these folders, you can use subfolders to organize web scripts.

New web scripts will not be visible until the "Refresh Web Scripts" link is clicked on the /alfresco/service/ page.

using Alfresco EE 3.2 on Vista

to get the web script identified by alfresco, need to load to

   1. repository folder: /Company Home/Data Dictionary/Web Scripts Extensions

and refresh.

but other paths should work?