AnsweredAssumed Answered

how to access doc properties with AlfrescoJavaScript

Question asked by lucille.arkenstone on Jun 30, 2010
Latest reply on Jul 29, 2010 by lucille.arkenstone
Hi…
I want to be able to put the custom metadata of the file-to-be-approved in the body of an email in my process definition.  I tried to access a document like they do in doc_info.ftl.  I put:
document.name + "\n" + document.properties['custom:myCustomField'];
, but I get:
ReferenceError: "document" is not defined.

Thanks

Outcomes