Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Introduction

Parameters allow to change values and settings of TIS Projects (general parameters) and of operators (parameters of operators)

  • from outside of the project (e.g., TIS Board) and
  • for several operators at once.

Parameters are project-specific, i.e., the scope of a parameter is the project in which it is defined. A parameter from one project is not visible to other projects (however, values can be shared by several projects via TIS Tables).


What kinds of Parameters parameters are there?

There are two types of parameters

  1. General parameters (e.g., a text or a number to be entered)
  2. Parameters of operators (e.g., scaling intervals that can be picked out of a list)

 

What are Parameters parameters good for?

 

example:

General Parameters

General parameters are of one of the primitive data types available in TIS.

They allow for user input via the TIS Board, e.g., using the [TIS ] Board - Recalculate 3.0 operator (including a caption and a helptext)

 Their values can be used (with varying syntax) in different operators, e.g.,

 

Parameters of operators (for operation settings

These parameters refer to an operation setting, e.g., the interval intervals for scaling can be picked out of a list)

  • This allows for easier changes of settings, without going into the specific operator of a node of a [TIS]Editor – Project is changed from TIS-Board
  • Optional selections can often

    . They can be made available in the TIS Board by the Controller Portlet. This way

    • operation settings can be changed from the TIS Board,
    • the range of available options can be limited (e.g. users can select days, week, months,..., but

    e.g.
    • not minutes, as scaling intervals)

    It allows for changing
    • , and

    • settings of several operations within

    the
    • a project

    together -
    • can be changed together, allowing a more consistent use

    ,
    • and an easier interface.

    How to change values of parameters?

    Naturally via the Board by using the recalc-operator. However, also the formula operator (via   XIH.SetParam) might be used

     

    Parameter values can be changed in two ways:

     Drop Down

    Some value types produce specific interfaces (e.g. for date time)

    You may restrict the possible values or only allow for some values (e.g. texts in a drop-down menu) 

    Please note

    Text parameters must not be longer than 4000 characters.

    pythonPython

    The Python Scripting operator provides Infos information on all parameters

    Page Tree
    root@self