Bind XML data to PDF417 barcode - LiveCycle Designer ES

Trying to create a shipping form for a supplier that contains a PDF417 barcode.  The source data will come from an XML data file.  The form in not interactive, the data file will simply populate the pdf form, read-only via a Coldfusion program that queries our shipping data.  But I'm not quite able to connect the dots.  Does anyone know how to supply the data in the correct format within the XML doc?  It consists of 5 fields / row, with 10 rows max.  I'm unclear because the barcode software previously used embedded control chars within the data, such as record separators, group separators, and end of transmission.  Do I need to include these for LiveCycle?  As you've probably already guessed, yes, I do not use LiveCycle much at all. 
I'm using LiveCycle ES2 version 9
Any advice is much appreciated.  Thanks!

There are a couple of ways to populate the barcode from Designer. First, is the manual coding method. In the "calculate" or (preferably) the "pre-print" event you change the .rawValue of the barcode object and change it to the value of the fields you wish to include. Alternatively there is a fairly good script generator built into designer that is accesible through the barcode object properties UI. Here you can have the content of the barcode auto-filled based on the entire form or selected fields in a collection. As a general rule of thumb: never select XML as your barcode data format and don't use the auto-generated code on a form with more than 30 or 40 fields.

Similar Messages

  • Trying to bind XML data and form fields

    I have a fairly simple PDF - and I am trying to bind XML data to he form fields.
    In the designer I can bring up the data connection and
    select Global - for the binding method - and as I understand it - this will link Form Fields and XML data fields with the same name - (sounds logical to me)
    but all that happens is :
    I see the name of the field in the form field rahter than seeing the actual data
    should I select : None as the binding or normal ....
    but Normal doesnt show Anything - even after i select it .
    I can't quite seem to make this work -
    Any help here would be appreciated
    Thanks :)

    This is on a stand - alone system
    Using Designer ES ......
    I saved the Form as an xdp form
    and it seems as if all goes well until
    View the data and nothing appears - or
    just the names of the fields appear

  • ActionScript to bind XML data to components

    How can I use ActionScript to bind XML data to a comboBox
    component instead of using the component inspector? (I have done
    the latter, successfully, but that doesn’t allow access to
    the code - .)
    My ActionScript so far imports the data (the trace picks it
    up) – but the ‘cbType.dataProvider line’
    doesn’t work. It works when I change the data provider to an
    array – so what am I doing wrong?
    MY CODE:
    import mx.data.components.XMLConnector;
    var xcFestival:XMLConnector = new XMLConnector();
    xcFestival.ignoreWhite = true;
    xcFestival.direction = "receive";
    xcFestival.URL = "festivalItems.xml";
    xcFestival.trigger();
    //POPULATE THE COMPONENTS WITH THE DATA
    var festXMLlistener:Object = new Object();
    festXMLlistener.result = function(evt:Object) {
    trace(xcFestival.results);
    cbType.dataProvider = xcFestival.results;
    xcFestival.addEventListener("result",festXMLlistener);

    This is on a stand - alone system
    Using Designer ES ......
    I saved the Form as an xdp form
    and it seems as if all goes well until
    View the data and nothing appears - or
    just the names of the fields appear

  • Data to PDF417 Barcode

    A software architect at my company found out that you can have data that are entered into fields within a form go automatically into one of these barcodes that you can place either near the field or on a page near the end of the form.  I located the PDF417 barcode within the object library; however, I cannot seem to figure out how you attached field(s) so that the data goes into the barcode.  Is this something that can be accomplished in Livecycle?  If so, how?

    There are a couple of ways to populate the barcode from Designer. First, is the manual coding method. In the "calculate" or (preferably) the "pre-print" event you change the .rawValue of the barcode object and change it to the value of the fields you wish to include. Alternatively there is a fairly good script generator built into designer that is accesible through the barcode object properties UI. Here you can have the content of the barcode auto-filled based on the entire form or selected fields in a collection. As a general rule of thumb: never select XML as your barcode data format and don't use the auto-generated code on a form with more than 30 or 40 fields.

  • How to create a report using XML data source from Crystal Report Designer

    Hi,
    Iu2019m having Crystal Report Designer XI R2 SP4. Iu2019m trying to create a report using XML data source stored on disk. This is a customer order report and the xml is structured in such a way that it has an order details header part (master) and then it has several order lines (detail). One order line can have several order line characteristics (detail-detail). So what I need to know is now I can design this layout from the designer. If this was done using views I can do it with sub-reports but using xml data this seems to be different. Can you help me to design this layout? I have included the xml and xsd as well.
    Thank you in advance.
    Regards,
    Chanaka
    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <CUSTOMER_ORDER_CONF_REP_REQUEST xmlns:xsi="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep">
        <CUSTOMER_ORDER_CONF_REP>
            <ORDER_NO>D555809</ORDER_NO>
            <PRINTED_DATE>2009-03-26T08:52:54</PRINTED_DATE>
            <AUTHORIZE_NAME>Chanaka</AUTHORIZE_NAME>
            <CUSTOMER_NO>CU-1473-INV</CUSTOMER_NO>
            <CUST_NAME>Mr.Johan Matts</CUST_NAME>
            <SHIP_ADDR_1>93,Main Street</SHIP_ADDR_1>
            <SHIP_ADDR_2>Negambo Road</SHIP_ADDR_2>
            <SHIP_ADDR_3>Watthala</SHIP_ADDR_3>
            <SHIP_ADDR_4>SRI LANKA</SHIP_ADDR_4>
            <BILL_ADDR_1>93,Main Street</BILL_ADDR_1>
            <BILL_ADDR_2>Negambo Road</BILL_ADDR_2>
            <BILL_ADDR_3>Watthala</BILL_ADDR_3>
            <BILL_ADDR_4>SRI LANKA</BILL_ADDR_4>
            <CUSTOMER_PO_NO>112984638</CUSTOMER_PO_NO>
            <CUSTOMER_FAX>112984639</CUSTOMER_FAX>
            <CUSTOMER_EMAIL>abcbababab</CUSTOMER_EMAIL>
            <ORDER_LINES>
                <ORDER_LINE>
                    <LINE_NO>1</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP11</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>iPod</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1200</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1200</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID xsi:nil="1"/>
                            <CHARACTERISTIC_VALUE xsi:nil="1"/>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>2</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP24</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>XGA Projector</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>500</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1500</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>3</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free Instalation</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>3</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP02</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Sony DVD Player</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1000</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1000</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free 5 DVDs</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>4</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP99</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Flatscreen TV</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1500</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1350</PRICE_TOTAL>
                    <DISCOUNT>10</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free Delivery</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>1 year additional warranty</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>5</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP56</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Sony MP3 Player</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>200</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>400</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>2</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free carry belt</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free promotional 4GB memory bar</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>3</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>No warranty on memory bar</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
            </ORDER_LINES>
        </CUSTOMER_ORDER_CONF_REP>
    </CUSTOMER_ORDER_CONF_REP_REQUEST>
    XSD
    <?xml version="1.0" encoding="UTF-8"?>
    <?report  module="ORDER" package="CUSTOMER_ORDER_CONF_REP" ?>
    <xs:schema targetNamespace="urn:ifsworld-com:customer_order_conf_rep" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:element name="CUSTOMER_ORDER_CONF_REP_REQUEST">
    <xs:complexType>
    <xs:all minOccurs="1" maxOccurs="1">
    <xs:element name="CUSTOMER_ORDER_CONF_REP">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="50">
    <xs:element name="ORDER_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="PRINTED_DATE" type="xs:dateTime" nillable="true" minOccurs="0"/>
    <xs:element name="AUTHORIZE_NAME" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_PO_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUST_NAME" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_1" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_2" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_3" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_4" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_1" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_2" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_3" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_4" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_FAX" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_EMAIL" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ORDER_LINES" nillable="true" minOccurs="0">
    <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="ORDER_LINE">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="39">
    <xs:element name="LINE_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SALE_UNIT_PRICE" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="PRICE_TOTAL" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="DISCOUNT" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="PRICE_QTY" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="CUSTOMER_PART_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_PART_DESC" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ORDER_LINE_CHARACTERSTICS" nillable="true" minOccurs="0">
    <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="CHARACTERISTIC_ITEM">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="6">
    <xs:element name="CHARACTERISTIC_ID" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CHARACTERISTIC_VALUE" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:all>
    </xs:complexType>
    </xs:element>
    </xs:schema>

    Hi Sourashree,
    Thank you for the response and ideas you have given me so far. I can get the fetch the data from the data source without any problem. That is I do the following,
    1.     New Report
    2.     From Create New Connection-> XML
    3.     Provide the u201CLocal XML Fileu201D and have u201CSpecify Schema Fileu201D checked -> Next
    4.     Provide the u201CLocal Schema Fileu201D  -> Finish
    Then I can see the following under XML
    + CUSTOMER_ORDER_CONF_REP_REQUEST
            CUSTOMER_ORDER_CONF_REP_REQUEST
         CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
    And from here if I add the following three I can get all the fields I need to the report
         CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
    Then I come to the Linking section. Here I canu2019t link anything. There is a common field called u201CInternal_IDu201D but I canu2019t link using it. So I get a message when I click Next. From here I add all the fields.
    For this point onwards only I need help. How do I group, add fields and design the layout so I can get an report output as follows.
    Date
    Order number                                   Authorized code
    Customer No
    Name
    Phone
    Fax email
    Shipping address 1                              Billing Address 1
    Shipping address 2                              Billing Address 2
    Shipping address 3                              Billing Address 3
    Shipping address 4                              Billing Address 4
    Order Line 1 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026                      LINE_NO     CUSTOMER_PART_NO          CUSTOMER_PART_DESC     SALE_UNIT_PRICE     PRICE_QTY     DISCOUNT     PRICE_TOTAL
    Characteristic details belonging to Order line 1       CHARACTERISTIC_ID 1  CHARACTERISTIC_VALUE1
                                           CHARACTERISTIC_ID 2  CHARACTERISTIC_VALUE2
                                           CHARACTERISTIC_ID 3  CHARACTERISTIC_VALUE3
    Order Line 2 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 2
    Order Line 3 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 3
    Order Line 4 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 4
    Order Line 5 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 5
    How can I achieve this kind of a layout using the give xml and xsd? Should I use grouping if so how should I do the grouping?
    I have included the full xml and xsd in the first mail I posted but I canu2019t see it now. I can include that again if you want.
    Regards,
    Chanaka

  • Read/write xml data from/to adobe livecycle forms (pdf)

    Hello,
    I need some help reading xml data from pdfs created by Adobe LiveCycle and also writing xml data back to the form.
    The forms have been created using PROD LC 8.2 and in the future they will be created using PROD LC 9.5.
    I am using Visual Basic .NET to access the data programatically.
    Can anyone help me with some hints? A library, SDK? Any information would be very helpful.
    I am quite new with this Electronic Forms issue and I do not even know where to start.
    Thank you,
    Ionel

    Hi lonel,
    Do you want an online solution?
    I mean, it follows this workflow:
    1. The user will open the PDF by clicking a link, and a server-side program will generate the PDF and prepopulate it with data from some data sources, and render the PDF to the client (Browser),
    2. The user will fill the PDF.
    3. The user will click a Submit button and save the PDF and Data on the server.
    4. If the user wants to edit the Submitted Form, he will click a link to open the save PDF and possibly prepopulate some fields with data from other data sources, and complete the cycle of filling and saved the PDF and Data on the server.
    5. While the user is filling the PDF (inside a Browser), there might be a need to perform some lookup on the server, and update the form parts accordingly as a result of the lookup process.
    For 1-4 above, I have developed a complete base library using ASP.NET which helps you to perform the above.
    You can goto my Google Workspace and you will find a bunch of documents, sample PDFs, collections and VB Classes. To best view them, login using some Google Account.
    For point 4 above, one way to perform this effect, is to regenerate the required XML Data (which has the saved data before and the new lookup data), remerge the entire XML result with and empty PDF Form, and render the XFA (PDF Form) back to the client. But, if the PDF has one or more signatures, it will not work. So, in this case, you can update the Form Fields of a Saved PDF Form with new Data from the server, but the net effect is that you will have to loose all the signatures that were added on the PDF before.
    For 5 (above) there are 3 methods:
    1. Using a Web Service as a Data Connection. This is very easy if you have a traditional Web Service. I have used this method several times and will use it again if the need be. But, there is a problem. If the result of the Web Service is an Array of some Data, and you want to remerge the XFA to get the required effect after executing the web service ... and ... if there are some Drop-Down-List (DDL) fields, the bindings of the DDL Items of those fields will be lost. But, you can rebuild them (on enter event of the DDL Field)  if you have saved them in the embedded XML Data.
    2. You can update few (not many) fields while the PDF is opened (under the Browser via IFRAME) by passing the new field values using the URL Query String method. I have not done this, but I like this method, and I think it is cool. You need to write a server side code to ensure the the new filed values are passed back to the client using the correct URL with the Query String, and you need to write some javascript code inside the PDF to parse the URL and get the new field values and update them accordingly. See this as an example:
    http://www.halnesbitt.com/pages/pdfqs.php
    3. This method is very advanced and uses message communication ques between the Browser and the PDF (which is opened inside IFRAME element) using HostContainer object. This method will enable 2-way communication between the Browser and the PDF on the client side using javascript. I'd love to use this method one day. See example here:
    http://www.windjack.com/WindJack/Browser2PDF/brwsr2acroJS.htm
    I hope this will be of help to you.
    Tarek.

  • 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/

  • Barcoded form with XML-data

    Hi all,
    In our solution we have some barcodes on a form (7 barcodes on the one that I am using), they contain compressed XML data (I know that this uses much space in the barcode - anyway it should work regardless of this).
    What the interesting thing is what is returned from the "decode-service" in WB.
    When I run a scanned form through the process I have created I get "garbled" xml in my XML-doc that is returned from the decode-service.
    If I use a handheld scanner (with a customly created program that handles the compression) I get the correct data from the barcode.
    If I do not use compression in the barcode I get the correct XML data from the barcode (with the decode-service). This is weird to me... What is going on???
    Some time ago I posted this issue (http://www.adobeforums.com/webx?128@@.3c058293) but never really caught up with a solution.
    Can you help me with this?
    Sincerely
    Kim

    Oops, something happended with the above post. I will try again... I have tried your suggestion but I still get the same garbled XML (with data repeated and some values "cut in half".<br /><br />Here is what I get after decode-service and extract-to-XML-service. This is just the first barcode, the others are similar, sorry for the poor formatting, but I get a CDATA tage infront of the "istensen" value.<br />                                                              <br />CDATA:istensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />>Superroad 99, 1330 Supertown</fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br />>/sub_Adresse<br />><sub_Person<br />><fld_ForMellemEfterNavn>Kim Christensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />> Superroad 99, 1330 Supertown </fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br /><br />Obviously this is not a legal xml-string, so I can do nothing about it.<br /><br />I have tried using a custom .NET component (ClearImage) for reading the same form (with the barcode) I get the correct data out from the barcodes. So I guess something is wrong with the decode-service in Barcoded Forms ES when I use compressed XML. But I can conclude since the ClearImage component can read the barcodes that they are compressed correctly.<br /><br />Can you help me with getting further with this problem?<br /><br />Sincerely<br />Kim

  • UIX with XSQL as XML data provider and event handler

    Hello ,
    I would like to bind XML data to messageinput elements of a form element
    as values to be presented before entering (data provider)
    as well as input values to be persisted after completing the form (event handler).
    My impression (as a newbee) is that only for BC4J integration there is a bidirectional binding with view objects.
    Can i use 'include' to bind a static xml file as data source for output?
    How can i use XSQL to be bound as data for input as well as for output of a form?
    A last question concerning a page with 3 tabs:
    do i need 3 different pages and requests to get the data of the 3 tabs
    or is it possible to get the whole data of the page in one request
    and distribute it over the 3 tabs.
    Any help appreciated
    Thanks
    Klaus Dreistadt

    You could do this, but we don't provide any tools to make this easy.
    You'd have to write an implement of the DataObject interface
    that gives your UI access to the XML document, and write custom
    event handlers to perform the "set" side of things. The Data Binding
    and UIX Controller chapters of the UIX developer's guide will give you
    a high-level view of how to accomplish this, but nothing specifically
    about reading or writing to XML documents.

  • Merging randomly-named XML data file on client-side with pdf designed in Livecycle 7.0 (and addition

    Okay, as a heads up I work for a financial institution and we are converting our legacy "jetforms" to pdf format. I have in my staff for the project, 2 code developers and myself- a form designer. We have currently spent 2 months in trial and error attempting to resolve this problem, please let us know anything you can have. All client-side (internal) machines are running Windows XP and Adobe Reader 7.0.7
    The software we use as a financial institution allows our users to export a customer's data file onto their machine which is then renamed to include the member's account number and first and last name for our staff to determine which data file they need more accurately. In legacy jetforms, we have developed a program that pushes the data from the customers file that they select, into the jetform that they want to open and the matching fields in the data file fill in the fields of the jetform. Clean and simple.
    Now, i have hit nothing but frustration when attempting to perform the same process with pdfs using a form designed in livecycle designer 7. First, i see no obvious command for opening a pdf and importing a data file using a command line, like pdfmerge or something of the sort in which an xml data file can be specified and a pdf can be specified. I saw something like it using an fdf format and attempted to do this but apparently reader cannot import the data into the pdf that was designed adobe livecycle 7. All i have been seeing is database connections and using javascript inside the form to populate fields based on these database connections, etc. etc. or doing a manual file>import data>etc. which we don't want to have our staff do. We do not have reader extensions enabled, simply because i cannot get an adobe representative to call me and discuss pricing nor see any estimated pricing chart around. I don't know if reader extensions are necessary for this or not but i'm becoming very very frustrated with it.
    We don't want a complex server-side data connection binding with dynamic input. No, we just want it where our developers can say "if this data file is selected, and this pdf form is selected run this command" which would be a simple pdfmerge type solution. Is this possible or do i need to stay with jetforms until our software the billion dollar financial institution uses does form building inside its own application? I don't want to fight about who is better, what version to use, etc. I just want the straight up honest truth. If you need to know the pricing that the reader extensions would have to go by, assume there will be 500 client computers that will need to use it.

    From your post it sounds like you are Central Pro (a product for which I am by no means an expert), but you say you want to upgrade to a newer product from your "legacy" one. Is there a reason for this? Have your requirements change so that it no longer fits them? Central is still in the current Adobe roster and as far as I know there is no plans to get rid of it any time soon, so if it does everything you want I don't see why you would want to change.
    There is no product in the LiveCycle suite that merges xml data into a form from the command line. LiveCycle (with the exception of Designer) is a suite of server products, so the closest you would come is LiveCycle Forms (merge the xml and create a fillable PDF) or LiveCycle Print (merge the xml and print the form).
    Hope this helps somewhat.
    Chris
    Adobe Enterprise Developer Support

  • Forms pulling Multiple Records from an XML Schema and XML data files - Adobe LiveCycle Designer

    I built a form in Adobe LiveCycle with an xml schema and data file.  The problem is with how the form renders the xml data file.
    I have a statement element that consists of about 6 fields (statementID, statementName, statementAddress, statementCountry, statementZip, statementDate, etc) of data in the schema that allows for multiple iterations - so one xml data file can contain multiple statements. These fields allow for null values.
    But here's the problem:  When any of the statements - say statement 2 of 6 - has a null value in one of the fields, if the xml data file doesn't have a placeholder
    (example of placeholder:  <statementName type="String"/>   )in the xml for that field, my form pulls the field value from the NEXT statement.
    This corrupts all the rest of the statement records, as this field is shifted up for all the rest.
    I know that in the past I haven't needed a placeholder when a field was null. But I'm wondering if when the data allows for multiple records the xml data file needs to generate the placeholder.  And where is the problem? In the Schema? The xml data file? My form?  And the 64-thousand-dollar question:  How to fix it?

    If your <statement> element is the one that repeats, it should be bound to a subform with the binding string of something like $.statement[*]. Then in that subform should be your fields and they should have bindings of $.statementID, $.statementName, $.statementAddress, etc.
    Kyle

  • 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

  • Adobe LiveCycle Designer 7.1 - Barcoded Forms Changes

    For those of you that have upgraded to Adobe LiveCycle Designer 7.1 you should notice that there are a few changes to the Paper Forms Barcode object interface.
    On the Field tab you will see that the label may be generated automatically or manually which before could only be generated automatically. The most significant change may be found further down in the new Symbology pull-down menu. Not only can Barcodes be generated in the PDF417 format, but now you can take advantage of both QRCode and DataMatrix. Depending on the region as well as vertical will probably decide which format you will be using on your forms but it may be worth experimenting with different symbologies and data capacities based on the data of your forms to see if there may be a better alternative.
    On the Value tab you will find a slight change to the automated scripting. Tab-delimited and XML may still be generated automatically but you now have the option to select whether or not you would like to include the field names and labels. The Include Field Names separates the field names by tabs and encodes them as the first line of the barcode contents. The values are encoded beneath them. Include Label encodes the label (shown in Field tab) as the first tab-delimited field in the barcode contents. This is a great way to include a form identifier as a standard in your data (a good best practice). Keep in mind that when using the default tab-delimited formats the Adobe LiveCycle Barcoded Forms Decoder can create XML from tab-delimited data automatically which saves some time on the back-end integration effort.
    Again on the Value tab there is another new drop-down field named Collection. For those of you familiar with the Barcoded forms interface of Acrobat, you were able to select the fields that you wanted to be encoded in the barcode without having to do any custom scripting. The Collection interface basically provides you with the same functionality but under a great tree-view interface that allows you to manage the data that goes into your Barcode very easily, again, without custom Scripting.

    I am receiving the following error when I deploy the xdp form onto the adobe form server 6.0.
    =====error===================================
    2006-03-07 16:30:17,287 WARN [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.XFA=dataPrep is not a valid attribute of barcode, Attribute not loaded. Line 27066.
    2006-03-07 16:30:17,646 INFO [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.timing=!PERFORMANCE! XMLFormFactory.PAexecute() Setup + mpoFormAgentFactory->PAexecute Time: 0.74395 seconds
    2006-03-07 16:30:17,646 DEBUG [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.generic=XMLFormFactory::PAexecute mpoFormAgentFactory->PAexecute returned
    2006-03-07 16:30:17,646 INFO [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.timing=!PERFORMANCE! XMLFormFactory.PAexecute() Total Time: 0.74427 seconds
    2006-03-07 16:30:17,646 DEBUG [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.generic=XMLFormFactory::PAexecute - returning
    2006-03-07 16:30:17,662 WARN [com.adobe.formServer.RunTimeContext] class com.adobe.formServer.PA.XMLFormAgentWrapper : mid:29226 tid:2424.2688 sev:w text: dataPrep is not a valid attribute of barcode, Attribute not loaded. Line 27066..
    2006-03-07 16:30:17,693 DEBUG [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.generic=XMLFormFactory::PAexecute - entered
    2006-03-07 16:30:17,693 INFO [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.timing=!PERFORMANCE! XMLFormFactory.PAexecute() Data Setup Time: 0.00413 seconds
    2006-03-07 16:30:17,693 DEBUG [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.generic=XMLFormFactory::PAexecute - invoking mpoFormAgentFactory->PAexecute
    2006-03-07 16:30:17,974 WARN [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.XFA=dataPrep is not a valid attribute of barcode, Attribute not loaded. Line 27066.
    2006-03-07 16:30:18,724 WARN [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.XFA=Argument invalid: not supplied/range/etc.
    2006-03-07 16:30:18,974 DEBUG [org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService] It's for me: javax.management.MBeanServerNotification: notificationType=JMX.mbean.registered source=JMImplementation:type=MBeanServerDelegate seq-no=568 time=1141729218974 message=null objectName=jboss.web:type=RequestProcessor,worker=http-0.0.0.0-7001,name=HttpRequest3 userData=null, handback:2147483647
    2006-03-07 16:30:20,021 WARN [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.XFA=PaperFormsBarcode1 'access' attribute should explicitly be set to 'nonInteractive'. Field will be drawn as a boilerplate.
    2006-03-07 16:30:20,037 WARN [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.XFA=XFAImageService: Image cannot be resolved for node: PaperFormsBarcode1.
    2006-03-07 16:30:20,037 WARN [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.XFA=ImageStore does not contain the key [F[0].pbarcode[0].detail[0].PaperFormsBarcode1[0]]. Hint: The addImage method must be called first.
    2006-03-07 16:30:20,787 INFO [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.timing=!PERFORMANCE! XMLFormFactory.PAexecute() Setup + mpoFormAgentFactory->PAexecute Time: 3.09997 seconds
    2006-03-07 16:30:20,787 DEBUG [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.generic=XMLFormFactory::PAexecute mpoFormAgentFactory->PAexecute returned
    2006-03-07 16:30:20,787 INFO [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.timing=!PERFORMANCE! XMLFormFactory.PAexecute() Total Time: 3.10126 seconds
    2006-03-07 16:30:20,787 DEBUG [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.generic=XMLFormFactory::PAexecute - returning
    2006-03-07 16:30:20,818 WARN [com.adobe.formServer.RunTimeContext] class com.adobe.formServer.PA.XMLFormAgentWrapper : mid:29226 tid:2424.2688 sev:w text: dataPrep is not a valid attribute of barcode, Attribute not loaded. Line 27066..
    2006-03-07 16:30:20,818 WARN [com.adobe.formServer.RunTimeContext] class com.adobe.formServer.PA.XMLFormAgentWrapper : mid:18458 tid:2424.2688 sev:w text: Argument invalid: not supplied/range/etc..
    2006-03-07 16:30:20,818 WARN [com.adobe.formServer.RunTimeContext] class com.adobe.formServer.PA.XMLFormAgentWrapper : mid:12369 tid:2424.2688 sev:w text: PaperFormsBarcode1 'access' attribute should explicitly be set to 'nonInteractive'. Field will be drawn as a boilerplate..
    2006-03-07 16:30:20,818 WARN [com.adobe.formServer.RunTimeContext] class com.adobe.formServer.PA.XMLFormAgentWrapper : mid:29461 tid:2424.2688 sev:w text: XFAImageService: Image cannot be resolved for node: PaperFormsBarcode1..
    2006-03-07 16:30:20,834 WARN [com.adobe.formServer.RunTimeContext] class com.adobe.formServer.PA.XMLFormAgentWrapper : mid:18177 tid:2424.2688 sev:w text: ImageStore does not contain the key [F[0].pbarcode[0].detail[0].PaperFormsBarcode1[0]]. Hint: The addImage method must be called first..
    Can someone help?
    Thanks
    DINESH

  • 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

  • Submitting xml data and thereby kicking off LiveCycle Process

    I have a simple form where I collect the data and put it in a field which contains xml. I also have a process that should be started when I click a button on the form. Hence I have made the databinding for the process SOAP endpoint and have made the binding to the xml-text field in the form.
    However something is wrong, because nothing happens when I click the button.
    So how do I submit xml-data to a LiveCycle process to kick it off through the form.
    Sincerely
    Kim

    Dear Mr. Ram KM,
    The business mentioned above by you was absolutely perpect.
    Adobe LiveCycle® ES (Enterprise Suite) is an integrated server solution that blends data capture, information assurance, document output, process management, and content services.
    I may guess you have to install ADOBE LIVECYCLE WORKBENCH ES. The Adobe liveCycle Designer ES comes with Workbench ES once you installed. Please go through the below information, you may get some idea.
    1. Significance of folders in Documentum Repository (for all regions)
    WorkBench -> where all work in progress or finalized templates should reside. Designer must carry his/her development of Form/Template design in this folder.
    Schema -> where the XML Schema (Using which data needs to bound to the template) should reside. This schema should be the same across the entire region (dev, UAT, Prod).
    Templates -> This is the run time folder. CPR application points to this folder while searching for templates. Designer should never work on this folder or move/copy any template from WorkBench to this folder. This action will be taken care of by CPR application.
    Master Fragment Library -> All the fragments should reside inside this folder. Once one fragment is changed in this folder then change will be reflected immediately to all the templates that use this fragments.
    NEW TEMPLATE DESIGN
    2. Design approach through workbench ES.
    Designer selects UAT region through WorkBench ES to do the development of the Forms/Templates.
    Designer opens up an existing form/letter or creates a new form/letter through designer in Workbench ES
    He/She caries out the design (forms/letters) in Workbench folder.
    He/She carries out the design of fragments in Master Fragment Library folder.
    Once designer is satisfied with design he/she right clicks on the document and goes to the history popup.
    Select the latest document in the list and click on Save as button in the popup screen to save it to the local hard disk or any file system.
    Designer now goes to CPR Application and click on Add button.
    The Add popup opens up.
    Designer clicks on Browse button and adds the letter/forms she had downloaded to his/her disk and adds corresponding Meta data. He/She then hits Done. At this point behind the scene CPR application puts the corresponding letter/Form into Templates folder with all the meta data set.
    The UAT test on the newly uploaded templates then happens.
    Once the UAT is successful then the corresponding templates need to be promoted to Production.
    First Step: Promoting new Fragments to Production
    Administrator directly logs into Production fragment library folder and creates the fragments again in production. This needs to be done very carefully as this fragments will be available immediately for end users (on click of Save in the designer).
    Note: The downloaded fragments (from UAT region) can be moved to production directly using drag and drop feature of Workbench ES.
    Second Step: Promoting new templates to Production
    If UAT is successful Administrator then uploads the template file into production the way he/she did in UAT region. He/she needs to put appropriate meta data in production also.
    EXISTING TEMPLATE MODIFICATION
    3. Design approach through workbench ES.
    Designer selects UAT region through WorkBench ES to do the change of the existing Forms/Templates.
    Designer opens up an existing form/letter or creates a new form/letter through designer in Workbench ES
    He/She caries out the design (forms/letters) in Workbench folder.
    He/She carries out the design of fragments in Master Fragment Library folder.
    Once designer is satisfied with design he/she right clicks on the document and goes to the history popup..
    Select the latest document in the list and click on Save as button in the popup screen to save it to the local hard disk or any file system.
    Designer now goes to CPR Application and finds the templates he/she wants to modify.
    Designer highlights the corresponding row and hits on Modify.
    The Modify popup opens up.
    Designer clicks on Browse button and adds the letter/forms she had downloaded to his/her disk and edits corresponding Meta data (if needed). He/She then hits Done. At this point behind the scene CPR application puts the corresponding letter/Form into Templates folder with all the meta data set. Also it inactivates the older version if any.
    The UAT test on the newly uploaded templates then happens.
    Once the UAT is successful then the corresponding templates need to be promoted to Production.
    First Step: Promoting existing Fragments to Production
    Administrator directly logs into Production fragment library folder and updates the fragments again in production. This needs to be done very carefully as this fragments will be available immediately for end users (on click of Save in the designer).
    Note: The downloaded fragments (from UAT region) can be moved to production directly using drag and drop feature of Workbench ES.
    Second Step: Promoting existing templates to Production
    If UAT is successful Administrator then uploads the template file into production the way he/she did in UAT region. He/she needs to put appropriate meta data in production also.
    FormFragsRenderPdfServlet:
    import java.util.Properties;
    import java.io.*;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletOutputStream;
    import com.adobe.etech.FileUtils;
    import com.adobe.formServer.client.EJBClient;
    import com.adobe.formServer.interfaces.*;
    import com.adobe.pso.eforms.model.XDPWrapper;
    import com.adobe.pso.eforms.model.FragmentMetadata;
    import com.adobe.pso.eforms.model.TemplateMetadata;
    import com.adobe.pso.eforms.model.XSDReference;
    import com.adobe.pso.eforms.util.FormServerDefinition;
    import com.adobe.pso.eforms.util.RenderFormOptions;
    import com.adobe.pso.eforms.util.RenderUtils;
    import com.adobe.pso.eforms.util.XDPUtils;
    * @version 1.0
    * @author
    public class FormFragsRenderPDFServlet extends HttpServlet {
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    System.err.println("RenderPdfServletScott - doGet");
    try {
    ServletContext context = this.getServletContext();
    // 1. Construct the web app's context url
    String contextURL = request.getScheme()
    + "://"
    + request.getServerName()
    + ":"
    + request.getServerPort()
    + request.getContextPath();
    // 1a. If making an EJB remote call to FS, construct the JNDI properties object.
    Properties jndiProps = new Properties();
    jndiProps.setProperty("java.naming.factory.initial","com.ibm.websphere.naming.WsnInitialC ontextFactory");
    jndiProps.setProperty("java.naming.factory.url.pkgs","com.ibm.ws.naming");
    jndiProps.setProperty("java.naming.provider.url","corbaloc:iiop:127.0.0.1:2809");
    // 2. Create FormServerDefinition object to define the form server invocation method
    FormServerDefinition fServDef = new FormServerDefinition();
    fServDef.setInvocationMethod(FormServerDefinition.EJB_REMOTE);
    fServDef.setJndiProperties(jndiProps);
    //Specify the path to load the data from
    byte[] cXMLData = getBytesFromFile(new File (context.getRealPath("/data/data.xml")));
    // 3. Set the various options for rendering the form. The setFormQuery() method establishes the name
    // of the temporary file created on the filesystem to hold the "pre-rend

Maybe you are looking for