AnsweredAssumed Answered

Webscript and Metadata

Question asked by shutb45 on Nov 3, 2008
Latest reply on Nov 3, 2008 by shutb45
Does anybody know how to get the IPTC properties for a node.  I am trying to get certain IPTC fields from a file and then send those by JSON to another program. Currently my web script searches for a particular node then uses that node to get the properties.  So far I've used node.properties["iptc:originalTransmissionReference"], node.iptc.originalTransmissionReference, node.properties["{http://www.alfresco.org/model/dictionary/1.0}iptc:originalTransmissionReference"] and all have errored out with the following error message:

Error during processing of the template 'Expression imageFile.properties.isDoucument is undefined on line 8, column 16 in helloworld.get.html.ftl.'. Please contact your system administrator.

Does anybody know how I can get a IPTC field in a webscript?

Thanks in advance for your help.

Outcomes