TeamcenterKnowledge

Configuration utilities > Business Modeler IDE

get_key_definition

Gets the multifield key definition for a business object type. Multifield keys are identifiers assigned to each object to ensure their uniqueness in the database. At a command prompt, type: Copy get_key_definition -class=business-object-type The results are displayed as: Copy Key Definition for business-object-type is multifieldkey-definition Note There are other utilities that you can use to work with keys. Use the get_key_string utility to get the multifield key value of an item instance as a string containing property names and values, and use the mfk_update utility to update multifield key definitions in the key table in the database. For more information, see Analyzing multifield keys in BMIDE for Data Model Design. Syntax get_key_definition -class=business-object-type [-h] Arguments -class The name of the business object type for which you want to get the multifield key definition. -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 To get the multifield key definition for a business object type named T5_MyItem: Copy get_key_definition -class=T5_MyItem The results are displayed as follows: Copy Key Definition for T5_MyItem is T5_MyItem{item_id,object_type} Related Topics BMIDE for Data Model Design

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