TeamcenterKnowledge

Configuration utilities > Business Modeler IDE

getglobalconstantvalue

Returns the value of a particular global constant in the database. The utility provides help in troubleshooting issues on the server once the global constants are deployed. The utility accepts the name of a global constant and outputs the value of the constant, if present. Syntax getglobalconstantvalue [-u=user-id {-p=password | -pf=password-file} -g=group] -constantname=global-constant-name [-v= on | off] [-h] Arguments -u Specifies the user ID. This is a user with Teamcenter administration privileges. Note If Security Services single sign-on (SSO) is enabled for your server, the -u and -p arguments are authenticated externally through SSO rather than being authenticated against the Teamcenter database. If you do not supply these arguments, the utility attempts to join an existing SSO session. If no session is found, you are prompted to enter a user ID and password. -p Specifies the password. This argument is mutually exclusive with the -pf argument. -pf Specifies the full path and filename of the password file. For information about managing password files, see Manage password files. This argument is mutually exclusive with the -p argument. -g Specifies the group associated with the user. If used without a value, the user's default group is assumed. -constantname Specifies the name of the global constant. -v Specifies verbose mode. Specify on to display a detailed message. Specify off to display only the value. Default value is on. -h Displays help for this utility. Environment As specified in Setting up a Teamcenter command-line environment. Files As specified in Log files produced by Teamcenter. Restrictions None. Examples Entering the following command: Copy getglobalconstantvalue -u=admin-user -p=admin-password -g=dba -constantname=SampleConstant returns the following: Copy Value of the global constant SampleConstant = XYZ Related Topics BMIDE for Data Model Design

Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/coz1737253683897/avc1737253684501/getglobalconstantvalue.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)