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
Hi,
Is anyone aware of below cases,
OR
Please let me know if anyone aware of this cases or any alternative if you feel.
Thanks in Advance
Solved! Go to Solution.
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);
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);