Unable to create custom Item from Mendix

0
Hello,   I have created a custom item named "A5_WorkshopPart" in BMIDE and deployed it to Teamcenter server as well. I am able to create a custom item from Teamcenter rich client.   @Mendix: I have created entities for "A5_WorkshopPart" & "A5_WorkshopPartRevision" in order to extend my own domain model. But while creating the same custom item from Mendix app, I am getting below error message:   The following errors were returned from the Teamcenter server: The specified type item does not exist The specified type item does not exist   I have checked Teamcenter Business object mapping in Create Object service & all looks okay. 'A5_WorkshopPart=TCMX_Module.A5_WorkshopPart;A5_WorkshopPartRevision=TCMX_Module.A5_WorkshopPartRevision'   What could be the possible issue behind this? Does I missed any configuration related to custom item in Mendix?   Awaiting for kind responce.   Regards, Sandeep Pandey    
asked
2 answers
0

Hello Nicolas,

 

Thanks for your input!

But our customer is using TcConnector only in order to connect Teamcenter from Mendix.

Please share your valuable input towards TcConnector logic in order to fix my issue.

Regards,

Sandeep Pandey

answered
0

To create your custom item type, you need to provide the correct inputs to the ItemCreateInput and ItemRevisionCompoundCreateInput objects which are applied to the Create Object activity.

For example, to create an item of type CM5_MyItem:

 

{AB5DF044-9CEC-405B-B068-D201C869A173}.png

 

{AE3BCAC4-502D-455E-AF39-8F3477BC0D30}.png

 

Note too that custom item types may have mandatory attributes on creation, so you would need to add them to the CreateInput objects to match the CreateDescriptor in BMIDE

answered