Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Metadata in LiveCycle

Jodi1725
Level 4
Level 4

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

1 Accepted Solution
Ida_Eve
Correct answer by
Level 4
Level 4

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

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

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

View solution in original post

16 Replies
Ida_Eve
Level 4
Level 4

Click on File --> Form Properties

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

Jodi1725
Level 4
Level 4

HI Ida!  Thanks for the info.  the problem is that "keywords" isn't a choice in the info tab.

Hopefully in the next version of LiveCycle it will be

Ida_Eve
Level 4
Level 4

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

radzmar
Level 10
Level 10

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>
Ida_Eve
Correct answer by
Level 4
Level 4

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

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

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

View solution in original post

Jodi1725
Level 4
Level 4

Thanks!!!  That is new to me.  I don't know where to put that code in the form?


Ida_Eve
Level 4
Level 4

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.

Jodi1725
Level 4
Level 4

Thank you again!!! I will try it !

Jodi

Ida_Eve
Level 4
Level 4

No problem, let me know how it works out.

Eve Tracy

Jodi1725
Level 4
Level 4

I actually did it!  It is there!  Woo Hoo!  Thanks again soo much!   I

SI_MSD7
Level 6
Level 6

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

radzmar
Level 10
Level 10

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#page=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.

calvinkwoo3000
Level 1
Level 1

Is there anyway to remove or hide metadata as highlighted below?

metadata.png