Populating Existing PDF with XDP data

I have a fill-in PDF that, in years past, used a simple XFDF file to populate. Using VS.NET 2010 I read in the XFDF document and populate all the necessary information and populate the PDF using ds.WriteXML(XFDFName). The PDF gets populated and it gets displayed in a simple WinForm app. This has worked like a champ for a few years now. Until now...
This year, the problem I have run into is I was unable to export the data to an XFDF format due to the file having been created in Adobe LiveCycle. I noticed that the export options were either (1) XML or (2) XDP. In the past I'd been able to export to XFDF. No big deal I thought, just another format. However, I have been struggling with both of these options. After some deliberating I decided to use the XDP format.
I have the dataset built with all of the information I need, I am receiving an error when opening the newly created XDP using Process.Start(XDPName). Reader opens and I am greeted with the following error: "Adobe Reader could not open 'GUID_HERE.xdp' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."
I tried using a straight up href to the PDF (<pdf href="FillMeIn.pdf" xmlns="http://ns.adobe.com/xdp/pdf/">), but opted to stick the PDF in the XDP in the <chunk> section.
This XDP file looks like this (thanks stack overflow):
<?xml version='1.0' encoding='UTF-8'?>
<?xfa generator='AdobeDesigner_V7.0' APIVersion='2.2.4333.0'?>
<xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>
    <xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'>
        <xfa:data>
               XML is here - matching the dynamic fields in the PDF.
        </xfa:data>
    </xfa:datasets>
    <pdf xmlns=\"http://ns.adobe.com/xdp/pdf/\"><document>
       <chunk>
                    Base64 encoded PDF.
        </chunk>
    </document></pdf>
</xdp:xdp>
I would think the XDP I'm generating is bogus - but to further complicate things - if I open Reader click Tools > Forms > More Form Options > Manage Form Data > Import Data and choose the XDP file that I've generated, all the fields are populated as I expect them to be.
So basically, there is obviously a disconnect somewhere. I have a XDP file with all the information in it I need. I have a PDF form that I need to populate with the XDP. But when I fire up the XDP Reader is telling me it's broken/not supported. As I understand it, when you launch an XDP file it should properly launch/populate using Reader, correct?
Any information would help me out immensely. Thanks.

Was the form you are trying to import this data to created with LiveCycle Designer?
I would fill in the form then export the data to XDP and see what the differences are.

Similar Messages

  • Wrong file in the "Populating an ArrayCollection with retrieved data" exercise

    In the "Populating  an ArrayCollection with retrieved data" there is a file ex2_04_starter.zip, which contains ex2_04_solution.mxml file and should contain ex2_04_start.mxml, right ?
    Great videos! Thank you!

    Hi Burpix,
    Looks like the link for the starter file within the exercise is linked to the wrong file.  If you pull the project archive for Day 2 you will get all of the starter & solution files and video transcripts for all of Day 2 exercises.  The starter file for ex2.04 is correct if download it from the project archive zip.  Adobe will be fixing the link within the exercise later but for now you can pull the correct starter file from the project archive zip.

  • How can I populate a pdf with database data?

    How can I populate a pdf that we have on our server with database data on our server?

    Actually, if you export it in the right format then you won't need a script
    at all.
    You can import data directly into fields from a plain-text file via Tools -
    Forms - More Form Options - Import Data...
    I believe the format is tab-delimited with the field names in the first row
    and their values in the second.

  • Filling in pdf with FDF Data gives me square blocks

    Hi,
    I am trying to fill in a form with fdf data using pdftk but whenever I do, it gives me square characters instead of the actual text. Does anyone know why it does this?
    I am using Arial font

    Hi George, thanks for your help
    Here is the FDF:
    %FDF-1.2
    1 0 obj<</FDF<< /Fields[
    <</T(FIELD1)/V(BLAH)>>
    ] >> >>
    endobj
    trailer
    <</Root 1 0 R>>
    %%EOF
    I don't even have Helvetica on my computer
    EDIT: To be honest, I think it may have something to do with my PDF file, because I am trying to populate the fields using pdftk-php and it is doing the same thing.

  • Business Server is email pdf with a .dat extention after 8398280

    Customer applied 8398280. After which ran into a few problems, one which is that when they schedule a report to run and send via email (that they had chosen to run as pdf) the attached file of the report gets sent with a .dat extention. If they save and change the extention to .pdf, then they can view the file just fine. Can anyone tell me how the name of the file with the extenion is being controled, and of course how to fix this so it gets sent with a .pdf extention?
    thanks in advanced

    I am experiencing the exact same issue...did you resolve this one? Hss anyone tried to reregister the report with a different name? Or recreating xml templates?
    Edited by: user2497809 on Jul 30, 2009 7:41 AM

  • I am not able to save the pdf with filled data or related to reader extension

    Hi,
    I have designed a pdf with some text field controls. But i am not able to save the document when i fill some data into the pdf.
    or whenever i save data it says that the pdf will be saved blank.
    I know that this is the reader extension issue. How to i add this reader extension feature into it.
    I know that reader extension can be
    1. cached
    2. A document can be made reader extended using adobe live cycle process.
    3. also it can be embedded while designing the pdf.
    Can any body let me know how do i incorporate reader extension feature while designing and at runtime too.
    I know we have taken reader extension license but dont know how to use this reader extension feature.
    Regards
    Sunil

    Hi Sunil,
    You indicate that you have a Reader Extensions license, did you also purchase Adobe LiveCycle Reader Extensions ES2? You would apply the license to your form using this server product.
    You can also apply reader rights using Acrobat Standard v9 (or Acrobat Professional v8), but this has license restrictions - see EULA. Also the rights that are enabled using this route will not be as many when compared to LC Reader Extensions ES2.
    I have a summary here:
    http://assurehsc.ie/blog/index.php/2010/05/using-livecycle-forms-in-acrobat-and-reader/
    Also have a look at the Adobe page:
    http://www.adobe.com/products/livecycle/readerextensions/
    Maybe talk to the Adobe sales in your region.
    Good luck,
    Niall

  • Strategies for populating drop downs with external data

    Hi,
    I have a couple nice forms that call various array scripts that populate drop down boxes based on a selection.  Everytime I need to update pricing, models, etc... I have to go in and manually edit the array.  I am using just designer - we do not have the server version.
    Is there a better way to do this ranther than edit the array and keep saving version?  I have seen some expamples using anXML file to the form.  This looks like a solution but I am not sure how to do it if this.
    It would be nice to have seperate database that contained my widgets external, update it and then make the connection. 
    Any help would be apprecated!

    This is a similar thread....
    http://forums.adobe.com/message/5538822#5538822
    Maybe this is a taboo subject as it something adobe wants you to buy the server version for...  I see this get asked many times but there never seems to  be a direct answer.
    In an effort to make my question more clear - If i have users out there with a form, and I want to update the form with a nightly updated file, that may contain pricing for example, how can one do this?
    So the core form stays the same, but dropdowns can be populated with external data.
    Thanks in advnace for any all help.

  • Opening/focusing new/existing window with refreshed data

    hi ,
    I want to open the results in a new browser window with current requested data as soon as I click on a button from a jsp.I mean as soon as I click on a button if the new window is already opened then the opened window should be get focused with refreshed current data, if the new browser window is not already opened then clicking on button from jsp should open a new window with refreshed data.
    Following both ways are not working proper, could you tell me whts wrong with it..?
    javascript functions:
    function winOpen(statusVal)
    var resultsUrl = "http://.........";
    var fullURL= resultsUrl+"Status="+statusVal;
    var lastOpened = null
         if ( lastOpened != null ) {
              lastOpened.close();
              lastOpened = null;
    lastOpened =window.open(fullURL, null)
    lastOpened.focus();
    with this code new window is opening but if I minimize that new window and if I click on a button jsp with new querry values, the same opened window is getting focused but not with new results in that window. I.e results in window are not getting refreshed ....
    2.
    with the following code every time it opens the new new windows( irrespective of already opened window) with new requested data.
    function winOpen(statusVal)
    var resultsUrl = "http://.........";
    Openedwindow=window.open(resultsUrl+"Status="+statusVal;
    Openedwindow.focus();

    Can u let me know how you solved this.
    Thanks in advance

  • Flattening Dynamic pdf with .xdp fragment

    Hello,
    I'm having problems, flattening merged dynamic pdf's , that have fragments from a source .xdp file, if i set default values inside the xdp, it shows up. They are generated inside the .xdp with some javascript code. They show up in the dynamic version, but they are gone in the static version, Anyone knows a solution for this?
    Thanks in advance.

    Was the form you are trying to import this data to created with LiveCycle Designer?
    I would fill in the form then export the data to XDP and see what the differences are.

  • Unable to print FrameMaker 9 file to PDF with Acrobat Data

    I'm trying to print a FrameMaker 9 file to PDF, but the "Generate Acrobat Data" field and the PDF Setup button are both disabled - meaning I cannot select or unselect either. How can I get these re-enabled?

    Jeff, yes, it happens with all our files. FYI, we have 5 networked computers with FM and this is happening on all our computers too. The latest patch we have is p196. Do you think that could cause the problem?
    Arnis, I double checked the printer. I got to a screen that looks similar to yours and it does say Adobe PDF Converter driver. But it's interesting that you say this is what happens when it detects a non-postscript printer. Could the driver be corrupt or something?

  • Query on populating existing table using denormalized data

    Hi All,
    struck in a bad situation :(
    Please see if you can assist..
    Scenario:
    I have data in a flat file which needs to be imported to oracle.. I am doing it using external table.. working fine..
    the data is like:
    cust1~currency1(e.g USD)~interest(e.g. 10)~2009
    cust2~currency2~interest~year
    cust1~INR~interest~2009
    i need to populate 2 tables using this:
    tab1(cert_id,custno, currency)
    tab2(cert_id, interest, currency) .. cert_id is a foreign key referring to tab1
    cert_id is a existing sequence which i am using
    Now the issue is if i directly load data in these two tables by fetching through a cursor..
    it creates two rows in tab1 with different certificate ids for a particular year which is incorrect..
    it should be one tax certificate per customer per year..
    Can anyone please just provide a hint or something.. (data volume is aroun 100,000)
    please let me know if you are unable to understand the scenario....

    No four digit Oracle version was included: too much work.
    No platform was included: too much work
    The erroneous code was not included: too much work
    The request consists basically of 1 line: It does't work. pls suggest.
    Yet another request, where the requestor wants maximum help with no effort on his side.
    How can anyone understand this 'scenario'?
    We are not in a chat room, your webcam is not switched on, and no one is looking over your shoulder.
    Sybrand Bakker
    Senior Oracle DBA

  • Export PDF with additional data

    I would like to add a button on the toolbar next to the PDF button.
    Which would export a pdf to a path then call a script to which we can send META data with,like order number, business partner nr. etc.
    Where can one add a icon and write a function for this?

    Hello,
    Best of my known you cannot add a new item into the toolbar. it is not implemented in UI API, so not possible.
    Regards
    János

  • Rendering PDF with Windows.Data.Pdf and allowing text selection

    Hi there,
    I need to render a PDF and allow the user to select text on the PDF.
    As I see, Windows.Data.Pdf does not support more than returning an image.
    Even so, how can I achieve my goal? The Windows 8 app "Reader" has this capability but I don't understand how it works.
    BTW: I have tested other renderers but they have rendering issues with some complex PDF content (complex: RTL).
    Thanks,
    Lidan

    Hi Lidan,
    Unfortunately, the built-in PDF feature has not provided select text on the PDF. You can send your request on UserVoice to ask public that API.
    https://wpdev.uservoice.com/forums/110705-dev-platform.
    Looking for a work around, you can use your favor search engine to look some third party library.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Importing PDF with vectora data into PS CS5?

    Hello,
    I've done some research, and have the feeling that what I'm asking for is not possible, but I just wanted to make sure, and see what other options there may be.
    Here's my situation:
    I'm trying to get an Excel sheet into a brochure-type document that I'm making in PS CS5. I would like the Excel data to still have that crisp look of the vector data, and be able to be scaled up or down, searched for, etc. I've got the Excel sheet saved as a PDF, looks fine when opened in Acrobat, etc... all the text is there, etc. When I go and open it in PS, it is all rasterized and loses it's clean look and the ability to size it up / down without losing the quality.
    Is there any way in Photoshop to make this possible? If not, what other options should I look into? I believe it's doable in Illustrator, but I'm not sure, and I'm just looking for some other options.
    Any help is much appreciated!
    Trevor

    Would I need both of these programs (Inkscape and Scribus) in order to do this? If so, are there any tutorials or anything that can help me out with it? I'm playing with the Inkscape program at the moment, but I'm new to it, so I'm not sure exactly what to do.
    Unfortunately, my 30 day trial of InDesign and Illustrator have expired, and I just don't have any real use other than getting a PDF into a Photoshop (psd) file. I'm hoping that as I progress, InDesign and Illustrator will be beneficial for me in other ways, which would justify the purchase a little further.
    If this is possible with the mentioned programs
    If you could give me any more insight, it would be much appreciated... Thanks a bunch!
    Trevor

  • OWB Can't Import Existing Package with Collection Data Type as Arguments

    I created a package and compiled it successfully as the follows:
    +++++++++++++++++++++++++++++
    CREATE OR REPLACE PACKAGE PACKAGE_TEST AS
    TYPE Num_LIST IS TABLE of NUMBER INDEX BY BINARY_INTEGER;
    FUNCTION TEST_FUNCTION1 ( arg1 NUMBER, arg2 NUMBER) RETURN NUMBER;
    FUNCTION TEST_FUNCTION2 ( args NUM_LIST) RETURN NUMBER;
    END PACKAGE_TEST;
    CREATE OR REPLACE PACKAGE BODY PACKAGE_TEST AS
    FUNCTION TEST_FUNCTION1 ( arg1 NUMBER, arg2 NUMBER) RETURN NUMBER IS
    ln_sum NUMBER;
    BEGIN
    ln_sum := arg1 + arg2;
         RETURN ln_sum;     
    EXCEPTION
    WHEN OTHERS THEN
    RETURN -10000;     
    END TEST_FUNCTION1;
    FUNCTION TEST_FUNCTION2 ( args NUM_LIST) RETURN NUMBER IS      
         ln_sum NUMBER;
    BEGIN
    ln_sum :=0;
         FOR i IN 1.. args.COUNT LOOP
         ln_sum := ln_sum + args( i );     
         END LOOP;     
         RETURN ln_sum;     
    EXCEPTION
    WHEN OTHERS THEN
    RETURN -10000;     
    END TEST_FUNCTION2;     
    END PACKAGE_TEST;
    ++++++++++++++++++++++++++++++++++++++++
    Then I tried to import the package into OWB (9.2). The problem came: all the package body and
    the specification of TEST_FUNCTION1 were imported, but the package specification of
    TEST_FUNCTION2 couldn't be imported. The IMPORT FILTER gave an error message:
    "TEST_FUNCTION2: Argument Data type is not supported".
    How to resolve this problem? It is very import for our project, since we have to import some
    packages with user_defined collection data types as arguments.
    Thank you.
    Lushu

    Hi Lushu,
    Unfortunately this is indeed not supported and I would not know how to work around this one. The only way I guess that this would work is to not import it, and then use Expressions to call the function with inputs.
    Jean-Pierre

Maybe you are looking for