Start page / Template development / Scripting / Context / client

FirstSpirit scripts

These scripts run in SiteArchitect and in ContentCreator and, among other activities, can make input windows available to the editor. These scripts are therefore suitable for project-specific automation of frequently recurring operations within the editorial process.

Scripts can be started through these user interface components:

Menu script

Menu script

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

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 script

Context menu scripts can be started from the context menu (right-click a node in a store or on a path specification in the editing area) in the SiteArchitect.

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

Type

Context

Context Menu

GuiScriptContext

  

Workflow Script

Workflow script

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

Type

Context

Execution on an activity

WorkflowScriptContext

  

Content2 Script

Content2 script

Scripts can be executed on a dataset 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

Permission 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 My script 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

ClientScriptContext

  

© 2005 - 2024 Crownpeak Technology GmbH | All rights reserved. | FirstSpirit 2024.13 | Data privacy