Skip to main content
12-Amethyst
February 6, 2014
Solved

I want to add Check-IN comments through code.

  • February 6, 2014
  • 1 reply
  • 1531 views

I want to add Check-In comments to an existing object without Iterating it. Is there any way to do that? Snipet would be really helpful.

Best answer by MatthewKnight

Not sure if this is in 10.1. See if VersionControlHelper.setNote exists and does what you want. Save with the Persistence server helper

1 reply

1-Visitor
February 8, 2014

Not sure if this is in 10.1. See if VersionControlHelper.setNote exists and does what you want. Save with the Persistence server helper

apatil-212-AmethystAuthor
12-Amethyst
March 13, 2014

Hi Matthew first of all sorry for late reply was busy in other task.

I checked the API its working .

VersionControlHelper.setNote(doc, "Comment");

PersistenceServerHelper.update(doc);

Thanks a lot..