The following is a list of descriptions for the environment variables found in SmartPlant Foundation. These environment variables can be used when creating conditions, security rules, ENS, and Data Validator import mappings.
Data Validator does not provide an equivalent environment variable when the ConfigLevel1OrBlank environment variable is used as the unique ID definition or unique key definition for a class definition.
Object properties |
Description |
---|---|
ACCESSGROUPSFORUSERINCREATECONFIG |
All valid access groups associated with the current create configuration/user (user's name). |
ACCESSGROUPSFORUSERINQUERYCONFIG |
All valid access groups associated with the current query configuration/user (user's name). |
ALLDOMAINSFORUSER |
All domains valid for the current user. |
CALLEDFROM |
Returns the string from the called client. For example, VBClient/WebClient based on a session parameter. |
CALLEDFROMDIALOG |
Returns the string from the called client based on a session parameter. For example, VBClient/WebClient. |
CONFIGCREATE |
Current create configuration string includes parent configurations. So if in project scope will include the plant. |
CONFIGLEVEL |
Current create configuration level. For example, 0, 1, 2, and so on. |
CREATECONFIGSTRING |
All current create configuration names in a comma separated list. |
CREATECONFIGUID |
Current create configuration UID. |
CURRCONFIGLEVELNAME |
Current configuration level name. |
CURRENTDATE |
Current date. |
CURRENTTIME |
Current time. |
CURRENTYMD |
Current date in the year/month/day format. |
HOSTNAME |
Current Data Validator server machine name. |
JOBDESCRIPTION |
Current Data Validator job description. |
JOBNAME |
Current Data Validator job name. |
OWNINGGROUPSFORCREATECONFIG |
All valid owning groups at the current create configuration level. |
OWNINGGROUPSFORQUERYCONFIG |
All valid owning groups at the current query configuration level. |
OWNINGGROUPSFORUSERINCREATECONFIG |
All valid owning groups for the user at the current create configuration level. |
OWNINGGROUPSFORUSERINQUERYCONFIG |
All valid owning groups for the user at the current query configuration level. |
QUERYCONFIG1, QUERYCONFIG2,3,4,5 |
Name of the query configuration at the specified level. |
QUERYCONFIGLEVEL |
Current query configuration level. For example 0,1,2 and so on. |
QUERYCONFIGSTRINGS |
All current query configuration names in a comma separated list. |
QUERYCONFIGUIDS |
All current query configuration UID. |
SERVERURL |
Current Data Validator server address. |
SESSIONID |
Current Data Validator session identification. |
USERNAME |
Current user's login user name. |
USERORGANIZATIONNAME |
Current user's company name. |
USERDEFAULTCREATECONFIG |
Current user's default create configuration. |
USERUSERGROUPS |
Current user query access groups. |
USERUSERTYPE |
Current user's types. |