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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

By Pass revise transition Or Set Object Revision to specific Revision

JM_10276355
10-Marble

By Pass revise transition Or Set Object Revision to specific Revision

Hi,

 

Is anyone aware of  below cases,

  • API to by pass the revise transition of the object to set new version

OR

  • API to set version to specific version without revising to new revision of the object.

Please let me know if anyone aware of this cases or any alternative if you feel.

 

Thanks in Advance

 

 

 

ACCEPTED SOLUTION

Accepted Solutions

You can see the APIs behind ChangeRevisionLabelUtility, internally they are using the below API, but they are doing a bunch of validation before, so if you can directly use ChangeRevisionLabelUtility that would be great, details are explained on this help center page: Changing the Revision of Objects (ptc.com)

VersionControlHelper.service.changeRevision(paramArrayList.get(0), newRevision, true);

View solution in original post

1 REPLY 1

You can see the APIs behind ChangeRevisionLabelUtility, internally they are using the below API, but they are doing a bunch of validation before, so if you can directly use ChangeRevisionLabelUtility that would be great, details are explained on this help center page: Changing the Revision of Objects (ptc.com)

VersionControlHelper.service.changeRevision(paramArrayList.get(0), newRevision, true);

Announcements

Top Tags