Show ItemRevisions for a Workspace Object

0
Hi all, Setup Mendix: 10.24 Teamcenter: connected via TcConnector and Teamcenter Extension (using the SampleApp patterns) Page flow: I have a Data grid that lists WorkspaceObject records. Clicking a row opens a details page for the selected object. Goal: On the details page, I want to show a List view / Data grid of the selected object’s Revisions.   So how do i get this Revisions? I can search for them with SearchItemRevisions but i cant see how they are linked to their corresponding WorkspaceObj?
asked
1 answers
0

There are two ways you can set this up.

 

1. Using the Teamcenter extension, you can create an integration that not only searches for Workspace objects, but at the same time also retrieves additional data that is related and/or referenced. During the import mapping, you can check the relation/reference that you are interested in, after which you can configure the related/referenced object. Once you implement the new integration into your app logic, and you perform the call, the additional objects are available through an association with the same name as the technical name of the relation/reference you selected

 

2. Alternative is to, on the details page, to use the getProperties call. Setting this up is similar to the description above. You have to create a getProperties for the Workspace object, check the relation/reference you are interested in etc.

answered