cancel
Showing results for 
Search instead for 
Did you mean: 

Webscript and Metadata

shutb45
Champ in-the-making
Champ in-the-making
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["iptcSmiley SurprisedriginalTransmissionReference"], node.iptc.originalTransmissionReference, node.properties["{http://www.alfresco.org/model/dictionary/1.0}iptcSmiley SurprisedriginalTransmissionReference"] 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.
1 REPLY 1

shutb45
Champ in-the-making
Champ in-the-making
I appologize, please disregard this post.  I noticed I put the wrong error message up so I went back and tried to get the correct error message posted and it worked.  I think it might be that this time I stepped through my search results instead of just using the search results as is since I knew that it was only one file that it would.

Sorry for the post, but it works now.