Adding related content
Copy
Related ItemTypes – that is, the ItemTypes that are related to any ItemType via an Item Property – can be included in a Query Definition for the Dynamic Viewer and Streaming Viewer. As noted in Section 3D Visualization Navigation Tool, this mechanism enables users to see content related to parts displayed in the 3D View. A related ItemType is added as a separate Query Item in the Query Definition.
Any related ItemTypes can be included but it’s important to note that the Base Query Definition must not be altered and the context ItemType must be associated with the CAD ItemType. Related ItemTypes use a Join Condition to determine how rows from the two associated ItemType tables should relate. By default, these Join Conditions use the id Property of one of the Query Items in the Join. This Join Condition can be altered, but users should understand the ItemType data model they are referring to when doing so.
Since the Part ItemType represents a core Business Object in PLM, it is likely that users will want to see the Part Items associated with the CAD Items returned in the Base query. Parts are associated with CAD Items by default using the Part CAD relationship. Part Items, using this relationship, are the source and CAD Items are the related. Thus, if users want to include the Part CAD relationship as a ‘referencing Item’ in the Query Definition, they need to include the Part Item using the following steps as described by Figure 16 and Figure 17. Similar steps can be used when adding content that references the selected Query Item – that is, has an Item Property that ‘points to’ the ItemType of the selected Query Item.