Create a Report with TeamCenter

1
Hello!! I’m trying to make a report from my app with TeamCenter. I follow the Learning Path “Integrate Teamcenter Into Your App” https://academy.mendix.com/link/paths/140/Integrate-Teamcenter-Into-Your-App but when I do the microflow in 5.1.1, I want to create a report with other details, not just name and desc. But when I add some attributes an error appears. I attached the images. If someone know something, please tell me! :) Thanks!  
asked
5 answers
1

The process for assigning custom properties on item revisions is as follows:

  1. Create the properties for the Item Revision in Teamcenter and add them to the create descriptor if they need to be set at the time of object creation
  2. Create an entity in Mendix for your item revision. This is a specialisation of ItemRevision and contains the new properties with EXACTLY the same names as they have in Teamcenter (case sensitive too)
  3. Create an entity in Mendix for your revision creation. This is a specialisation of ItemRevisionCompoundCreateInput and contains the new properties with EXACTLY the same names as they have in Teamcenter (case sensitive too)
  4. When you create the Item, supply an object which is of the type in step 3 for the compoundCreateInput__0 property of ItemCreateInput
answered
0

I tried to generalize two entities (one for CompndCreateInput and one for CreateInput) and added attributes to these entities. In the microflow I changed the entities for mines, but each extra attribute give me an error.

I don’t know if I’m working in the correct way.

I saw something like I have to map the attributes from TeamCenter, but I don’t know where to find them in TcConnector domain model.

answered
0

I don’t have access to Teamcenter to create new properties. I’m working with Active Workspace.

It is possible to do it from there?

Thanks a lot!

answered
0

Oh, OK. Thanks for your answer!!

answered
0

There are properties in Teamcenter that you can set during creation of objects and then there are properties that you cannot set during creation. It may be that you are dealing with properties that fall in the latter category.

 

In that case, what you need to do is to:

1. Create the object with the properties you are allowed to set on creation

2. Update the object with the properties you are not allowed to set on creation

answered