TeamcenterKnowledge

Structure Management ─ Deployment and Administration

Display custom icons for business objects in the context search results

As an administrator, you can customize the display of different (custom) icons based on the property of the derived types Awb0Element or Item Revision. Once you have added custom icons, you must perform the following steps to ensure that these icons are displayed properly in the search results.

Procedure Modify AwDataNavigatorViewModel.json to include objects and properties in the aceSearchPolicyOverride section. Modify occMgmtPropertyPolicy.json to include objects and properties used in icon customization.

Examples Consider the following example where a custom icon typeCustomIcon48 is added. The steps required to ensure that the custom icon is displayed properly in the search results are as follows: For example, you add the following entry in typeIconsRegistries to typeCustomIcon48 when someCustomProperty of the underlying object has the value Test. For more information about using the typeIconsRegistry file, see Registering icons (advanced) . Copy { "type": { "names": [ "Awb0DesignElement" ], "prop": { "names": [ "awb0UnderlyingObject" ], "type": { "names": ["ItemRevision"], "prop": { "names": ["someCustomProperty"], "iconFileName": "typeCustomIcon48", "conditions": { "object_name": { "$eq": "Test" } } } } } }, "priority": 11 } You must perform the following steps to display the custom icons added in the above example to the structure search results on Active Workspace.

Caution Before upgrading Active Workspace, you must back up the AwDataNavigatorViewModel.json and occMgmtPropertyPolicy.json files. And after upgrading Active Workspace, you must merge these files. Modify AwDataNavigatorViewModel.json to include ItemRevision and someCustomProperty in the aceSearchPolicyOverride section. Copy "aceSearchPolicyOverride" : { "types": [ { "name": "Awb0Element", "properties": [ { "name": "awp0ThumbnailImageTicket" }, { "name": "object_string" }, { "name": "awp0CellProperties" }, { "name": "awb0BreadcrumbAncestor", "modifiers": [ { "name": "withProperties", "Value": "true" } ] }, { "name": "awb0UnderlyingObject", "modifiers": [ { "name": "withProperties", "Value": "true" } ] } ] }, { "name": "Fgd0DesignElement", "properties": [ { "name": "awb0UnderlyingObject", "modifiers": [ { "name": "withProperties", "Value": "true" } ] } ] }, { "name": "Cpd0DesignElement", "properties": [ { "name": "cpd0category" } ] }, { "name": "Wbs0ElementCondElement", "properties": [ { "name": "wbs0IsWorkElement" }, { "name": "wbs0RevObjectType" } ] }, { "name": "ItemRevision", "properties": [ { "name": "someCustomProperty" } ] } ] } Modify occMgmtPropertyPolicy.json to include awb0UnderlyingObject with properties and the ItemRevision object with someCustomProperty.

Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/administering_product_structures/jcl1737238818702/xid1978237.html · retrieved 2026-07-11