Difference between revisions of "SpecialKeywords"

From CaseTalk Wiki
Jump to: navigation, search
(Created page with "= Keywords = Keywords are applied as default values for custom attributes or in SQL as parameters for the ''macro'' function. For custom attribute default values you can spe...")
 
m
 
Line 26: Line 26:
* '''%IGNAMESPACE%''' : Current IG Namespace identifier
* '''%IGNAMESPACE%''' : Current IG Namespace identifier
* '''%IGVERSION%''' : Current IG Version number as retrieved from the Manager
* '''%IGVERSION%''' : Current IG Version number as retrieved from the Manager
* '''%ACTIVEIGD%''' : The top-most active diagram name


The [[Modeler:10/Environment | Preferences]] allows adding your own custom keywords which upon evaluation will be replaced by your user value.
The [[Modeler:10/Environment | Preferences]] allows adding your own custom keywords which upon evaluation will be replaced by your user value.

Latest revision as of 10:33, 29 March 2024

Keywords

Keywords are applied as default values for custom attributes or in SQL as parameters for the macro function.

For custom attribute default values you can specify any text value. Also you may use some predefined keywords which will expand into a value upon usage. The possible keywords are:

  • %ID% : Entity name of identifier of the object itself
  • %GUID%: A globally unique identifier, partially based on hardware and time, this always creates a 128 bit unique identifier.
  • %UUID%: Similar to GUID, yet a more readable global unique identifier in the format of: "<username>@<computername>/<timestamp>".
  • %NOW% : Current date and time


  • %COMPUTER% : Current computer name
  • %USER% : Current computer user
  • %AUTHOR% : License User Name
  • %COMPANY% : License Company Name


  • %LOCALE% : The repository locale (nl-NL, en-US, ...)
  • %LANGUAGE% : The language part of the Locale (nl, en, ...)
  • %COUNTRY% : The country part of the Locale (NL, US, ...)


  • %PROJECTNAME% : Current Project Name
  • %IGNAME% : Current IG Name
  • %IGNAMESPACE% : Current IG Namespace identifier
  • %IGVERSION% : Current IG Version number as retrieved from the Manager
  • %ACTIVEIGD% : The top-most active diagram name

The Preferences allows adding your own custom keywords which upon evaluation will be replaced by your user value.