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.

  1. Locate the Item Revision Type.
    1. Open the Teamcenter Rich Client.
    2. From the menu bar, select Window > Show View > Other.
    3. Navigate to Diagnostic > Print Object.
    4. In the Print Object panel, scroll down to the object_type attribute.
      The value of object_type is the Item Revision Type. Example: MyCustomPartRevision.
  2. Add a new query entry in the pdmsyscfg.xml file.
    Once you have identified the custom Item Revision type, update the Teamcenter QueryContext section 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 QueryContext section.
    • displayName is 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.