mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-23 18:05:32 +00:00
- 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
1 line
1.1 KiB
HTML
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, "execute" javascript, or "response" template) may be overridden. This is achieved by copying the original part to this extension folder. 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 "Keyword search" 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 "Refresh List of Web Scripts" button. The next invocation of the web script will include your override.<br /> </p> |