You are here

Web scripts

Web scripts provide a way to write small extensions to Alfresco using JavaScript and FreeMarker.

Web scripts can run in the repository tier, or the presentation tier.

Important: For Alfresco One 5.0 and Alfresco Community 5.0 the Rhino JavaScript engine was upgraded to version 1.7R4. This can in certain rare circumstances break existing web script code. This can happen where JavaScript-based web scripts pass a string to the model, prior to it being passed to the FreeMarker template. The string must be fully converted, using the toString() method. If you notice that previously working web scripts no longer work, then this possible reason should be investigated.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.