Skip navigation
Currently Being Moderated

Metadata in LiveCycle

Apr 4, 2011 10:01 AM

Is there a way to set up meta data in LiveCycle that will map over to Adobe?  In the adobe properties there is a "Keyword" section.  Where can get enter the Keywords in LiveCycle to that they will map over to that keyword section in Adobe?

Thanks!

Jodi

 
Replies
  • Currently Being Moderated
    Apr 4, 2011 10:33 AM   in reply to Jodi1725

    Click on File --> Form Properties

     

    Add meta data to the Info tab.  Anything entered here will carry over to Adobe.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 4, 2011 10:43 AM   in reply to Jodi1725

    You might have to code it in the xml code along with the encoding.  I am testing your issue now on one of the forms I am currently working on and will let you know what I find out.

     

    Eve Tracy

    KDA/ IRT

    (785) 368-6261

    Eve.Tracy@kda.ks.gov

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 4, 2011 11:18 AM   in reply to Jodi1725

    Hi,

     

    the keywords can be definded manuall in the XML source.

     

    Look for the following segment ...

     

     

    <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>

     

     

    ... and insert a tag with your keywords, so it looks like.
    <rdf:Description xmlns:pdf="http://ns.adobe.com/pdf/1.3/" rdf:about="">
             <pdf:Producer>Adobe LiveCycle Designer ES 9.0</pdf:Producer>
             <pdf:Keywords>keyword1, keyword2, keyword3,keyword4</pdf:Keywords>
    </rdf:Description>
     
    |
    Mark as:
  • Currently Being Moderated
    Apr 4, 2011 11:22 AM   in reply to Jodi1725

    In the xml you want to add this:

     

    <dc:subject>

                <rdf:Bag>

                  <rdf:li>Keywords</rdf:li>

                  <rdf:li>keyword 2</rdf:li>

                  <rdf:li>keyword 3</rdf:li>

                </rdf:Bag>

    </dc:subject>

     

    The meta data in XML is located at the bottom.  Locate the following and add the script.

     

    <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">

            <xmp:CreatorTool>Adobe LiveCycle Designer ES 8.2</xmp:CreatorTool>

            <xmp:ModifyDate>2011-04-04T13:15:27-05:00</xmp:ModifyDate>

            <xmp:CreateDate>2006-03-24T12:09:19-05:00</xmp:CreateDate>

            <xmp:MetadataDate>2011-04-04T18:17:18Z</xmp:MetadataDate>

          </rdf:Description>

          <rdf:Description xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" rdf:about="">

            <xmpMM:DocumentID>uuid:2b8434e9-051b-4cd4-946d-4a430813611d</xmpMM:Do cumentID>

            <xmpMM:InstanceID>uuid:f38d5eb5-91f9-4597-83de-d564cb55505a</xmpMM:In stanceID>

          </rdf:Description>

          <rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:about="">

            <dc:format>application/pdf</dc:format>

            <dc:subject>

                <rdf:Bag>

                  <rdf:li>Keywords</rdf:li>

                  <rdf:li>keyword 2</rdf:li>

                  <rdf:li>keyword 3</rdf:li>

                </rdf:Bag>

            </dc:subject>

     

     

     

    Ida Eve.Tracy

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 4, 2011 11:25 AM   in reply to Jodi1725

    Next to your Design View tab, there should be XML Source tab.  If not, right click on the space next to the Design tab and select XML.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 4, 2011 11:33 AM   in reply to Jodi1725

    No problem, let me know how it works out.

     

    Eve Tracy

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 4, 2011 1:13 PM   in reply to Jodi1725

    Wonderful, good to hear!

     

    Eve Tracy

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 10, 2012 3:10 PM   in reply to radzmar

    radzmar,

    Your approach worked great, but is there a way to add values to the keyword tags automatically (via Javascript) by retrieving such values from user input (field data)?

     

    Example:

    Name.rawValue = John

    State.rawValue = FL

     

    Results:

    "John"  and "FL" both shows up as a keywords in Properities.

     

     

    Thanks

    Shaun

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 13, 2012 12:06 AM   in reply to SI_MSD7

    Hi,

     

    you won't be able to change that values at runtime as the matadata is not part of the form template itself but contained in the PDF.

    http://partners.adobe.com/public/developer/en/xml/xfa_spec_3_3.pdf#pag e=1252

     

    At design time you could use Designer's macro capabilities to create new metadata without entering the XML source.

    But there is currently no such macro that can do this, so it needs to be developed by someone.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points