cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

SetGlobalID api does not work

rvanveerdeghem
9-Granite

SetGlobalID api does not work

We have a problem in our database from windchill 12. Normally all 3D EPMDocuments shoud have a globalID(sysid) in the DB, but many of them get a "null" value now.

There is an api to get the globalid --> wt.epm.EPMDocumentMaster.getGlobalID()

this api works fine

There is also an api to set the globalid --> wt.epm.EPMDocumentMaster.setGlobalID()

this api gives me an error.

Exception:

javax.servlet.ServletException: GlobalID cannot be modified for persistent master: Assembly - CAD1000474015.sdcc

 

Is there a possible solution for this? Is there a workaround for this and make the master not persistent for a few seconds until it's changed?

 

ps: the sysid is something from creo elements/direct modeling

 

 

 

 

 

 

0 REPLIES 0
Top Tags