Identify the Teamcenter Item Revision Type and Add Custom Query
Identify the Item Revision Type in the Teamcenter Rich Client and configure a new custom query in the pdmsyscfg.xml file.
-
Locate the Item Revision Type.
-
Add a new query entry in the pdmsyscfg.xml file.
Once you have identified the custom Item Revision type, update the Teamcenter
QueryContextsection in the pdmsyscfg.xml file:<Query name="Item Revision..." type="MyCustomPartRevision" typeKey="tc.query.Item.Type" keyword="MyCustomPartRevision" displayName="Custom Part Revision"> <SearchCriteria> <Value>tc.query.Item.Id</Value> <Value>tc.query.Item.Name</Value> </SearchCriteria> </Query>Tip:- Ensure the keyword value is unique within the
QueryContextsection. displayNameis what will appear in the search panel of the user interface.- Confirm that the property keys (
tc.query.Item.Id,tc.query.Item.Name) exist in the resourceBundle.properties file. - Save and validate the updated pdmsyscfg.xml file before deployment.
- Ensure the keyword value is unique within the