Javascript automation - how to acces document property

Hello I'm trying to use the new javascript automation but can't find a way to access a metadata of a document. If I get a Document as var doc, what is the syntax to get it's title, or a specific metadata?

Sorry for this rookie question Many thanks Lisa

0 votes

1 answers

1815 views

ANSWER



Hello,

you need to do doc.getTitle() to get the title, and doc.getPropertyValue(“…“) to get a specific metadata.

Regards

Michael

0 votes