Docs
  • Getting Started
  • Overview
    • Understanding
      • User-Interface
      • Shortcuts
    • Getting Started
      • Creating A New Application
      • Adding Basic Structure using Class Designer
      • Creating a link to the TIVITY File Class
      • Setting Rights
      • Creating Queries
      • Building The Layout
        • Creating an App Page
        • Creating an Object Page
        • Creating a List Item Layout
  • Building an Application
    • Application Setup
      • General
      • Documentation
      • License Management
      • Publishing the Application
      • Advanced Settings
        • Document-MailEditor
    • Data
      • Sources
      • Data Modelling
        • Class
        • Field
        • Action
        • Link
      • Query Data
        • Get Started with Query Designer
        • Common
        • Fields
        • Conditions
        • Default Values
        • Preview
      • Roles & Permissions
        • Rights Designer
      • Access Control Lists (ACL)
    • Views
      • Design UI
        • Page Types
        • Fields and Links
        • Layout Controls
          • Actions
          • Panels
          • Sections
          • Lists
          • Input
        • Layout Templates
      • Document Templates
        • Get started with Template Designer
        • Expressions in Templates
    • Execution
      • Functions
      • Workflows
        • Control Types
      • Trigger
      • Scripting
        • Accessing the Script Designer
        • Using the Script Designer
        • Commonly used Actions
        • Reference: Actions
          • Math
          • System
          • Date
          • Collection
          • LogicalOperators
          • Web
          • Structure
          • Constants
          • Converters
          • Commands
          • Text
          • PDF
          • Operators
          • PowerPoint
          • QR-/Barcode
          • Messaging
          • Cells
          • Xml
          • Admin
          • Integrations
    • Expressions
      • Expressions in Expressions
      • Expressions in Condition Values
  • Administration
    • Platform
    • Workspace
    • Security
    • Platform Setup
  • Extensibility and Integration
    • REST API
    • Source Adapter
      • Getting Started
      • Source Adapter Interface
      • RESTful Adapter Service
  • Adapter Portfolio
    • MongoDB Adapter
  • Platform Features
    • Enterprise Search
      • Integration into an App
      • General Settings
    • Templates
    • Tagging
      • Getting Started
      • Manage Tags
      • Settings
      • Usage
        • Tag filter
        • Tag panel
    • DMS Setup
Powered by GitBook
On this page
  • Class Designer
  • Real Field
  • Virtual Field
  • Pre-Script and Post-Script of an Action
  • Query Designer
  • Template Designer
  • Function Designer
  • Workflow Designer

Was this helpful?

  1. Building an Application
  2. Execution
  3. Scripting

Accessing the Script Designer

The Script Designer is a central feature in the TIVITY platform and the Scripting functionality is available in various areas.

PreviousScriptingNextUsing the Script Designer

Last updated 4 years ago

Was this helpful?

Class Designer

Switch your app into Config Mode and navigate to the . Navigate to Data > Classes to access the classes of the app.

​‌Select a class, if already available, and expand the Fields node to reveal the fields collections.

Real Field

Either you enter a field name in the Add new field data entry and hit Enter or you click an existing field to open the configuration view. Next, choose the Advanced section and in the Real field area you can either click on Create and open default script to add functionality to the field or click on Open default script to modify existing functionality

Virtual Field

Pre-Script and Post-Script of an Action

Query Designer

Template Designer

Function Designer

Scripts defined under Functions allow you to specify the Return Type of the value processed.

Workflow Designer

Any field which is marked with the code-fork icon on the right-hand side is a virtual field. Open the configuration view and switch to the Advanced section. Make sure the Get Expression Type in the Virtual Field section is set to Script and then click on either Create and open expression script or Open expression script to access the script definition.

To remove an existing script from a Virtual field click on Delete expression script.

Expand a class and open the Actions node to see the available functionalities. Open the configuration view to create or edit an Action. In the Advanced section you click on Create and open Pre-Execute-Script to define a script that is launched before the action is executed or Open Pre-Execute-Script to amend an existing script. Similarly, you click on Create and open Post-Execute-Script or Open Post-Execute Script to specify operations needed after the action has run.

A click on Delete Pre-/Post-Execute Script removes the script from your action.

Launch the to create a new query or edit an existing query, and move to the register. In the Virtual fields section you click on either Create and open script to add a new script to the query or Open script to modify an existing script.

Activate the Config Mode in your workspace and choose an application to configure. Navigate to the under Views > Templates and create a new document template or edit an existing one. In the Template section you click on either Create and open script to add a new script to the template or Open script to modify an existing script.

Navigate to your app Functions and create or edit a function. Click on either Create and open script to add a new script to the function or Open script to modify an existing script.

Open the Config Mode of your app and navigate to Execution > Workflows to access the list of . Either create a new workflow or edit an existing one. In the Element Diagram select a Transition or a Step, and access the Script Designer in the Script section.

Click on either Create and open script to add a new script to the workflow element or Open script to modify an existing script.

Workflows
Class Designer
Query Designer
Fields
Template Designer
Specify a default script of a field
Scripting the value of a virtual field
Define pre-execution or post-execution script for an action of a class
Access the Script Designer in the Query Designer
Document templates can be extended using Scripts
Functions are defined by scripts
Individual workflow elements can have a script each