Configuration utilities > Business Modeler IDE
gettypeconstantvalue
Returns the value of type constant, that is, a business object constant, on a particular business object in the database. The utility provides help in troubleshooting issues on the server once the type constants are deployed to the database. The utility also applies the inheritance and scope of the type constant while fetching the value. Therefore, it removes the burden of manually analyzing the extracted model to troubleshoot a type constants value on a given business object. The utility accepts the name of a type constant and business object and outputs the value of the constant, if present. Syntax gettypeconstantvalue [-u=user-id {-p=password | -pf=password-file} -g=group] -constantname=type-constant-name -typename=type-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 type constant. -typename Specifies the name of the business object. -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 gettypeconstantvalue -u=admin-user -p=admin-password -g=dba -constantname=SampleConstant -typename=WorkspaceObject returns the following: Copy Value of the type constant SampleConstant on type WorkspaceObject = QWERTY Related Topics BMIDE for Data Model Design
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/coz1737253683897/avc1737253684501/gettypeconstantvalue.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)