Populate fields in PDF file

I have a requirement to develop a function module that will be called in a background process.  This function module needs to read in a PDF file containing javascript (always the same file), populate specific fields in that form (with data passed into the function module), and write out the new version of that file.  Any help in figuring out how to do this would be greatly appreciated.
Edited by: Bob DeNuto on Dec 23, 2008 3:32 PM

>If I understand correctly you propose something like this
Something like, yes.
>
>Acrobat.exe /A "zoom=100" "xml=C:\example.xml" ....
Certainly, neither will work. /A is followed by a single quoted
string. There must be some separator, but I don't know what it needs
to be (as I was alluding to in my first reply).
To see if there is any hope, just try without the zoom= completely. In
any case you can set the zoom in the document properties.
Aandi Inston

Similar Messages

  • Import Data/Populate fields in pdf from Excel

    I'm not sure if I am using the correct terms, but I would like to set up text fields in a pdf that can import data from specific fields in an excel file.  I found the import data form in the properties of the text field, but it will only allow me to select pdf files.  Is it possible to import data an excel file to a text field?  I would like to do the following
    1. create a excel table that includes kids last name, first name, and Grades (Q1, Q2, E1, S1 etc...)
    2. I have a pdf form that already has text fields that correspond to the fields mentioned above.
    3. Set up the pdf to import the data and generate a page for each student.
    I specifically mentioned excel because everyone at my school has excel.  However, it would also work if I could design another pdf with a table that I could import data from.

    Something like this?
    // Import the first row of data from "myData.txt".
    this.importTextData("/c/desktop/myData.txt", 0)
    if (typeof cnt == "undefined") cnt = 0;
    this.importTextData("/c/desktop/textdata.txt", cnt++ % 4)
    // Specify the name of the template
    var template_name = "Student Information Sheet";
    // Get a reference to the template
    var t = getTemplate(template_name);
    // Add a new page based on the template
    if (t !== null) {
        t.spawn({
        nPage: numPages,      // Add the new page to end of document
        bOverlay: false,      // Create a new page, not an overlay
        bRename: true         // Rename the fields
    } else {
       app.alert("The template named \'" + template_name + " does not exist in this document.", 1);
    But how would I tell the new page to take the second row from the chart, and will I have to click the button for each one of the fields in the data?

  • Empty CreatorDate field in PDF files generated by Report 6i on Windows 7

    When generating a PDF file from Reports 6i on Windows 7, the CreatorDate in the PDF file header is empty.
    Even worse: its opening parenthesis "(" is not closed. See example here below.
    This generates several problems with Adobe Reader 10 like:
    - text searching does not work although you can select text and do a copy paste,
    - File/Properties does not work (nothing happens when selecting this menu item),
    - File/Save As PDF generates the Adobe Reader error "The document could not be saved. There was a problem reading this document (114)."
    We do not have this issue with Windows XP.
    Any idea?
    %PDF-1.1
    1 0 obj
    <<
    /Creator (Developer 2000)
    /CreatorDate ( <---- here is the error: missing value and missing ")"
    /Author (Oracle Reports)
    /Producer (Oracle PDF driver)
    /Title (LETTRE_TEST_PDF_REPORT.pdf)
    >>

    As you probably know, Developer 6i is not supported on Windows 7. Search the Forms and Reports forums for tips like:
    Install in XP compatiblity mode.
    Run in XP mode with Virtual PC.

  • PDF vrs. XML   Pre-populate fields in PDF created in Acrobat 7.0

    After converting some interactive/dynamic templates from Acrobat 5.0 to 7.0 we can no longer pre-populate fileds, including the barcode. With the 5.0 version we use FDF to populate the fields including the barcode 3 of 8, but with 7.0 it does not work and we were advise to use XML.
    We've been trying XML but can't make it work. Does any one know where I can get some sample coding?
    Please help!

    Hi Laura:
    Can you elaborate a bit more on "converting some interactive/dynamic templates from Acrobat 5.0 to 7.0" and "pre-populate"?
    If you were converting the template in Adobe LiveCycle Designer (comes with Acrobat Professional), then FDF import wouldn't work.
    However, if you are executing the same action via Acrobat then FDF and xFDF import/export should still work.
    Also, for designer based forms, you also have the option of merging the data into the PDF form using Adobe LiveCycle Forms (A server based product).
    Another server based solution is to Reader Extend your PDF form to allow local import/export of data using Adobe Reader.
    It really depends on what you want to do.
    So options are this:
    If your form is a Designer based forms:
    - Manually Import Data (in XML) into PDF Form using Acrobat Professional
    - Manually Import Data (in XML) into PDF Form* (Reader extended PDF form) using Adobe Reader
    - Merge Data Programmatically (in XML) into PDF Form using Adobe LiveCycle Forms
    If your form is an AcroForm (acrobat based form)
    - Programmatically merge FDF data into PDF Form using the FDF toolkit/Acrobat SDK
    - Manually Import Data in FDF/xFDF into PDF Form using Acrobat Professional.
    Rob W.
    http://www.ensemble.com/solutions/adobe

  • IBooks not displaying PDF files properly. Help!!

    Most PDF files open fine in iBooks on my new iPad 3. However, some show up with blank pages. Sometimes the first couple of pages are visible but at a very poor resolution so that the file is unreadable and then the rest of the pages are blank. Sometimes the whole file is blank. These are mostly PDFs of academic articles that I downloaded from JSTOR. Can someone please help with this?
    I've looked online and found people reporting a similar problem 2 years ago. I this really something that Apple can't solve? Should I buy goodreader? I know it is only 5  euros but I don't want to fork out money if it is going to have the same problem.
    Saving the ,PDFs again on my desktop, which is the solution suggested 2 years ago on the online forum I found seems a rather awkward solution for what must be a simple problem.
    Is there another solution. Any help would be very much appreciated, thanks

    Without finding a PDF that I can download and try, I would recommend giving up on iBooks. Download Adode Reader if it is availble in your app store. It is free as well. I find it to work better with PDF files than iBooks.
    I cannot read pdfs that have fillable form fields in PDF files in iBooks, but the fillable form fields are visible in the PDF files if I open them in Adobe reader.

  • How to allow user to select pdf file on local machine and populate field with file name only

    Folks,
    I have a project requirement that I am stumped on.  I am admittedly a novice, so forgive questions that may seem obvious.
    My requirement is a form running on a client system where the user can click a button and select a PDF file name from a PDF on their local machine and then populate a form field with that file path & filename.  The file names vary between all machines, so there is no static list.  Note that the PDF is not embedded, nothing is executed, I simply need the file name.
    There are several of these on a form (20+), so manual name entry is too error prone.   I would like to use a 'browse' type dialog, but can not figure out how to implement it.
    I've looked at app.browseForFile, but the users can not install a javascript file in their adobe folder or any other files;  the functionality has to be integral with the original PDF. 
    Functionally, this is no different from the image object file browse, except that I need a PDF instead of an image file, so there doesn't seem like there should be a security issue that is any different from those surrounding the image object.
    I've been stumped on this for the entire week, and I have a deadline rapidly approaching, so any examples or suggestions (please remember I'm a novice) would be greatly appreciated! 

    Thanks for the reply Paul - do you have any sample code of how to attach the PDF?  Or how the user can select a PDF to open?  I might be able to attach it, retrieve the file name, and then un-attach it.
    Alternatively, do you know how to retrieve the file name from the imagePath object?  It will let you select PDF files, but I can't find info on how to retrieve the file name.   It should be the way you would retrieve the file name for an image.
    As a novice in this, thanks for your help and patience!

  • How to specify xml file to populate form fields in the PDF file via command line?

    Hi,
    I would like to specify xml data file to populate my pdf file using command line.
    The form was Reader extended.
    I've tried the following syntax :
    Acrobat.exe /A "zoom=100" "C:\example.pdf"#xml="C:\example.xml" but got an acrobat error: "the file name, directory name or volume label syntax is incorrect".
    Where am I wrong?
    Thanks!

    >If I understand correctly you propose something like this
    Something like, yes.
    >
    >Acrobat.exe /A "zoom=100" "xml=C:\example.xml" ....
    Certainly, neither will work. /A is followed by a single quoted
    string. There must be some separator, but I don't know what it needs
    to be (as I was alluding to in my first reply).
    To see if there is any hope, just try without the zoom= completely. In
    any case you can set the zoom in the document properties.
    Aandi Inston

  • How to auto populate numerous pdf files with same name and address?

    I have numerous pdf files where a company's name and address will need to be entered onto each file.  Would there be a way to enter this information once, say on an excel file or something, and then have this information auto populate all the correct fields in each and every pdf file I have to fill out.  I am a complete rookie with Adobe Acrobat.  At any one's convenience please let me know or point me in a direction where I can possibly learn this for myself.  If Adobe offers this type of service please let me know which department to contact.
    Thanks,
    John

    If you were an InDesign user, you could layout the document there, and use the Data Merge feature to bring in the names and addresses from Excel. Then create a PDF of the resulting file which could be split into individual PDFs.
    There might be a way to do it similarly with Microsoft Word and Mail Merge.

  • How to add digital Signature Field in cfdocument pdf files?

    Hi,
    We are generating pdf files using cfdocument to populate values and wondering how we can add digital signature field in those pdf files. Any help or comments would be deeply appreciated.
    Thanks,
    hismail786

    Hi,
    Yes, we have options to add digital signature to the pdf. We have one attribute called "Permissions" in "cfpdf" tag. If we provide permissions = 'AllowSecure', then system would allow digital signature for that pdf.
    Please go though the docs for details info. I will post in details next.
    Thanks
    Chandrakant

  • Can I modify a pdf file containing a signature field prior to download?

    I have a pdf file I use as a template and in my .net application I fill in a few fields using pdfstamper, iTextsharp, etc.  I'm new to this.
    That all works.
    I also have a signature field in my document.
    After I modify the fields, with the person's name, etc., I download it to the client machine, open it in Adobe Reader X, and ask the user to sign the document.
    I get an error saying "This document enabled extended features in Adobe Reader. The doc hsa been changed since it was created and the extended features are no longer available......"
    Is there a way for me to do what I'm trying to do?  I hope this is somewhat clear.  It appears that modifying the fields with itextsharp is what's causing the error to occur.

    Thank you for the replies.
    More specifically, here's what I'm doing.  There's a desk where people come to pick up a gift card.  When someone picks one up, a clerk runs this .net program, selects the persons name form a dropdown list, I modify a pdf file (using iTextSharp), by adding the person's name, the serial number of the giftcard, etc, download this file to the client desktop, where the person signs using an ePad.  Then the clerk saves that pdf file.
    The clerk will not be able to go into the menus and remove and/or save Reader Usage Rights.  Is there a way through code that I can add Reader Usage Rights after I modify the file.  It sounds from your replies that that's what I need to do.
    Also, I don't really care about the official "signature", security, certificates, etc.  I just want someone to be able to scribble onto the document using a signature pad. 
    I do have Acrobat Pro X and LiveCycle.  (I assume that means I have LCR Extensions.)
    Dave

  • How can I incorporate an overlay with fields into a PDF file?

    Once a week, I produce a timesheet. It's a PDF document generated by a third-party time-recording app, and it has room for hand-filling in signatures/dates/names, etc - 7 fields all told.
    What I want to do is build a separate document containing an equivalent block of 7 PDF-fillable fields such that:
    I can overlay the PDF-fillable fields on the space for hand-filling fields on the timesheet;
    I can send the combined PDF file to another person in order to collect their name and (ink) signature.
    I can then fill in my own (ink) signature, etc.
    I can do the same thing week in, week out with no fiddling of fields, etc.
    I got tantalizingly close (I have Windows Acrobat X Pro). I built the PDF-fillable form as a separate PDF, and merged it into a sample timesheet as a Background (and I also tried using a Watermark). However:
    some of the seven PDF-fillable fields simply vanish;
    one of the remaining fields seems to have picked up a name and formatting from another deleted field (is there some kind of uncleared cache in play?);
    all the remaining fields were marked as Read-Only.
    Update:
    FWIW, I got it to work by reversing the files - i.e. by using the timesheet itself as the background.
    When I add the Background (regardless of which is the main document), I get a series of warnings indicating that fields in the Background bearing the same name as those in the main document will get lost, but from what I can tell, fields in the same location as those on the main document also get lost.
    When I use the template as the main document, things fall into place and the scheme works.
    However, the situation seems like a fairly routine one that should be easier to solve. Ideally, I'd like to build a layer on top of the timesheet form and save that layer as an overlay.
    TIA
    Josh

    Did you ever figure out how to overlay something on a PDF form? I've created buttons to allow a user to change out the background, but I want to have an image and possibly other elements on that.

  • How can I open a PDF file and enter a word in the Find field from the command line?

    Hi,
    I want to use a PDF file as the help file of another program.
    I have found somewhere an incomplete description of the command line parameters of Acrobat Reader.
    It described how to open a file and jump to its given page.
    I have written the following batch file based on that.
    rem Open pdf (prm1) with Acrobat reader at given page (prm2)
    "%adobe_rdr%\AcroRd32.exe" /N "zoom=73&page=%2=OpenActions" %1
    The following batch file opens the search dialog:
    rem Open pdf (prm1) with Acrobat reader
    rem and search for something (prm2)
    "%adobe_rdr%\AcroRd32.exe" /N "zoom=73&navpanes=1=OpenActions&search=%2" %1
    I need the simple find field instead of the complicated search window.
    Regards
                   Ferenc

    Not possible.

  • When printing PDF file, have FORM TEXT in text fields

    When I print a PDF file, I get { FORMTEXT } in all the text fields (as well as { FORMCHECKBOX } for where the person would circle an answer) and I don't know how to turn it off. Appreciate any help.
    I also get symbols where there should be a regular empty box (where then someone would just put an x or check mark).

    Do you mean that you get this when printing FROM a word document with
    form fields TO a PDF? If so, you have to turn off your Word option
    that prints field names.
    Aandi Inston

  • How can I expand text fields in my PDF file which I built in Forms Central?

    I'm working in Windows 7 and just created my first form in Forms Central. I have many text fields that I intended for the end user to be able to type as much information in them as necessary. I selected the "multiple lines of text" setting for each of these fields. I was told by someone at Adobe a while back when I was trying to decide on learning LiveCycle Designer or using the much more user-friendly Forms Central that the form fields would not automatically expand in the PDF form, but that I would be able to click or drag on the fields manually to expand them so that, ultimately, they could be printed with all the comments, for however many pages it would take. I've exported my Forms Central form to a PDF file. However, when I type multiple lines of text in the form fields I set up to be "unlimited," I cannot get the form fields to expand. What have I done wrong? Help, please!

    We are dealing with a similar situation.  We have downloaded LiveCycle and created the form, but as we knew would happen, the changes that come for the content of the form are causing us to max our trial version, and as soon as the form needs a change outside of the trial time period, we are faced with the next dilemma, as Adobe doesn't offer to purchase a single license at a reasonable rate.  The only reason we wanted LiveCycle was for the dynamic field feature.  I plead with you to consider offering that feature in Forms Central.  The other issue that we are having is that our users sometimes need to paste a table into the expandable text field.  Is that even possible in Live Cycle?  We don't at this point need the web-based functioning that Live Cycle offers. Thank you.

  • Bug:Downloading pdf file from the web,file name in dialog box populates with incorrect file name

    Hi Gurus
    When downloading any pdf file from the web using adobe Reader X the file name dialog box populates with incorrect file name
    compared to the saved file name of the document downloaded.
    Clarity
    1. Download any pdf file from the web
    2. Click File, Save as note the populated File Name
    3. Compare the populated file name with the saved file name of the documant yuo are downloading.
    4. The file Name is incorrect...
    Is there any work around on this issue?Can someone please help?..
    OS:Windows7
    Reader: Adobe Reader X
    I've tried a couple of other versions and still get the same results...

    Are you downloading the file (right-click, save link as), or just opening it by clicking it?
    If the latter, then what happens is the file is loaded to the temporary internet files folder by IE and assigned a temporary name, which is then used when you're trying to save it.
    You can test this out by going to File - Document Properties before trying to save and looking at the file's location.

Maybe you are looking for