You are here

Web scripts

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

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

Important: For SkyVault 2.0 5.0 and SkyVault 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.