User Tools

Site Tools


parameters

This is an old revision of the document!


Project parameters

Parameters can be used to parameterize actions and expressions instead of file names in export/import actions and instead of constants in expressions (e.g. multipliers and ratios). See expression syntax for using parameters in expressions.

Parameters are global for a project, which means that they are available for all tables. The value of a parameter is the same for all tables. Changing a parameter value automatically (if Auto-run is on) causes recalculation of all actions that use the parameter.

Parameter editor

Parameters can be created, edited and removed using parameter editor available from menu Project or invoked by pressing F6.

Parameter types

Parameters can be of several types:

  • Text or number - the entered text treated as a number if it looks like a number, or as a text value otherwise
  • File path - this parameter type can be used for provide a file location. It has buttons for opening the file browser and triggering absolute/relative paths.
  • Folder name - this parameter type can be used for provide a folder location. It has a button for opening the folder browser.
  • Date - it's a number parameter that is supposed to indicate a date that can be chosen using a date picker (calendar)
  • Calculated parameter can be calculated using expressions. Such expressions can refer to another parameters (calculated or not) but not to field names as parameters are global exist on the project level. Calculated parameters are evaluated automatically before running a project or calculating a transformation.

Project overview

Besides the Parameter editor, all parameters can be viewed and edited in the Project overview sidebar.

EasyMorph Launcher

EasyMorph Launcher allows creating and running tasks with the same project but with different parameter values. It can automatically prompt parameter values on every run.

EasyMorph Server

EasyMorph Server also allows running projects with a different set of parameter values, or prompt parameter values on every run.

Command line execution

Parameter values can be provided from the command line, if needed. If a parameter value isn't provided then its default value is used. Calculated parameters can't be defined from command line. See the command line syntax for more details.

Read also

parameters.1552512579.txt.gz · Last modified: 2019/03/13 17:29 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki