David Caruana c7fddafa1e Web Scripts:
- addition of extension paths for web script customisations
- updated "delete ticket" web script to return appropriate response on success

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5867 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-06 11:57:42 +00:00

1 line
1.1 KiB
HTML

<h1>How to Customize a Web Script</h1><p>Documentation on how to develop a Web Script may be found <a href="http://wiki.alfresco.com/wiki/Web_Scripts">here</a>.</p><p>Any part of a Web Script (i.e. its description, &quot;execute&quot; javascript, or &quot;response&quot; template) may be overridden.&nbsp;&nbsp; This is achieved by copying the original part to this extension folder.&nbsp; The folder within which the part lives must be replicated in this extension area too.<br /></p><p>e.g. to override the html output of the &quot;Keyword search&quot; script...</p><p>copy</p><p><em>/Data Dictionary/Web Scripts/org/alfresco/repository/keywordsearch.get.html.ftl </em><br /></p><p>to</p><p><em>/Data Dictionary/Web Scripts Extensions/org/alfresco/repository/keywordsearch.get.html.ftl </em><br /> </p><p>Once copied, you can make your changes to the copy.</p><p>To ensure your override is registered, go to <a href="/alfresco/service/">/alfresco/service/</a> and click on the &quot;Refresh List of Web Scripts&quot; button.&nbsp; The next invocation of the web script will include your override.<br /> </p>