cancel
Showing results for 
Search instead for 
Did you mean: 

Javascript automation - how to acces document property

Lisa_Bonnon
Champ in-the-making
Champ in-the-making

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

1 REPLY 1

Not applicable

Hello,

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

Regards

Michael