Example: We want to change the Description of the Item Revision and use LINA of the 3D as value.
In order to be able to use attribute mapping, activate the key PdmOnCheckin_02.EXECUTE with value _TC_HOOK_SERVICE.mapAttributes.
[CreationOptions(is3d):include(CreationOptions)] PdmOnCheckin_02.EXECUTE=_TC_HOOK_SERVICE.mapAttributes
Create the following blocks and keys according to the desired Object/Reference where the change should take effect.
[AttributeMapping(is3d)] Attr_Content_04=TeamcenterAttributes_Item{ModelObject}>>revision_list{ModelObjectVector} Attr_Section_04=TeamcenterAttributes_Item{ModelObject}>>revision_list{ModelObjectVector} [TeamcenterAttributes_Item{ModelObject}>>revision_list{ModelObjectVector}] object_desc=?_FORMAT_0("<ATTR(english,LINA)>").value()
To figure out the Real Name which is used for Description in Teamcenter, do the following:
Add the key object_desc (which is matching the Real Name in Teamcenter) with the following value containing the desired PARTsolutions attribute (in this example "LINA)".
Terminate the process "pddlhost" with "vbbhost" in the command line.
-> Now the Description will show LINA: