Amicuk Programming Answers

XDP data import in Acrobat 9

2015-10-11   Views:249


I've written some Java code that builds an XDP file that is then used to populate the data in a PDF which is received from a server.<br /><br />The generated XDP file opens up correctly in Acrobat 7 with the data populated. But when I try to o

I've written some Java code that builds an XDP file that is then used to populate the data in a PDF which is received from a server.<br /><br />The generated XDP file opens up correctly in Acrobat 7 with the data populated. But when I try to open the same XDP file using Acrobat 9 or Reader 9 the PDF opens without the data from the XDP file. We have this working in both 7 and 9 when we use FDF but our preference would be to use XDP since the XML formatting works with some of our other tools.<br /><br />Is there a reason that FDF would work but XDP would not in Acrobat 9?<br /><br />A sample of some contents that are failing for me (this sample is not pointing to a PDF on a server but the results are the same for a locally stored PDF)<br /><br /><?xml version='1.0' encoding='UTF-8'?><br /><?xfa generator='AdobeDesigner_V7.0' APIVersion='2.2.4333.0'?><br /><xdp:xdp xmlns:xdp=''><br />     <xfa:datasets xmlns:xfa=''><br />          <xfa:data><br />               <test><br />                    <Title>Homer</Title><br />                    <text2>testing</text2><br />               </test><br />          </xfa:data><br />     </xfa:datasets><br /><pdf  href="file:///C:/PDFTest/quick.pdf" xmlns='' /><br /></xdp:xdp><br /><br />Is there something I'm missing here? Is this behavior expected?<br /><br />Any help or ideas would be greatly appreciated.<br /><br />Thanks

The replay answer
Thanks for the info Leonard.
I'm not sure I understand "stand-alone app". Are you saying to drag the PDF to the browser? How do I get the data in XDP to then merge with it?
The problem is that the XDP, when using href to load PDF from web server, will always open up in default browser. No way around that. Unfortunately, the PDF can only be loaded this way - it won't be sitting on the desktop with the XDP.
Right now, our web-based application on the server is dynamically generating the XDP based on a selected source PDF template, then sending the XDP to the client. The goal is to allow client to open XDP, which requests the PDF through href and merges the data to template - and client can then make changes (if needed) and save it as PDF from there. A one-step approach as it were.
Bascially, is above workflow no longer viable with Acrobat 9? Could you elaborate about the fix as it would apply to above workflow?

Go to See the other 10 answers

XDP data import in Acrobat 9

Category:DefaultRelease time:2015-10-11Views:130

I've written some Java code that builds an XDP file that is then used to populate the data in a PDF which is received from a server.<br /><br />The generated XDP file opens up correctly in Acrobat 7 with the data populated. But when I try to o[More]

Fdf import in Acrobat 8.2.1 Professional

Category:DefaultRelease time:2015-10-11Views:130

Hello community, importing fdf data makes some trouble after updating Acrobat 8 Professional to version 8.2.1. I'm using several forms with enabled rights to save form data with Adobe Reader. This is necessary for my co-workers who only  work with th[More]

XDP data merging on MAC OS X issue.

Category:DefaultRelease time:2015-10-11Views:130

We have a problem to merge the xdp data with downloaded pdf form. To identify the problem and to find the solution I created a very simple example - just a form with one text field. The situation now is following: 1. On the server we have a form desi[More]

Data import from EBS failed via FDMEE in fdm . Getting error message as "Error connecting to AIF URL.

Category:DefaultRelease time:2015-10-11Views:130

FDM Data import from EBS failed via FDMEE after roll back the patch . Getting below error message in ERPI Adapter log. *** clsGetFinData.fExecuteDataRule @ 2/18/2015 5:36:17 AM *** PeriodKey = 5/31/2013 12:00:00 AM PriorPeriodKey = 4/30/[More]

Data Import ERROR

Category:DefaultRelease time:2015-10-11Views:130

Hi Guys I am facing an error when uploading the items through Data Import. Just i am uplaoding only Item Code and Item Description . but error is coming like this " Row Number 1: Invalid Code [Items - Chapter ID] " Also when uploading the BP mas[More]

Data Import error - Valuation Method (ODBC -1029)

Category:DefaultRelease time:2015-10-11Views:130

Hello all, first post on the SCN. I did some search for similar problems, but nothing seemed to help here. We are using Business One, two different companies and databases. We were at the time of the year to update the price list, so we used the Admi[More]

The Finder can't complete the operation because some data in "Adobe Acrobat" can't be read or written. (Error code - 36)

Category:DefaultRelease time:2015-10-11Views:130

I recently did a clean install on a 2011 MacBook Pro with Mavericks. Went to install Adobe Acrobat 9 with the DVD media and about 3/4 of the way through the install, the install stopped and the following window appeared:  The Finder can't complete th[More]

Data Import defaulting Null date to system date

Category:DefaultRelease time:2015-10-11Views:130

I am trying to import Campaigns using Data Import, and when End Date is NULL it defaults to system date. Is there any way to avoid this default? Even when I don't "map" the End Date, it still defaults it. Thanks!This file will always populate it[More]

Use of ODI in Data Import scenario

Category:DefaultRelease time:2015-10-11Views:130

Hi, We are contemplating to use ODI for a Data Import scenario. The flow goes something like this: 1.A user specified flat file or xml with a mapping between the file columns and base table columns serves as the input. (Note that the file column name[More]

For the past 10 months this has worked just fine.  I use the Wiondows 7 side of my machine about 15% of the time.  I start up my iMac holding down the alt/option key and select the Windows partician and Windows 7 loads.  That is until this week.  Now [More]
Hi, I'm facing issue in adding Space to the existing Virtual Machine (Guest OS) from added repository. Environment details : VM Server : /OVS => 130GB /OVS/935970F2CC2D4B4391701397517F1001/ => 512 GB Things I have done : •     I created a VM (Guest [More]
Hi. Situation: After many successful backups, Time Machine spontaneously states that it requires tens of GB more space on the backup volume than the size of the data to be backed up. Total required space exceeds physical size of backup volume, despit [More]
I have deleted the preferences and tried restoring my calendars from .Mac, but everytime I click on the icon in the dock iCal crashes. Restarted and tried again. Nothing seemed to work.Same problem here; it happened after I did "Archive and Install&q [More]
I am hoping someone can help me! I have built a spry menu with CS 3 and have altered the CSS file to customise colours etc. the problem I am encountering is that I have specified white borders around the menus items and sub menus which look perfectly [More]
Hi, Can we create a job which will be used as Generic (LIKE FUNCTIONS IN PROGRAMMING LANGUAGE)..?? Means i will create a job (ex. Taking Backup) and will use the same job (after storing in Job Library) to schedule many instances, with passing Databas [More]
I recently had an issue with my Mac Book(OS X Yosemite)  Had to take it to the store and they fixed it (replaced graphics mother board or something like that) Before that  I backed up the whole laptop on an external hard drive. When I connect the ext [More]
I need some help because I might update my iPad 2 soon.Well, it seems waiting is not my strong suit..! I renamed a javascript file called recovery to sessionstore. This file was in the folder sessionstore-backups I had copied from mozilla 3 days ago, [More]
Hi guys, I have just 0.74£ credit and I have to spend it coz I came back in Italy and I need to change the store. I tried but they told me that I have to spend the 0.74£. Do you now something I can buy with that money or somehow to spend it? Thank yo [More]
How do I move a data file from my computer to my ipad? It is my product catalogue and it would help if it were on my ipad.Plug the iPad into iTunes and you can use file sharing to move it into an app that supports file sharing and that document forma [More]