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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Translate the entire conversation x

SetGlobalID api does not work

rvanveerdeghem
11-Garnet

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

 

 

 

 

 

 

1 REPLY 1

Hi @rvanveerdeghem 

We faced the same issue and resolved it using custom code. There is no Windchill API as this table column is not meant to be changed unless from Creo element.

Announcements

Top Tags