Scripts

Extend Sophora with custom functionality

Scripts

Extend Sophora's server and clients with your own scripts for custom functions, workflows and validation.

You can develop server scripts for Sophora that react upon server events such as “save” or “publish”. You can develop custom client scripts for form validation or for special workflows. You can write custom validation scripts to implement more complex validations, for example, for the validation of a field that is based on the value of another field or even on the return value of an external application.

You can add one or more custom action buttons tied to a script to the document editor’s toolbar. One example is a script that automatically resolves Twitter URLs. Another function could be to send text to an automatic translation or tagging service.

Scripts can be added and managed under the menu item "Scripts" within Sophora's DeskClient administrator view. The recommend script language is Groovy.

Documentation

4
3

Details

ID
SCR
Audience
Development, Administration
Compatible With
Sophora
Is an Add-on
No
Is Part Of
Sophora
Categories
Developer
Creator
subshell GmbH
Icon