2 Replies Latest reply on Aug 17, 2010 1:08 AM by Marijan Tompa [tomaxxi]

    get metadata of an image: RightsUsageTerms

    Martin Fischer Level 2

      I would like to read the 'rights usage terms' out of the metadata of an image.

      The city of the creator e.g. can be read out with this command:

      app.documents.firstItem().links.firstItem().linkXmp.getProperty("http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/", "Iptc4xmpCore:CreatorContactInfo/Iptc4xmpCore:CiAdrCity");

      But for the 'rights usage terms' this command doesn't work:

      app.documents.firstItem().links.firstItem().linkXmp.getProperty("http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/", "Iptc4xmpCore:CreatorContactInfo/Iptc4xmpCore:RightsUsageTerms");

      In the xmpSpecifications http://www.aiim.org/documents/standards/xmpspecification.pdf I could find the URI of the schema namespace http://ns.adobe.com/xap/1.0/rights/ with the property 'xmpRights:UsageTerms'.


      app.documents.firstItem().links.firstItem().linkXmp.getProperty("http://ns.adobe.com/xap/1.0/rights/", "xmpRights:UsageTerms");

      doesn't give me an expected value.

      Can somebody point me to the correct syntax to get the 'RightsUsageTerms'?

      Martin Fischer