Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

JavaScript code for access to advanced form properties (xmpmeta)

Avatar

Level 1

In Designer ES2 9.0 it is possible to add further parameters to the properties.

In the xml source, they can be found under the node <xmpmeta>.

How can I access the value of these parameters with JavaScript?

Sample xml code:

...

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.2.1-c041 52.337767, 2008/04/13-15:41:00        ">
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
         <xmp:MetadataDate>2010-07-29T12:12:21Z</xmp:MetadataDate>
         <xmp:CreatorTool>Adobe LiveCycle Designer ES 9.0</xmp:CreatorTool>
      </rdf:Description>
      <rdf:Description xmlns:pdf="http://ns.adobe.com/pdf/1.3/" rdf:about="">
         <pdf:Producer>Adobe LiveCycle Designer ES 9.0</pdf:Producer>
      </rdf:Description>
      <rdf:Description xmlns:pdfx="http://ns.adobe.com/pdfx/1.3/" rdf:about="">
         <pdfx:SVNDate>$Date: 2010-07-29 16:11:03 +0200 (Do, 29 Jul 2010) $</pdfx:SVNDate>
         <pdfx:SVNRevision>$Revision: 225 $</pdfx:SVNRevision>
      </rdf:Description>

...

0 Replies