Xml pdf questions

Trying to create a pdf from xml using asp<br /><br />I created the following code.  The form appears without the field being populated.  I went into designer pull up the pdf added some data and tried<br />to export the data as xml and xdp.  The xml shows with no data. Trie to open xdp its say unable to locate template.<br /><br />Is this xml correct?  (this is being used in designer to perform the <br />binding<br /><?xml version="1.0" encoding="UTF-8"?><br /><TextField1><value>Howard</value></TextField1><br /><br />After I have binded the field<br /><br />I use the following asp to display the pdf with<br />the one field filled in.<br /><br />Is this xml correct?<br /><br /><%<br />Response.ContentType = "application/vnd.adobe.xdp+xml"<br />response.write   "<?xml version='1.0' encoding='UTF-8'?>"<br />response.write  "<?xfa generator='AdobeDesigner_V7.0' APIVersion='2.2.4333.0'?>"<br />response.write  "<xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>"<br />response.write  "<xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'>"<br />response.write  "<xfa:data xfa:dataNode='dataGroup'>" <br />response.write  "<form><TextField1><value><text>Howard</text></value></TextField1></form>"<br />response.write  "</xfa:data>" <br />response.write  "</xfa:datasets>"<br />response.write  "<pdf href='http://159.83.96.138/prod/myFirstShot.pdf' xmlns='http://ns.adobe.com/xdp/pdf/' />"<br />response.write  "<xfdf xmlns='http://ns.adobe.com/xfdf/' xml:space='preserve'>" <br />response.write  "<annots/>" <br />response.write  "</xfdf>" <br />response.write  "</xdp:xdp>" <br />Response.Flush <br />Response.End <br />             <br />%>

I can't answer directly, but when discussing a specialized tool, you might also read/ask here
Acrobat SDK Developer Forum http://forums.adobe.com/community/acrobat/acrobat_sdk
It may be that a developer can answer your questions about "why"

Similar Messages

  • Can I write XML PDF without Adobe LiveCycle ?

    Hallo:-)
    My firm have product to create blank /form/, which we save into our XML format. We want to "save as" forms into XML PDF format.
    But only use XML not PDF into XDP format.
    I read XML Forms Architecture (XFA)Specification Version 2.4 ...
    Is there other resources and samples?
    And Is it possible task?

    I'm not sure that I understand your question. Are you asking whether Adobe Reader can open an XDP file and display it as a PDF even if there's no PDF packet in it? The short answer is no. You can convert an XDP to a PDF using Adobe LiveCycle Designer. If you want to convert to PDF at run time you need a server product - Adobe LiveCycle Forms.

  • Adobe Reader for Android to work with dynamic XML PDF forms?

    Any possibility that Reader for Android will ever work with dynamic XML PDF forms created by Abobe Acrobat Pro?

    GoodReader ($4.99), ezPDF Reader ($2.99) and PDF Expert ($9.99) are well rated and support many more features.
    Here a link for your reference: http://indesignsecrets.com/for-interactive-pdf-not-all-readers-are-equal.php

  • Adobe Forms, XML(PDF format) to PDF binary

    Hi experts!
    I'm working with Interactive Adobe Forms and the form function return the PDF in a XML format (xstring) through the parameter FPFORMOUTPUT-XML.
    I need to save the PDF file (binary) without geting it through the "getpdf" parameter FPFORMOUTPUT-PDF.
    Because the "getpdf" don't permit to show the user dialog print options.
    How could I transform the XML(PDF) returned in binary PDF file?
    Thank you all!

    Hello Evaristo
    You can make use of CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' and CALL METHOD cl_gui_frontend_services=>gui_download to achieve this requirement.
    Regards
    Sandy
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
                   EXPORTING
                     buffer        = ls_params->es_output-s_form_output-xml
                   IMPORTING
                     output_length = lv_pdf_len
                   TABLES
                     binary_tab    = lt_pdf.
                 lv_file_name = p_xml.
    CALL METHOD cl_gui_frontend_services=>gui_download
                   EXPORTING
                     bin_filesize = lv_pdf_len
                     filename     = lv_file_name
                     filetype     = 'BIN'
                   CHANGING
                     data_tab     = lt_pdf
                   EXCEPTIONS
    OTHERS       = 1.

  • Load image dynamically by scripting to dynamic xml pdf, is it possible?

    Hi All,
    I've uploaded static pdf form to http://groups.google.com/group/livecycle/web/logo.pdf.
    The form contains ImageField.
    In the "docReady" event of the form I wrote a script:
    ImageField1.value.image.href="http://www.quicksoft.co.il/images/
    quicksoftlogo2.jpg";
    When the form is loaded the ImageField shows the image from the url
    I've updated in the script.
    Once the form is saved as dynamic xml pdf the script stop working.
    Is that means that it is not possible to load images by scripting to
    dynamic xml pdfs?
    Anyone familiar with workarounds for it?
    Thanks in advance,
    Rbuz

    I got an answer from Adobe:
    Dynamic change of an image href has been disabled due to potential security issues. There are however a few workarounds to choose from:
    1. Embedding the images in the form as hidden objects. They can then be set to visible on initialize or clicking a button. This will affect performance, but if the images are in a compressed format, this can be minimized.
    2. Create a Web service interface to grab the image from wherever they are stored, base64 encode it and return it to the form. You would also have to update the bindings for the image field on the form (a one time operation).

  • Converting Livecycle Dynamic XML pdf forms to Word?

    How do I convert a dynamic XML pdf form created from Livecycle designer ES to Microsoft word? I have Acrobat X and when I click on File -> Save As - > and choose 'Save as type' as "Microsoft Word Document (*.doc)", I am getting this message: "Save as failed to process this document. No file was created."
    Is this because its a dynamic XML form with many javascripts in the form design? if not, what could be the cause of this that is making the file not savable to word format? All of these forms are created from Livecycle designer and I have tried using Acrobat X to convert them to word but it doesnt work.

    Hi,
    don't expect an exact result.
    The conversion always is an interpretation of the given layout and may be not perfect in all details.
    There is not script you can add to a button to automate this workflow, especially not  for Reader, as it doesn't have any export functions.
    I tested Adobe ExportPDF services, which are available in Reader XI, but those only export the shell PDF of a XFA form, so it's not usable for those PDF's (image below).

  • XML PUBLISHER Questions

    Hi All,
    Following questions restrict to use of functionalities of XMLP:
    1. What could be functionality of Delivery manager of XMLP?
    2. How could process Delivery manager an user request?
    3. Delivery manager is full of Java API’s that means apps developer must know java. Am I correct? If it is Yes, what are java concepts need know so that developer can do his job successfully?
    4. What could be sub-template concept in XMLP? Please give one practical scenario.
    5. One scenario: I want generate group of invoices in PDF format and each invoice must generate in fresh page.
    XML Input to Template: Report output (output format in XML)
    Input parameters: Customer or Print date (i.e. all invoices of specified customer should populate)
    I could not able to generate each invoice in fresh page. Is it possible through XMLP?
    6. XSL: is language and used for transformation i.e. one form document to another form document (xml =>XHTML) am I correct?
    7. When do we go for XSL implementation in XMLP? Please provide example.
    8. Where do we write XSL code in template? Assume template I am using RTF form field method.
    Any help would appreciate.
    Thanks,
    [email protected]
    Date: 13-Aug-07.
    Hi All,
    What could be the difference between delivery manager and Document Processor engine?
    Could we use both for deliver XMLP documents to different Delivery channels?
    Thanks,
    [email protected]
    Message was edited by:
    user553699

    Hi All,
    I am also facing new problem while i am going to register template in following environment:
    Oracle applications version: 11.5.10.2
    XML publisher Version: 5.0.0
    My file size: 65 KB with out image
    363 KB with company logo
    The RTF used English language characters and want to register for English – USA
    My RTF template works fine in preview mode in Word. I go to upload it via XML Publisher Adminstator and I get a screen that just says "You have encountered an unexpected error. Please contact the System Administrator for assistance."
    What? The only option is Log out. Is there a way to validate my template to know what could possibly be wrong with it?
    Please let me know if any other information require about RTF template.
    Any help would appreciate.
    Thanks,
    Sai.Krishna @cavaya.com
    P.S: I do not know how to attach file in forum. please give me information how to attach file form so that i can attach RTF file.

  • Trouble reading XML PDF's created in Acabat Professional

    I am attempting to create a PDF that I can post on a website
    that the user downloads, fills in info then emails to my general
    email account. Problem is... I can't figure out how to view xml
    files with windows Explorer 7.0 on a PC.
    Is there a better way to send the PDF form or data so I can
    view it? Appreciate your advice.
    Larry
    [email protected]

    Thanks for your post!
    The forums here are more designed for discussions and
    questions related to Acrobat.com.
    For more direct help with Acrobat Std or Pro, Please visit
    the Acrobat forums here:
    Acrobat
    Forums

  • Help needed on Dynamic XML PDF

    Hello,
    I have an urgent need of help. We had a client requirement to develolp a custom form fillable Flowable template. We used adobe LiveCycle Designer to create a flowable form where fields can be suppressed\expanded to save space. LiveCycle form fields are databinded with the XML Schema at design time. After creating forms, data is prepopulated using the 3rd party ITextsharp for .NET dll using a FillXFA API. Filled PDF document appears fine with the data by adobe reader.
    However, after we try to either convert this form to an Image I don't see DATA in the form and only see the static template. Our requirement is to take the populated PDF and merge it with another static PDF document. I am new to the adobe livecycle forms and needs assistance. I guess the issue is that final populated form is still XML, So If I open this form that is prepopulated with data into LiveCycle I don't see the data and only template, But we can view the populated form fine with data through adobe reader. Even through windows file preview I only see template, but after I open the file through reader I see the data. If through some way we can convert this snapshot (dynamic pdf = populated data with template) to a static pdf or flatten out the dynamic pdf, it will suffice our requirement.We are sort of stuck from past 10 days on this issue. Any help\feedback is greatly appreciated.
    Please let me know if you need any input or examples. Thanks for your time.
    Thank You,
    Himali Vaid

    Harshit Rungta:
    You have opened a number of related questions today. I'd like to see the other ones closed before you continue with this one.
    I'll lock this but will re-open it once the others are marked as solved.
    Rob

  • Dynamic XML PDF not importing fields

    I have a PDF developed in Livecycle and saved as a dynamic XML.
    My database is MS Access and from this I've exported a query saved as an XML file, a XSD schema and an XSL stylesheet. (files attached)
    I'm trying to populate the PDF from the above mentioned files client-side. I have the fields set up to display in a table with repeating rows.
    It seems that I've set everything up okay and I get no error generated in the log file when I preview the PDF in Livecycle, but, the fields are not
    being generated.
    I suspect maybe this is because I don't have the nested forms set up properly for a flowed subform. But I should get at least the first row generated
    shouldn't I, if it is reading the nodes in the XML?
    Attached is (a mock-up) of the PDF along with the XML, XSD and XLS. This form should flow to other pages when dynamically built and I'm hoping to
    display the header on each page (the header will be on the Master Page -- it will contain site links, etc.)
    I hope to not only import data to a PDF this way but also to export fields from the PDF in the same way for database edits...
    Can anyone tell me what I'm doing wrong in the attached?
    And, on another note... do all of the above need to be in the same folder together on the server or can I put the PDF in one folder and the XML, XSD
    and XLS a different folder? (Or the PDF and XLS in the same folder and XML and XSD files in a different folder, etc.)...
    Thanks for any reponses on this.
    - ed
    PS: Below is the XSD schema code (since I can only upload the 3 other files here)
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:od="urn:schemas-microsoft-com:officedata">
    <xsd:element name="dataroot">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="WMS_x0020_BMI_x0020_Percentile_x0020_ZScore" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    <xsd:attribute name="generated" type="xsd:dateTime"/>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="WMS_x0020_BMI_x0020_Percentile_x0020_ZScore">
    <xsd:annotation>
    <xsd:appinfo/>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="LastName" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:maxLength value="255"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="Firstname" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:maxLength value="255"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="PreHeight" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:maxLength value="50"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="PreWeight" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:maxLength value="50"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="PreBMI" minOccurs="0" od:jetType="double" od:sqlSType="float" type="xsd:double"/>
    <xsd:element name="PreBMIPercentile" minOccurs="0" od:jetType="double" od:sqlSType="float" type="xsd:double"/>
    <xsd:element name="PreZScore" minOccurs="0" od:jetType="double" od:sqlSType="float" type="xsd:double"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>

    Sorry for the delay in replying to this post. I got stuck at a friend's from the weekend snow we had... and am finally back on my own computer.
    Just before leaving Friday I found the problem with the form not displaying data fields read from the XML.
    It's a bit embarrassing to admit but, per Steve's instruction here to change the form preview properties (file/form properties) (thanks, Steve!) - I changed the preview from 'print one-sided' to 'interactive' and noticed that I had not set up the link to the XML under 'Data File'. Duh! So, it is reading the data from the XML now.
    However... For the form to display, I had to (under 'connection properties) take the XSLT file off. Under 'Connection Properties' the form is set up as XML Schema with the link to the XSD set up.
    The problem now is that a few of the dynamic fields are numbers. These number fields in the database only have two digits to the right of the decimal point (as in 93.79) but when the form loads these fields in the table in preview mode these fields contain 8 digits to the right of the decimal point (as in 93.79362082). I don't know why this is except that maybe it is because it's no longer reading from the XSLT file. All I want it to do is read the field exactly as it is in the database...
    The table on the form doesn't display as it should either. The table expands with the rows its presenting but this runs to the very bottom of the page and doesn't flow to the next page. I've tried changing the size of the 'root' form on the Master page as well as the size of the 'parent' subform of the table subform but the table still runs to the bottom of the page... I'll keep playing around with this until I fix it unless someone can point me in the right direction...
    Thanks for any leads on this...
    (new corrected file attached)
    Graham, this stuff really is interesting! These handful of files working together to build a dynamic PDF, reading the database XSD schema, an XML file and the XSL file as well as throwing in some Javascript functions is really cool... I'm also (hopefully) planning to have Cold Fusion query the database, depending on the login person's admin privilages, parse the fields from the database and build the XML file from this data 'on the fly' at login... Quite a lot going on in the background here to build the PDF! (I wish I could answer your question about the stylesheet but, obviously from the above, I'm a novice at this - I'm new at this and trying to grope my way around this stuff in the dark. These forums have been helpful as well as googling questions, but, there is still a learning curve here. I'm pretty rough with Javascript as well and that's a big feature of this stuff...)
    Thanks to anyone for direction on getting this file to display properly and the number fields to show the same as in database...
    - ed

  • XML-PDF report just like Purchase order report.

    Not sure if this is the right place to post this question.
    In isupplier portal > open a PO> printable view > opens PO summary with header and lines in PDF format.
    Can someone give me steps to generate this basedon custom tables, from custom OAF page ?
    I have tried using integration of oaf- BI integration : I did get success in generating pdf document on button click , but after opening 5-6 various documents...it gets corrupted and doesnt open it anymore.
    Can someone guide me how to do it the way oracle has done in isupplier portal ?
    thanks

    Hi,
    Please share the code then we can dig into it.
    Sometimes I saw when we tries to open the PDF it says it is corrupt and can not open but when you run same code on server it works fine, so please check your code after placing it on server.
    When you run the same code for other output types, the it will display exception detail in the file, you can this as well.
    Regards,
    Reetesh Sharma

  • Basic  XML Publisher Question: How to access tags in the higher levels?

    Hi All,
    We have a basic question in XML Publisher.
    We have a xml hierarchy like below:
    <CD_CATALOG>
    <CATALOG>
    <CAT_NAME> CATALOG 1</CAT_NAME>
    <CD>
    <TITLE>TITLE1 </TITLE>
    <ARTIST>ARTIST1 </ARTIST>
    </CD>
    <CD>
    <TITLE> TITLE2</TITLE>
    <ARTIST>ARTIST2 </ARTIST>
    </CD>
    </CATALOG>
    <CATALOG>
    <CAT_NAME> CATALOG 2</CAT_NAME>
    <CD>
    <TITLE>TITLE3 </TITLE>
    <ARTIST>ARTIST3 </ARTIST>
    </CD>
    <CD>
    <TITLE> TITLE4</TITLE>
    <ARTIST>ARTIST4 </ARTIST>
    </CD>
    </CATALOG>
    </CD_CATALOG>
    We need to create a report like below:
    CATALOG_NAME     CD_TITLE     CD_ARTISTCATALOG 1     TITLE1     ARTIST1
    CATALOG 1     TITLE2     ARTIST2
    CATALOG 2     TITLE3     ARTIST3
    CATALOG 2     TITLE4     ARTIST4
    So we have to loop at the level of <CD> using for-each CD. But when we are inside this loop, we cannot access the value of CAT_NAME which is at a higher level.
    How can we solve this?
    Right now, we are using the work-around of set_variable and get_Variable. We are setting the value of CAT_NAME inside an outer loop, and using it inside the inner loop using get_variable.
    Is this the proper way to do this or are there better ways to do this? We are running into troubles when the data is inside tables.

    you can use
    <?../CAT_NAME?>copy past to your template
    <?for-each:CD?> <?../CAT_NAME?> <?TITLE?> <?ARTIST?> <?end for-each?>

  • Print to PDF questions

    I have two questions. I have Acrobat 7 running on 10.5.2 on a new MBP.
    1. I can no longer successfully select the Adobe printer from the printer pop-u[p menu in the print dialog box. If I do, things seem to proceed, but the printer immediately goes to pause and will not resume. This is not a major problem, as the PDF button appears at the bottom left and that will save the file to PDF. But I am curious as to why the Adobe "virtual" printer no longer works.
    2. Previously, when using the PDF button, I could edit the menu and save PDFs to a folder of my choice. Now, when I select "edit the menu" and then hit the "+" button, I get the appropriate dialog box but cannot select a folder. I can open folders, but cannot select them as the "save to" folder. Any help here would be appreciated.

    BoySetsTheFire wrote:
    I have two questions. I have Acrobat 7 running on 10.5.2 on a new MBP.
    1. I can no longer successfully select the Adobe printer from the printer pop-u[p menu in the print dialog box. If I do, things seem to proceed, but the printer immediately goes to pause and will not resume. This is not a major problem, as the PDF button appears at the bottom left and that will save the file to PDF. But I am curious as to why the Adobe "virtual" printer no longer works.
    Some things that used to work in Tiger no longer work in Leopard. I suspect that Adobe did not rush to fix it because there is built-in way to generate PDF files already.
    2. Previously, when using the PDF button, I could edit the menu and save PDFs to a folder of my choice. Now, when I select "edit the menu" and then hit the "+" button, I get the appropriate dialog box but cannot select a folder. I can open folders, but cannot select them as the "save to" folder. Any help here would be appreciated.
    The Edit Menu feature is not designed to select a folder to save your PDF files into. It is so you can select an Automator workflow script to process your PDF file. That's how it handles such tasks as Mail PDF and Save PDF to iPhoto. You could create an Automator script to save a PDF to a particular folder, but in my experience, once you save a PDF to a folder, it becomes the default folder automatically until you select a different one.

  • Issue with XML PDF and AdobeDesigner!

    Hello!<br />I have a PDF Document!<br />With Acrobat Proffesional Reader i can File -> Export Form Data (Hope this is right in english)<br /><br />A new XML File will be generated<br /><br />The conten of the File<br /><br /><?xml version="1.0" encoding="UTF-8" ?> <br />- <ichicsr lang=""><br />- <ichicsrmessageheader =""><br /><messagetype ="" /> <br /><mailrcpt ="">[email protected]</mailrcpt> <br /><mailbody ="">Test</mailbody> <br /><br />To this Point all works fine...<br /><br />but when i Load up the PDF File in AdobeDesigner, and save it up. (I do no changes at this Point, only Save the file.) and close<br /><br />And then i export second time the xml data with Acrobat Proffesional Reader <br /><br />the conten looks like this:<br /><br /><?xml version="1.0" encoding="UTF-8" ?> <br />- <ichicsr lang=""><br />- <ichicsrmessageheader lang=""><br /><messagetype lang="" /> <br /><mailrcpt lang="">[email protected]</mailrcpt> <br /><mailbody lang="">Test</mailbody> <br /><br />everywhere is written lang?!?!?!?!<br />WHY??? How can I eliminate this effect?!<br /><br />HELP and sorry for my bad english!

    Your XML processor should just ignore the tags it doesn't understand -
    no problem.
    It sounds as if you are trying to create a very simplified XML parser
    that looks for text patterns. I advise against this. There are many
    tools designed to parse XML and which will take care of the special
    issues. A simple text approach will collapse the first time someone
    types an ampersand "&" in their text...
    Aandi Inston

  • Graph Chart not displated in XML PDF output

    Hi,
    Created an XML report with Pie chart and working fine in one instance (DEV). Migrated the same report to another instance(UAT instance) and when I run the report, it generates the XML report in PDF format but not displying the Pie Chart.
    DBA Team has set up the Xserver but still not able to see the pie chart in PDF output.
    Any ideas what is wrong with the report please. It's working fine in DEV instance and generating Pie Chart as expected.
    Thanks,
    Kishore Reddy

    Hi, we are facing the same issue, please share the solution if you have fixed this.

Maybe you are looking for

  • Upgrade phase STARTSAP_NBAS error: SYSTEM START failed

    During an upgrade from BW 3.5 to BI 7.0, I get the following error message in phase STARTSAP_NBAS: SYSTEM START failed, code -2 -2: the test rfc did not work. Try to log on to the system with user DDIC When I try to log on to the system as user DDIC,

  • After IOS 8 update, the screen is jerky and the response time is really, really slow... Using a PC to submit this!

    Is there a solution to a jerky screen and a slow response time after updating to IOS 8?

  • Download error on Dances with Wolves

    I have no trouble downloading most movies from the iTunes store. However, I have not been able to download Dances with Wolves. Even though the movie downloads, I get charged for it, the progress bar never advances, and at the end it says the file is

  • Data entrying via Web-Dynpro

    Dear All! Can somebody help me to relaize the following requirement: Through WebDynpro (Internet Browser) data entrying. Suppose there are couples of input fields due to these fileds the user can entry datas into the system. Regards Ilhan Ertas

  • Unable to deploy EJB

    Hello, I'm try to runing an aplication on weblogic and now I stuck on this issue. Could anyone help me to solve this? Exception activating module: EJBModule(ejb.jar) Unable to deploy EJB: DrawingPhaseSessionEJB from ejb.jar: [EJB:011008]Unable to bin