Hi.
To create a version of a document in ARIS ADS through a report I am using the method updateDocumentContent ( ADSDocument document, ADSDocumentMetaInfo documentMetaInfo, InputStream content, String changeDescription ).
In another report I would need to retrieve the value of changeDescription. It's possible? Can't find the proper method in ADSDocument or ADSDocumentMetaInfo classes.
Thank you
Hi Robert.
I have tried but for each version it always shows the same description.
var versions = repos.getAllDocumentVersions(myfolder, title, namedoc)
for (var k=0; k< versions.length; k++)
{
var revision = versions[k].getRevision(); // Changes for each version
var metainfo = versions[k].getDocumentMetaInfo();
var desc = metainfo.getDescription(); //Always the description of the document and not the change-description of the version
}
Regards.