I have created sample.prt cad part by using Windchill API. it's open in Creo as well.
check out and check in operation via browser are working.
but when check ed it out and do some modifications in it using creo, then trying to check in back to Windchill.
this operation was failed, check the event manager and found, it was failing to upload the new data to server,
below is error from event management,
Content category "" for content object "sample.prt" in the document "sample.prt" could not be found on server.
How i can solve this ?
i have used below in my code,
EPMAuthoringAppVersion epmaav = EPMAuthoringAppVersion.newEPMAuthoringAppVersion(EPMAuthoringAppType.toEPMAuthoringAppType("PROE"), 30, "L-03");
my current creo version is creo 3.0M070.
the method is the wrong one. You currently try to create a new EPMAuthoring Application Version. What you need to do is to reference to an existing one.
This can help you: Check in new EPMDocument with Windchill API's.
still getting same error.
still now we have complted this much,
1. EPMDocument created by using API.
2. It is Opening in creo.
3. it's searchable in Windchill.
4. its checked out by using creo.
5. model is editable in creo.
6. after completion of modification, while check in, Upload operation was fail, saying content object error as showed in above images.
how we can overcome this, if you have any sample code / documentation to overcome this error.
I have created EPM Document logical object.I am unable to attach primary content on that file.Can you please share primary content attachment API names so that i can proceed further.