Controlling XML output Livecycle Designer 8.0

Hello.
I am new to XML and somewhat new to LiveCycle Designer, however I have acclimated rather well.
Here is what I want to do:
1) Create a PDF fill-in-form (including various fields...text, numeric, radio buttons, and some FormCalc functions)
2) Create a Submit button that emails an XML file to the form administrator
3) Use MS Excel to import XML files into pre-mapped fields
Basically, I do not have server database support, and this is the best workaround (and most functional) I could come up with.
After mapping fields in Excel, I exported the *.xsd and created a new data connection within LiveCycle. Then, I linked the schema fields with the bindings - corrected any errors, and have tested the form (form1). I made the submit button - that's all good, too. When I import the XML into Excel - that's where I have a problem, and it's not an issue with Excel to my knowledge, but rather how the form generates the XML output.
For example, I have 25 fields that will be outputted via XML. My PDF form consists of 4 pages (8.5" x 11"). When I created the form and got to the end of the page, I "inserted new page" and went on my merry way. When I import the XML, Excel properly maps the fields, however, it does not import the info to a single row. What I have discovered is that since my PDF form consists of 4 pages (each bound to "sheet[*]"), the XML output looks like the following:
Example of the XML output from my form:
<form1>
<sheet>
<submissionID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>743</submissionID>
<reviewerID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>234</reviewerID>
<date xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>24/01/2008</date>
</sheet>
<sheet>
<tag1>input</tag1>
<tag2>input</tag2>
</sheet>
</form1>
Wherever there is a "<form>" tag (hence a new page in my PDF document), Excel puts that data on a new column. All fields within form1 are imported and mapped to the correct field, however importing a single XML file will occur on 4 rows.
I bound each "page" as "sheet[*]" mostly because that is the only way I knew how to use FormCalc to do calculations from fields that occur at different places throughout the document.
So, I have tried to be as clear as possible, and would like suggestions/help as how to control the XML output from a LiveCycle document. If I am to modify the outputted XML and remove the multiple instances of <sheet> and </sheet> then Excel imports the data just fine and on a single row.
I would love some help on this rather specific problem. I guess it's a very basic issue that someone with experience could help.
Thank you so much!!
Jim

I have a vital form that clients fill out, which is passed to many people in the company along the workflow. The form is a Planner and we have in the following PDF, Word Doc..
Well before, the Planner.pdf was originally created in Word, since most people have access to Word.. but evolved to a PDF form created from the Word Doc via Adobe LiveCycle Designer 8.0 w/ User Rights enabled so that the form could be filled out and saved using Adobe Reader.. which was a step better than Word.. being that it is free. But this needed to be easier and more to the point b/c some clients don't particularly like installing the latest version of Reader, even if you provide them the link. Nor do they like saving the form, filling the form, and attaching the form to send back.
My goal is to have the client fill an HTML version of the form, submit and be done with it, but everyone in the workflow be able to easily receive the filled Planner as a PDF form.
So some months ago I ran into this post Chris Trip, "Populate Livecycle PDF from mySQL database using PHP" #8, 22 Sep 2007 4:37 pm
which uses the command line Win32 pdftk.exe to merge an FDF file into an existing PDF on the remote server, and serve this to whoever.
My problem was with shared hosting and having the ability to use the Win32 pdftk.exe along with PHP which is predominantly used on Linux boxes. And we used a Linux box.
so i created the following unorthodox method, which a client fills the HTML version of the Planner, all field values are INSERTED into a table in MySQL DB, I and all filled planners that have been filled by clients to date can be viewed from a repository page where an XML file is served up of the corresponding client, but someone would have to have Acrobat Professional, to import the form data from the XML file into a blank form.. altoughh this is simple for me.. I have the PHP file already created so that when a Planner is filled and client submits. >> the an email is sent to me with a table row from the repository of the client name, #, email, and a link to d-load the XML file,
But I also have the PHP files created so that the Planner can be sent to by email to various people in the workflow with certain fileds ommitted they they do not need to see, but instead of the XML file beiong served up i need the filled PDF Planner to be served.
I can do this locally with ease on a testing server, but I am currently trying to use another host that uses cross-platform compatibility so i can use PHP and the pdftk.exe to achieve this, as that is why I am having to serve up an XML file b/c we use a Linux server for our website, and cant execute the exe.
Now that I am testing the other server (cross-platform host), just to use them to do the PDF handling (and it's only $5 per month) I am having problems with getting READ, WRITE, EXECUTE permissions..
Si guess a good question to ask is can PHP do the same procedure as the pdftk.exe, and i can eleminate it.
or how in the heck can i get this data from the DB into a blank PDF form, like i have described??
here are some link to reference
Populating a LiveCycle PDF with PHP and MySQL
http://www.andrewheiss.com/Tutorials?page=LiveCycle_PDFs_and_MySQL
HTML form that passed data into a PDF
http://www.mactech.com/articles/mactech/Vol.20/20.11/FillOnlinePDFFormsUsingHTML/index.htm l
and an example
http://accesspdf.com/html_pdf_form/

Similar Messages

  • Help require to get the XML output to design template- JDE

    Hi Friends,
    I am asking this question from JDE perspective.I want to design XMLP Template for R40572 Check Printing.
    When I upload an blank template and after attaching RD, When ever I initiate a check from P04572 Application.RThe Write Row exit will lead to check printing which in turn will call a batch R04571 and this batch will call R04572(Which I require the XML output) since it is the second report and we cant direct it to local server I am not able to get the XML output..
    Another think is since its running in server i think its not taking the RD modification we done in loacl because it always fires PDF .

    Hi,
    I assume you're Using XMPOSA for generating the files locally. What I suggest is, you set the application to run with the report definition by default. That way, even when it is called, it will be called along with the report definition. You can take the resultant XML file from P95630
    hope this helps,
    -Domnic

  • Controlling XML Output from a Crystal Report

    Hi guys,
    I need to provide an XML output from one of my reports. The customer has defined his schema and I have tried to implement it using the 'XML Expert" With reference to the two snippets below:
    this is what I want:
    <DEPADDR>ZBTJ</DEPADDR>
        <ACFTYPE>EMB145</ACFTYPE>
    and this is what I get:
    <DEPADDR FieldName="{@DEPADDR}">ZBTJ</DEPADDR>
        <ACFTYPE FieldName="{@ACFTYPE}">EMB145</ACFTYPE>
    Does anyone know how to suppress "FieldName="{@DEPADDR}"" from the output? In the XML Expert Dialog both the name, which prints, and the type, which doesn't, are greyed out so you can't do anything with them. There is a "Suppress XML  Tag" tick box but that seems to have no effect on what is included in the export.
    Thanks in advance
    Richard

    Duplicate of
    Crystal reports with a DB procedure
    Closing and locking this thread
    Ludek

  • Add a New Control in Adobe LiveCycle designer

    Hi
    I want to have a calculated field in the form based on values of 2 other fields.Now i can easily write a java script for the same and do it.
    But what i want is to create a control in the designer such that i just do some drag drop or a choose add function for the calculated field.
    Now since this is not provided in the form designer can i write such a control and embed it in the form designer .
    This control could be local to my installed Adobe Livecycledesigner.
    This is just one eg , there are several things for which i dont want to write the java script again and again and just use a function which will do it for me.
    Also i am posting it here as i could not post in the Adobe Livecycledesigner 7.x due to authorization error.
    Thanks and Regards
    pankaj

    Hi Lee,
    I tried it as per your attachment but after dragging the object to the Custom Library nothing happens.It is not added to the library.I am using Adobe Livecycle dsigner 7.1.Is it that it is supported in some higher release .Please get back and let me know if there could be some other issue.
    Thanks and Regards,
    pankaj

  • Using XSL to tranform xml in Livecycle designer es3

    Hi,
    I have a dynamic form (.xdp), an .xml data file binded to it, we need to make many manupulations to the text (the below xml does not have much text to show but that is our purpose)(i.e) to show partial bolds in some sentences etc, we figured out that this is not possible to manipulate the text in XML , so we thought of using XSL to overcome, but here comes the real problem,
    i am starting it with real basic xsl-- used  The option Trnsforming Incomimg data, but when i try to preview the .pdf from the designer it throws
    XSLT parsing error 1011: Parsing Error (1011):
        systemID:  'file:///C:/Users/c-sds/Desktop/ALC/'
        publicID:  ''
        line:    
        column:    !
    Form version is higher than target version. This form may not run properly on target.
    Xml:
    Xml:
    <Correspondance>
    <Header>
    <CaseNo>Record ID:  02/9441926</CaseNo>
    <Barcode>*90002425393011</Barcode>
    <CAOAddress>
    <Name>SOUTHERN</Name>
    <Address>
    <AddressLine1>Linetest2</AddressLine1>
    <AddressLine2>Linetest1</AddressLine2>
    <city>XXXX</city>
    <state>xx</state>
    <zip>xxxxx</zip>
    <Replyzip>xxxxx-xxxx</Replyzip>
    </Address>
    <PhoneNo>412-565-2232</PhoneNo>
    <FaxNo>412-565-5179</FaxNo>
    </CAOAddress>
    <MailDate>Mail Date:  04/05/2013</MailDate>
    <ClientAddress>
    <Name>\b.INTERNET EXPLORER\b0.</Name>
    <PaymentName></PaymentName>
    <AlternateName></AlternateName>
    <Address>
    <AddressLine1>19</AddressLine1>
    <AddressLine2></AddressLine2>
    <city>ASDF</city>
    <state>xx</state>
    <zip>1xxx5</zip>
    </Address>
    <PhoneNo></PhoneNo>
    </ClientAddress>
    </Header>
    <Correspondance>
    my xsl:
    <?xml version="1.0"?>
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
    <xsl:template match="Header">
          <xsl:text>CaseNo</xsl:text>&nl;
        <xsl:if test="//Correspondance/Header/CaseNo">
          <xsl:value-of select="//Correspondance/Header/CaseNo"/>&nl;
        </xsl:if>
                </xsl:template>
                </xsl:stylesheet>
    i am just trying ot field by field in xsl but it doest seem to work any way
    Thanks in Advance
    V sri

    Hi,
    I have a dynamic form (.xdp), an .xml data file binded to it, we need to make many manupulations to the text (the below xml does not have much text to show but that is our purpose)(i.e) to show partial bolds in some sentences etc, we figured out that this is not possible to manipulate the text in XML , so we thought of using XSL to overcome, but here comes the real problem,
    i am starting it with real basic xsl-- used  The option Trnsforming Incomimg data, but when i try to preview the .pdf from the designer it throws
    XSLT parsing error 1011: Parsing Error (1011):
        systemID:  'file:///C:/Users/c-sds/Desktop/ALC/'
        publicID:  ''
        line:    
        column:    !
    Form version is higher than target version. This form may not run properly on target.
    Xml:
    Xml:
    <Correspondance>
    <Header>
    <CaseNo>Record ID:  02/9441926</CaseNo>
    <Barcode>*90002425393011</Barcode>
    <CAOAddress>
    <Name>SOUTHERN</Name>
    <Address>
    <AddressLine1>Linetest2</AddressLine1>
    <AddressLine2>Linetest1</AddressLine2>
    <city>XXXX</city>
    <state>xx</state>
    <zip>xxxxx</zip>
    <Replyzip>xxxxx-xxxx</Replyzip>
    </Address>
    <PhoneNo>412-565-2232</PhoneNo>
    <FaxNo>412-565-5179</FaxNo>
    </CAOAddress>
    <MailDate>Mail Date:  04/05/2013</MailDate>
    <ClientAddress>
    <Name>\b.INTERNET EXPLORER\b0.</Name>
    <PaymentName></PaymentName>
    <AlternateName></AlternateName>
    <Address>
    <AddressLine1>19</AddressLine1>
    <AddressLine2></AddressLine2>
    <city>ASDF</city>
    <state>xx</state>
    <zip>1xxx5</zip>
    </Address>
    <PhoneNo></PhoneNo>
    </ClientAddress>
    </Header>
    <Correspondance>
    my xsl:
    <?xml version="1.0"?>
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
    <xsl:template match="Header">
          <xsl:text>CaseNo</xsl:text>&nl;
        <xsl:if test="//Correspondance/Header/CaseNo">
          <xsl:value-of select="//Correspondance/Header/CaseNo"/>&nl;
        </xsl:if>
                </xsl:template>
                </xsl:stylesheet>
    i am just trying ot field by field in xsl but it doest seem to work any way
    Thanks in Advance
    V sri

  • Creating PDF's - Cannot get Arial to work - only getting MyriadPro (Adobe LiveCycle Designer 8.2 + Adobe Output ES Server on Linux (SUSE10))

    Hi
    I am using Adobe LiveCycle Designer 8.2 + Adobe Output ES Server on Linux (SUSE10) to create PDF's from input XML.
    I have had some trouble getting Arial fonts which are used in my LiveCycle Designer created XDP's to be produced in the resulting PDF using the java API or the Process Flow (watched folder) in Output ES.  I have put Arial TTF fonts into both the Server Fonts and Customer Fonts folders and the Arial font still seems to be coming out as MyriadPro in the final PDF.
    Is there something I am doing wrong ?
    Regards
    Robert.

    Hello Jackson,
    We got this working by adding the below fonts to the server-fonts directory on the jvm which you specify in the LCM when you configure the livecycle and bounced the jvm and thing to note down here is that we added our Windows system fonts which are "ttf" files and our jvm is on linux. You can give a shot and see if this works at your end also.
    Fonts added:
    ARIALN.TTF
    ARIALNI.TTF
    ARIALNB.TTF
    ARIALNBI.TTF
    ariali.ttf
    arialbi.ttf
    arialbd.ttf
    arial.ttf
    Thanks-
    Karthik.

  • I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the butten is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the button is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    Hi,
    You have the choice between xml or pdf, in later versions of designer you can choose with a dropdown on the email button Object palette, the "Submit As";
    In earlier version you had to edit the XML Source and change the format from xml to pdf (or vice-versa);
    Regards
    Bruce

  • Importing XML to Blank PDF Template;Form based on LiveCycle Designer 8

    Hello,
        I searched my questions and only thread closer to what i need is from 2012 and not sure is something have changes since then...
    I have rights enabled form designed in Adobe LiveCycle Designer 8 -Forms has few radio button,check boxes and date fields and email submit button(as XML).
    The plan is to send the send the PDF to users,who would then complete the form,email me updated as XML attachment and essentially I am collecting the data in form of XML instead of actual PDF.
    My application would need to read the XML and if some values-check box are set as true.I would need to save the PDF.
    I  need details of an API /SDK needed to achieve this essentially my application need to leverage this SDK,to import the data to blank PDF and save a copy to folder.
    As always thanks in advance..

    If you're looking to integrate the functionality into your application, you could license the Datalogics PDF Java Toolkit. Among other things, it has APIs that allow you to import and export XML to and from XFA forms.
    J-

  • LiveCycle Designer 8.0 - Formulare kommen als *.xml Dateien zurück

    Hallo zs,
    ich habe mit LiveCycle Designer 8.0 Prof. ein Formular inkl. eines "per Email senden" Buttons erstellt.
    Das Dokument läßt sich im Reader 9.1 problemlos öffnen und bearbeiten (Ausfüllen der Felder ist möglich).
    Das ausgefüllte Formular läßt sich aber nicht lokal speichern.
    1. Wie kann man dieses Problem lösen?
    2. Wie erstelle ich einen Button mit der Option "Formular speichern"?
    zu 2. gibt es eine kostenlose Erweiterung des Readers (Update o.ä.), die das Speichern zuläßt bzw. ermöglicht? Wenn ja, wie heißt das Tool und wo bekommt man es?
    Wenn der User das ausgefüllte Formular über den Button "per Email senden" an die angegebene Emailadresse versenden möchte, geht dies nur als *.xml Datei.
    3. Welche Optionen muss man wo einstellen, dass man ein ausgefülltes PDF File zurück bekommt? Oder funktioniert dies erst ab Version 9.0?
    In der Hoffnung auf Eure Unterstützung, Grüße Ringo

    Hallo Bernd,
    vielen Dank für den Link. Hat mir echt weitergeholfen. Ist schwierig, bei begrenzter Arbeitszeit alle Foren zu durchsuchen, vor allem wenn man sich mit neuen Themen beschäftigt.
    1 Problem weniger .
    Leider weiß ich immer noch nicht, ob oder wie man über den Button "Formular Senden" das ausgefüllte PDF File versenden kann. Abspeichern & Einfügen ist kein Problem. Aber über den Button "Formular Senden"bekomme ich nur die Daten im xml Format. Das ist für unsere Anwendung unpraktisch, da mehrere interne Abteilungen mit dem Formular arbeiten sollen und nicht jeder Adope Acrobat zur Verfügung hat, sondern nur den Reader. 
    Gibt es eine Option unter Adobe LiveCycle Designer 8.0 oder Adobe Acrobat 8 Professional, die das Versenden des gesamten, ausgefüllten PDF-Formulars möglich macht (mit "Hilfe" des Senden Buttons)?
    Viele Grüße, Ringo

  • Adobe LiveCycle Designer and send XML

    Dear all,
    I have developped a PDF with Adobe LiveCycle Designer  that send an XML file to BW using a button Submit. But this PDF works when executed from the Adobe LiveCycle Designer software (tabpstrip PDF preview) but does not work when it is executed standalone (no logon asked.. )
    Do you have some ideas to solve this problem ?
    Regards,
    Vince

    Hi Nitesh,
    I have installed ADL standalone on my pc.
    When I execute my PDF from ADL it works : I click on a button and a logon screen on a SAP system is shown (like access on web report), I fill it and the XML file is sent and shown through RSA3 transaction.
    But when I launch the PDF alone, I get an error message when I clik on the same button : 'HTTP 401 - Unauthorized'.
    Do you have another clue ?
    Regards,
    Vince

  • LiveCycle Designer - Vector + Text + XML

    Hallo Community.
    Normalerweise stelle ich mich erst einmal vor.
    Heute jedoch, eilt es sehr und darum verkürze ich es mal.
    Einleitung:
    Ich möchte in Adobe LiveCycle Designer ES 8.2 einen Fragebogen erstellen, der mir dann via klick auf einen Button als XML zugesandt wird. Das Programm erwarb ich mit Photoshop, Illustrator und Co in einem Zug, hab es aber noch nie genutzt - bis heute. Ich konnte mich ganz gut einarbeiten und soweit all meine Ideen realisieren. Für die Startseite dieses Fragebogens möchte ich ein Logo einfügen. Das Logo liegt mir in allen Formaten vor. Der Designer akzeptiert jedoch keine Vectorformate. Ich habe mich schon schlau gemacht und festgestellt, dass nur Rastergrafiken inseriert werden können. Nun ist es jedoch so, dass diese Grafik (das Logo) stark verpixelt wenn man die PDF vergrößert. Also das typische Verpixeln bei Rastergrafiken.
    Ich kenne doch einige Formulare, in denen ist ebenfalls eine Umfrage + vektoriesierter Grafik zu sehen.
    Jetzt meine Frage:
    Welche möglichkeiten habe ich, um mein Logo in einer PDF Datei, die auch interaktive Texte (Eingabefeld, Unterschriftsfeld, Dropdown-Menü etc) besitzt, einzuarbeiten?
        Hier eine PDF mit Grafik, bei 400% Zoom - kein Verpixeln
        Hier mein Logo. Verpixelt. Die Grafik habe ich direkt über den Designer eingefügt
    Hoffe auch eure Hilfe!
    Danke

    Aus der Vektorgrafik ein PDF-Dokument erstellen und dieses Dokument dann als Vorlage im LiveCycle Designer verwenden.

  • Generate or Preview XML when Extending Reader Options using Adobe LiveCycle Designer

    Hi,
    I am trying to view the generated xml when reader options are extended. However, when I try to open the reader extended PDF in LiveCycle Designer, it says you will lose reader options. Is there any other way in which I can compare the generated XML before and after extending reader options?
    I am having issues processing PDF after extending reader options as the generated xml is generating the following error.
    "XmlException was unhandled by user code, Data at the root level is invalid. Line1, position1"

    May be you can try this way to get the XML before and after the Reader extensions.
    1) Place a Text field with multi line allowed.
    2) Place a button on the form with the following in click event.
          TextField1.rawValue = xfa.data.saveXML("pretty");
    3) Open the form in either Reader/ Acrobat and click on the Button. Save the XML data in a file that was assigned to the TextField.
    4) Reader extend the form.
    5) Repeat the step 3 again to capture the XML from the form after Reader Extensions.
    This way you can get the XML from the form before and after.
    Thanks
    Srini

  • Import XML data in Adobe LiveCycle Designer

    Hi,
    I use Adobe LiveCycle Designer to create a form.
    I use XML data to fill objects as list box.
    I would like read attribut values from XML element.
    I don't know how to do with Javascript Language in Adobe LiveCycle Designer
    Can you help me ?
    David

    All the info you need is in the LiveCycle/XFA documentation.
    Leonard

  • Controlling user interface settings on LiveCycle Designer ES4

    How can you control the user interface settings on LiveCycle Designer ES4?

    The problem you descibe has nothing to do with the PDF security settings.
    If you have added scripts in the fields calculate event or set their access property to readOnly or protected you won't be able to change a fields value.
    Ypu can check the current access setting in the Object palette under the Value tab.

  • Transform LiveCycle form xml output using xsl

    I've completed my first form but now want to format the xml that's generated.
    Whilst I work for a big Company, I don't think they'll stretch to purchasing the Reader Extensions Module so I can output as PDF. Also there will be more than 500 users completing the form, so I can't just extend the rights using Adobe Acrobat.
    Therefore, I'd like to transform the xml created using xsl (as I have knowledge in this area) - I'd like the transformation to occur when the form is submitted via email so that a 'friendly' attachment is added to the email and not the xml output.
    Any ideas on this one?

    First thing is, the fonts did not work in my system.. So I can not really understand where the email address fields are..
    Few things:
    1) You have used an Email submit button and tried to place the code in the MouseDown event.
        You need to change this button to "Regular Type Button". and place the code in the Click event to work.
    2) I placed a sample button and put in my code for your reference.. This is working fine..You can check the below sample.
    https://acrobat.com/#d=tQa4E*8aA*mJq6aijSHuDQ
    3) You can do the same way for your form..
    4) If you have Acrobat software, you can enable JavaScript debugger which can give you the specific error message rather than Submit cancelled. If you do not, then you need to put some messageBox statements and check..
    Thanks
    Srini

Maybe you are looking for