Start page
Start page

Start page / Template development / Scripting / Making scripts / Context / client

Client script

Client-side scripts run in the FirstSpirit client and, among other activities, can make input windows available to the editor. This script type is therefore suitable for project-specific automation of frequently recurring operations within the editorial process.

Client-side scripts can be started through these user interface components:

Menu script

A menu script can be run from the menu bar in the JavaClient.

Menu scripts can be reached in the menu bar under the main menu item Extras, sub-menu item Execute Script.

Type

Context

Menu

GuiScriptContext

  

Context menu script

Context menu scripts can be started from the context menu (right-click a node in a store) in the JavaClient.

The context menu item in which these scripts are displayed is Execute Script.

Type

Context

Context Menu

GuiScriptContext

  

Workflow Script

A Workflowscript is a script which is executed on an activity in a workflow (in the diagram it is the script createDataObject).

Type

Context

Execution on an activity

WorkflowScriptContext

  

Content2 Script

Scripts can be executed on a data record in the Content Store. These so-called Content2 scripts can be reached via the context menu item Execute Script .

Type

Context

Execution on data row

Content2ScriptContext

  

Special scripts

Special scripts cover special aspects of FirstSpirit.

PermissionEditor script

Scripts can be executed within a PERMISSION input component.

Each script specified in the input component's definition is displayed as a button below the input component (see testscript in the Figure) and can be executed by clicking on this button.

Type

Context

Execution through input component PERMISSION

PermissionEditorScriptContext
extends GuiScriptContext

  

PermissionEditor script

Scripts can be executed by clicking on or dropping data onto an FS_BUTTON input component.

Type

Context

Execution through click or drag and drop action

BaseContext

  

© 2005 - 2014 e-Spirit AG | All rights reserved. | Last change: 2013-05-15