Web Script Dump and Load
Back to Web Scripts.
NOTE: This document describes features to be found in Alfresco v2.1 onwards.
Web Scripts "dump & load" provides a simple mechanism for extracting the full definition of a Web Script and then installing that definition elsewhere.
The URL template is:
e.g. to dump the sample "AVM Browse"
The resulting HTML page may be saved and sent to others (e.g. support). The default Web Script error page includes a link for dumping the Web Script that caused the error.
Not only does the HTML page provide a descriptive document of the Web Script, but it also contains the full definition (as embedded XHTML).
A simple Web Script installer is available at the (admin required) URL
It supports POST of a Web Script "file" which installs the Web Script into the Repository. GET returns a simple upload form and submit button.
What is the Web Script "file"? It's the HTML generated by the dump process.