Writing Name/Value Metadata to a PDF

Folks,
We are trying to tag our PDF's here with information from our jobs database so as when they run through our Odystar workflow, the information can be used at the gateways (it doesn't matter if you don't know what Odystar is). Easy enough to do and it all works well. The problem is we don't want to be entering this manually, so what we have been working on, is doing it via Applescript.
Using an Applescript tool called PDFTK we have been able to enter name/value pairs into the PDF. When you open the resulting PDF in Acrobat and go to PROPERTIES - CUSTOM, the name/value pairs appear. So far so good.
If you were to enter these custom name/values into the PDF via Acrobat and save, when you open that PDF in Illustrator and go to FILE INFO - ADVANCED you can see that it has placed them into the ns.adobe.com/pdfx/1.3/ schema. However, if you enter the values via the Applescript tool (PDFTK) they do not appear at all in Illustrator (although they DO appear in Acrobat).
I'm struggling to get my head around why this is. I'm thinking we may have to add a custom schema, but I have no idea on this. Has anyone had any experience with this kind of scenario? Does anyone have any better options or tools or ideas for writing this metadata into the PDF?
Thanks in advance!!
Regards
HP

Hi Dave,
I've been playing with this a bit more myself, and you are bang on! The schema is the key!! The original tool was placing it... nowhere!
I've now managed to get a few steps further with this using EXIFtool and having a bit more (but not much) knowledge of schemas and namespaces. It seems that Odystar is only reading the PDFX schema. With EXIFtool I can get the data into ANY schema accept the PDFX schema! Uggghhhhh!! The PDFX schema has to be defined in the config (I think).
It's all getting bigger than Ben Hur let me tell you!
Anyone dealt with creating custom EXIFtool configs?

Similar Messages

  • Possible Bug: Excessive writing to TEMP directory for any PDF metadata change

    I am using the latest version of Adobe Bridge CC 6.1.0.116 x64 for Windows.
    I use Adobe Bridge to manage large archives of scanned PDF's composed of full page JPG's.
    Whenever I attempt to change metadata on these PDF's, Bridge performs heavy writing to the TEMP directory. Even when using an SSD, changing any metadata is very slow and the TEMP writes are enough to produce noticeable wear on the disk.
    [I would have attached screenshots, but I get a "That image type is forbidden" error in these forums whenever I attempt to upload screenshots (either JPG or PNG; and they are less than 900px on longest edge).]
    Resource Manager:
    IMAGE: Bridge.exe
    FILE:...\Temp\A9R12b8-1315f76
    WRITE: 349,175,808 B/sec
    The Task Manager also shows 356MB/sec writes for over fifteen seconds for each metadata change, with brief pauses between files.
    This amount of data written amounts to about 20GB each minute!
    (Note that the files I was modifying in this test averaged only about 100MB each.)
    Bridge did not always do this. I remember earlier versions performed metadata changes swiftly without these excessive write issues. I do not remember in which version this problem began, however.
    Resaving the files in question does not solve the problem. I have also tried exporting as Postscript and re-Distilling, and even exporting JPG's and recreating the PDF from scratch.
    This problem seems to affect any PDF that is a collection of full-page JPG's. The PDF's that I have made from TIFF's or non-rendered text do not cause this issue. On non-JPG based PDF's metadata changes are fast and do not cause noticeable writes to the TEMP directory.

    Thanks a lot Rob. That works.
    "Rob Woollen" <[email protected]> wrote in message
    news:3f29b665$[email protected]..
    java -Djava.io.tmpdir=<tmpdir path> weblogic.appc
    -- Rob
    Bernhard Lenz wrote:
    I realized that weblogic.appc creates a working directory
    /var/tmp/appcgen
    when compiling ejbs. What happens if 2 developers run weblogic.appc atthe
    same time? Will they be using the same temp directory and therefore getin
    each others way? I'd rather like to create a temp directory which isunique
    for the machine. Our build scripts would be able to create such adirectory
    but I couldn't find anything in appc to set the temp directory.
    Do you have any advice?
    Thanks for your help.
    Greetings
    Bernie

  • How do I add metadata to a PDF to specify the document's natural language?

    I have a PDF which isn't in US English. Can I add metadata to the document to say what language it is in?
    Is there a standard way of doing this?
    I see I can add Name:Value pairs to Custom Properties in Reader. Is that the right way of going about it? If so, what Name do I use?

    Are you sure you can add custom metadata properties? I'm surprised to hear that, because Reader is not usually capable to editing PDF files in such a way at all, and I wasn't able to insert such properties in Reader XI, even with the Extended Reader Rights applied to a file...

  • How to read metadata from a pdf file

    hello
    i have got xmp sdk for windows.
    i want to read the metadata from a pdf file but i cannot
    find a way to do so.
    i cannot understand that which method to use to open the file whose metadata i want to read.
    if someone can tell me by an little code example then it would be great help.
    thanks

    The sample XAPDumper read metadata in a file (PDF or not) if it is valide. If you want to keep the XAPMeta object, don't delete this object in ProcessSubstring().

  • How can I embed metadata in a pdf file using Acrobat XI Pro?

    Hi, everyone!
    I need some info how I can put things like key words, description of the file and the like permanently in the file to let it 'travel' in the file everywhere, no matter what the OS is. I guess I should use Properties 'path' but it resembles Windows system properties, so I'm not sure. Moreover, there's so little about it in manuals....
    Once I've done with it, can it be read just by Adobe Reader?
    And one important thing more: is there any inner search engine inside Acrobat XI to search the files by key words and other similar metadata criteria or I'm solely dependant on the OS search function?

    Thanks for the link - it sounds highly specialised, but simple experiments of opening a Properties Windows and putting some description notes and author or key word is readable by Acrobat reader or the system search engine so maybe it's not really complicated - mind you, I don't mean right-clicking on the file where options are poor and probably thode of the OS but Preferences edition after opening the document in Acrobat XI Pro - I hope this one is of Adobe and maybe I won't need Bridge to read it I know in the suggested thread it's a problem of graphics metadata within the pdf file....

  • How Automate Dynamically Embedding Customer Names from a List into PDF Footer?

    Mavens,
    After discovering that a PDF training workbook of mine has been widely copied (without authorization), I'd like to "personalize" future versions of this artifact with the customer/user name dynamically embedded in each PDF's footer.
    Based on your experience, what is the easiest, quickest & most economical way to: generate a set of PDFs (from a "Master") where each individual PDF is personalized with a user/customer name in the footer (e.g., "This document is licensed to {FRED BLOTZ} at {BIG COMPANY, Inc.}. Duplication or distribution is not authorized.").
    The desired workflow is:
    1. Create an MS-Excel Workbook with a list of all trainee (user) names.
    2. Open some type of "PDF Personalization" tool.
    3. Provide the path to the "Master PDF" to the tool.
    4. Provide the name of the customer (company) to the tool.
    5. Provide a path to the MS-Excel Workbook with list of individual's names.
    6. Provide a path to a folder where the tool should write the generated PDFs.
    7. Click a button ("Generate Personalized PDFs").
    Then...distribute individualized PDFs to trainees.
    Is there a tool out there somewhere which provides the desired solution?
    Thank you in advance for your experienced-based suggestions.
    Plane Wryter
    PS: While I fully appreciate the on-going discussions regarding the merits/lack-of-merits of DRM, etc...if you elect to reply to this request...please be so kind as to focus on the question as presented and avoid clambering onto a soapbox to "rant" about DRM...or suggest increasing the fee to the customer (a big firm that only pays "per-trainee" fees) to cover distribution. Thank you.

    go to database, show sql query. please paste the query in here it will be easier to help you
    if you cant seem to get it from there, go to database, database expert and edit the command file. (if that is the dataset you are using) copy and paste that.

  • How to make multi-box fields for name or address in a PDF form to be filled in?

    I would like to know how to make fields for name and address in a PDF form.
    I am now using Acrobat 8 Pro on Windows Vista. I have downloaded a form in the format of a PDF file. Basically it is just a file holding images of pages of the document, and there are no fields for me to type something on it using computer. This form will be used frequently by me, but I don't want to print it out and fill it in every time by hand. I want to fill it in in the computer and print copies of it when needed. The output will then be much more neat and tidy.
    I have seen PDF forms with blanks for typing name and address, which means the form can be filled in on the computer before printing. They are special, as these blanks allow users to type name and address with every character occupying a box in the field, which consists of ten boxes or so. These are not ordinary textfields. I want to make similar inputting field as well.
    Does anyone knows something about making these input fields with each character using 1 little box in the multi-box field? Any ideas are appreciated.

    Does anyone knows something about making these input fields with each
    character using 1 little box in the multi-box field?
    Use text fields with the comb of x characters feature.

  • Embedding extended XMP metadata into a PDF file

    Hello.
    I am preparing a thesis for submission into our library repository. They keep some additional information about the paper in a separate XML file which looks like: http://naca.central.cranfield.ac.uk/ethos-oai/2.0/uketd.xml
    The metadata can be then easily harvested by other libraries etc.
    Because the papers are downloadable and can freely circulate over the Internet I would like to also include the metadata into the PDF itself.
    I've managed to extend the PDFX (MiKTeX) package such that it writes custom metadata in addition to the default fields (Author, Title, Subject, Keywords) into the PDF.
    The problem is that the library metadata (see above) makes use of XSI schema which is apparently not compatible with RDF format of XMP.
    Is there a way to get such rich metadata sets into a PDF file in a portable and accessible (thinking about search engines) way or should I stick with plain Simple Dublin Core?
    Thanks for recommendations.

    You may want to repost this in the XMP SDK forum:  http://forums.adobe.com/community/design_development/xmp_sdk

  • SQL query - Alias name (value) as parameter to an Oracle function

    Hi,
    I have a sql query something like
    Select tbl1.valueA, tbl1.valueB, tbl2.valueX, MAX(CASE tbl2.valueY = 'XX' THEN tbl2.valueZ END) AS "ValueZ header", Function(tbl1.valueB, tbl2.valueX, "valueZ header")
    FROM table1 tbl1
    JOIN table2 tbl2 ON tbl1.id = tbl2.tbl1id
    WHERE ...
    my problem is that I need the value from MAX statement as parameter to the function and I have tried to use the alias name (valueZ header) but this is not working. I guess because of some syntax error. Can I use alias name as parameter into the function at all - if - how should I do this?

    Hi,
    user8819407 wrote:
    Hi,
    I have a sql query something like
    Select tbl1.valueA, tbl1.valueB, tbl2.valueX, MAX(CASE tbl2.valueY = 'XX' THEN tbl2.valueZ END) AS "ValueZ header", Function(tbl1.valueB, tbl2.valueX, "valueZ header")
    FROM table1 tbl1
    JOIN table2 tbl2 ON tbl1.id = tbl2.tbl1id
    WHERE ...
    my problem is that I need the value from MAX statement as parameter to the function and I have tried to use the alias name (valueZ header) but this is not working. I guess because of some syntax error. Can I use alias name as parameter into the function at all - if - how should I do this?You can use a column alias in the ORDER BY clause of the same query where it was defined, but that's the only place where you can use it in that query.
    You could repeat the entire MAX (CASE ...) expression as the 3rd argumnet to your function, or you could compute it once in a sub-query, then reference the column alias as often as you like in the super-query, like this:
    WITH     got_valuez_header     AS
         Select  tbl1.valueA
         ,     tbl1.valueB
         ,     tbl2.valueX
         ,     MAX ( CASE
                            WEHN  tbl2.valueY = 'XX'     -- Don't forget the keyword WHEN
                      THEN      tbl2.valueZ
                    END
                  )          AS "ValueZ header"
         FROM         table1     tbl1
         JOIN         table2     tbl2     ON     tbl1.id     = tbl2.tbl1id
         WHERE          ...
         GROUP BY     ...
    Select  tbl1.valueA
    ,     tbl1.valueB
    ,     tbl2.valueX
    ,     "ValueZ header"
    ,     Function_x ( tbl1.valueB     -- FUNCTION is not a good name for a function
                 , tbl2.valueX
                 , "ValueZ header"     -- Case-sensitive
    FROM    got_valuez_header
    ;

  • Batch rename files preserving the original file name in metadata

    How can I batch rename files while preserving the original file name in metadata? (Don't want the old file name as part of the new file name)
    (Adobe CS Bridge can do this with some success, but I don't want to be dependant on this software. Results are inconsistent.)

    With a simple terminal script. More details needed, though.

  • Name Value pairs

    Hi All,
    I am trying to achieve the following using the graphical mapping tool.
    Source:
    rows..................0-unbounded
    .....indicator1......1-1
    .....indicator2......1-1
    .....indicator3......1-1
    Target:
    Attributes...........0-unbounded
    .....constant............1-1
    .....field...................1-1
    Sample Source xml:
    <rows>
    ....<indicator1>Blue</indicator1>
    ....<indicator2>Large</indicator2>
    ....<indicator3>Hot</indicator3>
    </rows>
    In the target structure, I want to create name value pairs where constant1 is assigned constant 'Colour' and field1 is assigned indicator1.
    My issue is that in the target structure, I also want to create new name value pairs for each of the values in the source. This is illustrated in the target document example below:
    <Attributes>
    ......<constant>"Constant"</constant>
    ......<field>indicator1</field>
    </Attributes>
    <Attributes>
    ......<constant>"Constant"</constant>
    ......<field>indicator2</field>
    </Attributes>
    <Attributes>
    ......<constant>"Constant"</constant>
    ......<field>indicator3</field>
    </Attributes>
    An example would be (using the sample values above):
    <Attributes>
    ......<constant>Color</constant>
    ......<field>Blue</field>
    </Attributes>
    <Attributes>
    ......<constant>Size</constant>
    ......<field>Large</field>
    </Attributes>
    <Attributes>
    ......<constant>Wash</constant>
    ......<field>Hot</field>
    </Attributes>
    Can this be achieved in the graphical mapping tool before I turn to xslt?
    Please help!
    Regards,
    JS

    Hi - I have marked as helpful answer but I fear that I did not make it clear in my original question...
    The JDBC fragment below needs to be converted to the XML fragment... I am having difficulty doing this in the graphical interface.
    Thank you for your helpful answer up to now.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Debtor_JDBC xmlns:ns0="urn:finance">
       <row>
          <NO_BUNDLE>1</NO_BUNDLE>
          <PROMPT_SHIP_TO>0</PROMPT_SHIP_TO>
       </row>
    </ns0:Debtor_JDBC>
    <?xml version="1.0" encoding="UTF-8"?>
    <MASTER>
        <Debtors>
            <Attributes>
                <attributetype IsValueSet="1">1</attributetype>
                <name IsValueSet="1">No Bundle</name>
                <value IsValueSet="1">1</value>
            </Attributes>
            <Attributes>
                <attributetype IsValueSet="1">1</attributetype>
                <name IsValueSet="1">PromptForAddress</name>
                <value IsValueSet="1">0</value>
            </Attributes></Debtors>
    </MASTER>

  • Multiple XMP Metadata into Multiple PDF

    Hi, recently I've been trying to change the xmp metadata of multiple pdf, I already tried using Bridge and some other 3rd Party Programs but the issue is that all of those solutions just change the same information into multiple files, and what I want is to change different information into multiple files...
    is there a way to load the info from a *.csv or a *.xmp
    to be more precise I'm trying to change the Title Metadata of a tons of PDF but every file has a different Title... how can I do it massively?

    You may want to repost this in the XMP SDK forum:  http://forums.adobe.com/community/design_development/xmp_sdk

  • HTTP adapter as receiver to POST name-value pairs - How to?

    Hi,
    Scenario: HTTP Sender <> XI <> HTTP receiver (Sync throughout; no BPM)
    In this scenario, a HTTP channel is configured to the target URL to post data.
    The message mapping results in a XML. HTTP posts the same XML to the target URL.
    However,the target URL expects data Posted as name-value pairs.
    eg. eid=45678&zip=11011&ename=Tom%20Lee
    How can we configure HTTP adapter channel to post XML data as
    name-value pairs (as in standard HTTP Form Post)?
    Any pointers?
    thanx,
    Pops

    Hi Udo,
    I currently have a solution (simpler than having a BP), but do not expect it to be the right way of doing.
    I am using Java Mapping to convert the XML structure into Name-Value pair. So the output of Mapping is a string like how HTTP post is expected. So the interface mapping having multiple mappings - firstly, the original Message mapping, and then the Java mapping to do the conversion. So, with a small extension, the solution is still kept simple.
    However, I thought the POST requirement to HTTP URLs would be a common requirement, and expected the HTTP adapter doing this conversion. So, I am still looking for a straight solution (without any custom extensions).
    Any one else faced this situation?
    Can't this be handled by HTTP Adapter?
    -- Pops V

  • Publisher name in Item info for PDF is not displayed

    Hi All,
    Publisher name in Item info for PDF is not displayed (shows; unkown publisher) in Adobe Digital Editions. The Adobe Acrobat Professional does not have "Publisher" field to add Publisher name; it facilitates user to provide "Title", "Author", "Subject" and "Keywords" into the Document Properties (Ctrl+D)
    Some one please guide, to get Publisher name in "item info" for PDF in Adobe Digital Editions.
    Cheers
    Vikas

    For PDF the Publisher name comes only from the encryption information that is included when a PDF file is packaged for use by Adobe Content Server.  If this information was not included at packaging time there is no end user method for adding it in after the fact.

  • OPC DataSocket error 42 in writing negative values

    I was playing around with OPC and using the DataSocket pallete. Although I've used it reliably for a while and am content, I was baffled by one error. I was hoping someone could explain why this error occurs or how to solve it.
    In the NI Distributed System Manager I've created an Shared Variable of the type single, with Read/Write access.
    Problem
    When writing a value less or equal to 0 to an OPC URL, I get an error 42. When using the equivalent PSP URL, I don't get it.
    Using this VI snippet code.
    I get these paths and errors:
    This error 42 comes for all values below zero and for zero. For all positive values I don't get this error. What's the reason for this behaviour? In my humble opinion this is not wanted behaviour, as OPC tags should accept the whole value range of the single.

    White spaces are allowed in OPC URLs, so that cannot be the issue.
    I've tested with another LV2013 computer and NI Distributed System Manager 2013 and got the same errors. However, when I tested it on a LV2012 and NI DSM 2012 it was all working. Quite strange.
    Now I'm wondering if it's something local or that the bug was introduced in the 2013 distribution and if it has been solved in the 2014 version ...
    Could someone test it on LV2013 and/or LV2014, just to check if the problem occurs for other installations in LV2013 and if the problem has been solved in LV2014? Please indicate LV version and DSM version.

Maybe you are looking for