XML data within dynamic form

Hi,
I'm trying to make a new XML Schema connection inside the form designer, I successfully made the connection and get the data inside my form, but I have only one problem, I have a huge number of records which I decided to make them as a dropdown list, they are about 11000 records, OK, now to the problem which is if I save the form as a static pdf form the list will be filled completely with the data came from the XSD file, and the produced file size is about 3 M, but if I save it as dynamic pdf form, the produced file size is about 400 K, but if I tried to access the dropdown list inside the file, it takes forever to load, without getting any result at the end.
OK, my personal conclusion is that in case of the static forms the data saved inside the pdf file, but in case of the dynamic forms the data is not saved there.
I need to save the file as dynmic pdf because I have a table that needs to add new row accoriding to the user click on a button of (add new row).
So, can any one help me to fix this issue?

Sorry, I found the solution:
when I use the Adobe Reader 8.0.0 or Adobe Acrobat professional 8.0.0
the stuff works normally, but in case of Adobe Reader 8.1.1 or Adobe Acrobat professional 8.1.1 this problem happens,
Now I'll explain:
1- I have a form with dropdown list.
2- I want to populate this dropdown list from XSD file has structure similar to the following:
=====================================================================
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="shipRequest">
<xs:complexType>
<xs:sequence>
<xs:element name="orders">
<xs:complexType>
<xs:sequence>
<xs:element name="order" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="shipVia">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Ground"/>
<xs:enumeration value="2 Day Air"/>
<xs:enumeration value="Overnight"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
====================================================================
but with one main difference, that the element of shipVia has about 11000 of (<xs:enumeration ) elements.
3- when I made the normal steps of make new connection to XSD file, it walked with me normally without any errors.
4- incase I save this form as static pdf file, then open it with adobe professional, the menu is working smoothly and load the data inside perfectly.
5- incase I sace this form as dynamic pdf file, if I try to open the dropdown list, it takes forever to load the data.
very starnge that this problem happen with the newer version, so any idea for this??

Similar Messages

  • Re-display repeating XML data in dynamic form

    I have a dynamic form with repeating data in my XML that populates it. I need to display the repeating data in one of 2 different ways, depending on which business segment the user viewing it is associated with. I have tried 2 ways to accomplish this, neither has worked for me.
    Attempt 1: Create 2 separate subforms and hide the one that should not be shown. The first subform in the layout displays just fine and is populated with records, but the second subform never displays any records. This appears to be an issue with the XML node already having been parsed and displayed and does not get displayed again. Is there a way to move the cursor, or pointer, or whatever you call it in XML-speak back to the top of a repeating node to re-display data?
    Attempt 2: Create a single subform that contains 2 other subforms - one for each view, which lay atop each other. A script command hides the view the shouldn't be displayed. The problem I ran into here is that the records don't display properly. In my example, there are 3 records in the repeating section, the first displays fine, the second is missing some fields and is pulling some data from the first record. The third record displays no data at all. I deleted the one of the 2 subforms and previewed the form again, now all of the records displayed just as they should.
    Any ideas or suggestions would be appreciated.
    Thanks,
    Chad

    That code also produces text in the textfield.  What "specific parts" are you trying to display?
    textfield.text = (xml.bar[0].text());
    textfield.text = (xml.bar[1].text());

  • Using importdata to import xml data into dynamic PDF form

    Hi again,
    Me and my colleagues have a problem using the importData service to import some xml data into an empty PDF form (represented as an XFA input variable).
    In the server log I get the error that Only XDP data is supported for XFA forms, however I only have the xml data and not the entire xdp available.
    Is this really not possible to to (like importing xml data to a form is possible in the Designer when creating forms).
    I hope the scenario is understandable
    Sincerely
    Kim Christensen
    Dafolo A/S
    Denmark
    PS: During the various projects I am working on I keep running into problems...however I am totally new to LiveCycle so I consider this very informative learning steps and appreciate all your help :-)

    Hi again,<br /><br />I have been experimenting a little with both the renderPDFForm and importData services. However I don't seem to be ble to make them work as I  need them to.<br /><br />My scenario is simple, I have one (call it a template xdp/PDF form) and lots of data in xml files (around 1000), that I need to import into the template. Therefore I have set up a "Watched Folder" to take the xml as a document (I guess this is a requirement) and then I need either the renderPDF or importData services to import the xml data into the template.<br /><br />I would like to know how I should setup the services to make this work.<br /><br />When I try to use importdata I setup the following:<br /><br />PDF document: set to be the template i need to import the xml to)<br /><br />Input data: the document variable (an xml file) that is passed to the   Watched Folder<br /><br />Data merged PDF: set to an out xfaform<br /><br />When I do this I get an Coercion error in the server log:<br /><br />2007-11-15 13:27:05,324 ERROR [com.adobe.workflow.AWS] stalling action-instance: 1506 with message: ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.<br />     at com.adobe.idp.dsc.util.CoercionUtil.toDOMDocument(CoercionUtil.java:656)<br />     at com.adobe.idp.dsc.util.CoercionUtil.toType(CoercionUtil.java:878)<br />     at com.adobe.idp.dsc.util.CoercionUtil.toType(CoercionUtil.java:803)<br />     at com.adobe.workflow.datatype.runtime.support.AbstractDataTypeRuntimeHandler.coerceFrom(Abs tractDataTypeRuntimeHandler.java:64)<br />     at com.adobe.workflow.datatype.runtime.support.AbstractComplexDataTypeRuntimeHandler.getNode (AbstractComplexDataTypeRuntimeHandler.java:47)<br />     at com.adobe.workflow.dom.VariableElement.setBoundValue(VariableElement.java:93)<br />     at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataValue(PATExecutionCo ntextImpl.java:729)<br />     at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataWithExpression(PATEx ecutionContextImpl.java:335)<br />     at com.adobe.idp.workflow.dsc.service.SetValueService.execute(SetValueService.java:46)<br />...<br />Caused by: ALC-DSC-119-000: com.adobe.idp.dsc.util.InvalidCoercionException: Cannot coerce object: <document state="passive" senderVersion="3" persistent="false" senderPersistent="true" passivated="true" senderPassivated="true" deserialized="true" senderHostId="127.0.0.1/172.16.10.125" callbackId="0" senderCallbackId="7" callbackRef="null" isLocalizable="true" isTransactionBound="false" defaultDisposalTimeout="600" disposalTimeout="600" maxInlineSize="65536" defaultMaxInlineSize="65536" inlineSize="8039" contentType="application/xml" length="-1"><cacheId/><localBackendId/><globalBackendId/><senderLocalBackendId/><senderGl obalBackendId/><inline><?xml version="1.0" encoding="UTF-8"?><br /><form1><br />  <sub_BlanketTop /><br />  <sub_SubjectTop><br />    <f...</inline><senderPullServantJndiName>adobe/idp/DocumentPullServant/adobejb_server1</s enderPullServantJndiName><attributes file="c:\NCRConvert\ProcessForm\stage\Wx450d4b32843a0b0bcb8ef99e\NCR-00564_dXAE3soH.xml"/ ></document> of type: com.adobe.idp.Document to type: interface org.w3c.dom.Document<br />     at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)<br />     at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)<br /><br />However it is possible to manually import the xml data in Acrobat Professional without any problems.<br /><br />When I use the renderPDFForm with the following settings:<br /><br />Form to render: literal value that points to the template<br /><br />Form data: document variable from watched folder (xml)<br /><br />Content Root URI: repository://<br /><br />With these settings I also get a coercion error, however it does not seem to be exactly the same.<br /><br />Sincerely<br />Kim

  • Importing data into dynamic form

    I have not yet had a chance to work with LiveCycle, and I have been given a project which I need to determine if LiveCycle would be the correct solution. The client originally wanted this to be a Microsoft Word form, but I doubt that I can meet the requirements using Word.
    I need to design a form which a user can enter multiple line items either manually, or by importing existing data. The data itself would be about 40-50 distinct pieces of data, in a block of  several sections and multiple lines (i.e Name, Address block, Phone/fax/email, contact and comment section, etc) and would be a combination of text fields and checkboxes. There would be 2-3 of these blocks per page (with a static header/footer), plus a cover page with data fields for the organization using the form.
    I know that I could create this type of dynamic form in LiveCycle to be entered manually, but I don’t know what options, if any, I would have in giving the user the ability to import existing data from an unknown source (could be a text file, a local or hosted database, excel, etc.).
    My questions are about the feasibility of LiveCycle for this project:
    Can data be imported from a data source the user chooses? Are there any limitations to what kinds of data sources can be used? Would I need to program a custom function to allow the user to match the proper fields for the import, or is there a built in function to handle this?
    Would there be any platform/application limitations? Can the form be used with Reader on a desktop computer (Mac or PC), or on a tablet (and if so, is a specific app necessary instead of the default app)?
    Are there any other foreseeable issues I may have to deal with?

    Thanks for the info. A few followup questions if you don't mind:
    1. Needs to configure an ODBC-connection on every system it is used.
    This form will be sent to our client, and they will send it to their customers. Can the connection setup be scripted, or is it simple enough that a generic set of instruction can be given to the end user to allow them to setup the connection and map their fields to the form's content easily?
    2. Requires Acrobat or a reader-enabled from to use in Reader. Data is automatically populated in the form fields. Only xml files for import allowed. Allows to use XSLT to format imported data.
    I doubt that the end user would have their data in a compatible XML format, so this option may not be necessary. Is Reader-enabling a form in LiveCycle comparable to the process in Acrobat? I have heard LiveCycle Enterprise is very expensive and required for certain functions, does this apply here? Does this require a specific server setup for these forms?
    3. Difficult scripting to update field values automatically. Works in Reader and Acrobat.
    The data would not need to be updated automatically, just pull current data into the form. This would be a one-way operation, there would be no need to update the data source from values within the form. I would still need to give the user a way to map their fields to the form.
    Are you aware of any tutorials or example files that would help give me a start? I had a brief look at the LiveCycle Designer ES2 Scripting Reference, but I"m not sure which objects to look into.
    None of these methods will work on mobile devices as there is currently no support of XFA in Reader Mobile.
    Good to know. The same is probably true if I were to create the form in Word/Office.

  • XML Schema binding - dynamic form

    I am new to Designer and XML. I have been given a basic interactive form and have persevered for a couple of (often frustrating) weeks to extend its functionality to link to an xml schema and provide for dynamic record creation. Unfortunately I am still having problems when adding new instances of subforms.<br /><br />I have a main form for reporting issues. Underneath it there are major components on a subform (can be multiple major components for each issue) and under major components are sub-components (can be multiple sub-components for each major component) on a child subform of major. I can add and delete instances of the subforms for both levels of records.<br /><br />I have created an xml schema based on the form since it already existed, and so the form fields have not inherited properties from the schema. However, I have bound the fields in the form to the xml fields through a data connection. The schema basically looks as follows (bot not literally the same as you will see from the tags):<br /><br /><element complextype issue><br />   <element issueId string/><br />   ...<br />   ...<br />   <element complextype majorcomponent unbounded><br />   <element majcomponentname string/><br />   ...<br />   <element complextype subcomponent unbounded><br />      <element subcomponent string/><br />      <element quantity string/><br />      ...<br />      ...<br />      </element><br />   </element><br /></element><br /><br />My problem is as follows: <br /><br />When I add an instance of a sub-component or major component subform, the first new instance appears to work correctly. However, every subsequent one inherits the values of the previous record and when it is changed, it changes the values of existing fields of the same name but of a different node. When I change each element in the xml schema to "unbounded", the forms appear to work properly but the values are then not nested correctly in the outputted xml data file (many records will appear under one sub-component, for example, when a new sub-component should be added for each).<br /><br />I suspected my problem might be that the "unbounded" property in the schema of the major component and sub-component elements are not linked to the Designer form because the major component and sub-component subforms are not bound to the xml schema. The reason they are not bound is because if I bind the subform, the first element, major/sub component name as applicable, loses its binding.<br /><br />I am sorry if this doesn't make any sense but I am hoping that someone might recognise the problem I am talking about as it is really creating much bother.<br /><br />Thanks.

    Thanks Justin for the reply. Unfortunately I can't explain exactly what was happening because I didn't keep sufficient notes and now the form is behaving differently. You are right in that when I bind the subform to the xml schema element, child fields do change their bindings from a full to a relative path. I had seen this before on all except the first field on a subform, which had losts any binding reference at all.
    I finally gave up on the schema and bound the forms to sample xml data. This fixed my problem. Now (several days later), I have revisited the problem and deleted my data connection to the xml file to connect to the schema once again. I am quite sure I have not changed the schema at all, nor the form, but for some reason it now appears to work correctly.
    I will continue to work with it, once again but thanks very much for your interest.

  • Catch / know XML Data of PDF Form (without do XML submit)

    Is it possible from within a PDF form, using JS get / know XML data of the current form?
    I need to get the same XML data that would be generated with "export data" feature of Adobe Professional.
    Thx! 

    Thanks Paul
    But this is not exactly what I need.
    I need to do something like:
    var xml= xfa.host.exportData("", false);
    and not really export the XML.
    ¿Is possible? ¿any idea?
    Thanks!

  • XML data into spreadsheet form?

    I created the form and a customer filled it out and returned it to me using the submit button via email. Is there a way to take the xml data and populate an excel spreadsheet appropriately?
    Adobe LiveCycle Designer 7.0/ Microsoft XP Pro/ 160 gig harddrive/ 512 RAM
    Thank you for your help!
    -Darren

    Hi Darren,
    Are you looking to automate this?
    You can bring up the form in Acrobat and go file->Form Data -> Create Spreadsheet from data files. You would then select all the files (xml) to put in the spreadsheet.
    Does that help you?
    Catherine

  • Extracting data from dynamic forms

    I am new to using Livecycle and see the advantages of using dynamic forms for collecting data. I have designed several dynamic forms which include rows with 6 to 9 text fields and may be completed with 10 to 100 rows. I  have had to use text fields for collecting numeric information as many of the references start with zeros (003456).
    Whilst Acrobat Pro provides for Livecycle dynamic forms to be enabled for Acrobat Reader filling and saving is extracting to Excel the best option available if you do not have the Enerprise version of Livecycle?
    One problem I have in using Excel is that whilst the completed  PDF documents capture the leading zeros, when I view the Excel spreadsheet the lead zeros have been lost. I have experienced this problem in importing Excel files into Access. To overcome this I usually create five lead rows with characters in all the fields that I want Excel to define as text - otherwise it processes them as numerics.
    Any better ways of extracting data from a hundred or so dynamic forms? 

    Hi,
    your problem is not the exported data, it's Excel that drops the leading zeros by default.
    You can use a custom pattern to keep the leading zeros.
    0#### will display intergers with up to 5 places with a leading zero.
    Value:           Displayed Value:
    012               012
    12345          12345
    0045             0045
    Here an example video for telephone numbers.
    http://www.youtube.com/watch?v=n4lGHTG0kCk

  • Displaying XML data in dynamic text box

    I'm attempting to display external XML data in a dynamic text box. When I test preview my code, the information that I want to display shows up in the Output window, so I know that its linked and works. My trouble is creating the code that will link to my (txtBox) and displaying when previewed. Please take a look at the files below if you have any time to offer suggestions.
    Thank you!
    Andy

    That's not an error, it's just a warning and flash is suggesting that if you use appendText vs. +=, that your results may display faster
    if you don't want to see the warning, you can take the suggestion and use:
    txtBox.appendText(bldg.S11[i].SF.text());
    txtBox.appendText(bldg.S11[i].Tenant.text());
    txtBox.appendText(bldg.S11[i].Status.text());
    ~chipleh

  • Xml data into dynamic texttield

    Hello there
    I was trying to get xml data into a listBox and textArea. Then when I try to get it into a dyamic textField it gets the first one and not changing as i select different item in the listbox. sure there is a way. also i want to make it clickable so it go to a web page. can you help me please.
    Appreciate your time and help
    Krish

    hi
    here is the flahttp://www.naturecareasia.com/test/learnCS4.flv.fla
    Thank you

  • Is it possible to CREATE an XML data with Smart Forms??

    Hello at all,
    i have an Smart Form Formular, which contains all information about a customer.
    My question is, if i want to send this Formular to another System, can I send this as a XML File or something else???
    I have no idea, how i can send my smart forms formular to another System.
    With kind regards.
    ETN

    I guess you want to send "spools" in XML format, not the definition of smart forms. So, the XML for Smart Forms is called XSF: read [SDN article - SAP SMART FORMS XSF - XML OUTPUT FOR SMART FORMS|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0b6bc290-0201-0010-5b87-a0e7c7eb55d0] and [sap library - smart forms - output in XSF format|http://help.sap.com/saphelp_nw70/helpdata/EN/a5/28d3b6d26211d4b646006094192fe3/frameset.htm]

  • How to Post Xml data into interactive form in web dynpro

    Hi,
    I want to be creating the xml source for web dynpro programatically.
    This is because my adobe form is highly dynamic where even the kind of ui elements and the position is decided at runtime.
    It is a highly interactive chart which I am planning.
    I want to then bind this dynamically generated xml to the pdf.
    Let me know your ideas.
    Thanks,
    Harish

    Conclusion from my point of view:
    1) You cannot have this thing interactive if you want to work with all the features of OM, if you want to cover all the details. In that case you need to create some tool for drawing the pictures for you and then only send the picture into the form. If anybody would like to do the changes you would add the table at the bottom of the page where a guy can say something like "chair A move under the big banana B" or "fire Mr. C, remove the position of Mr. C". That is probably the thing I would go for
    2) I am afraid you or your employer do not understand how the Adobe forms work. This is possible, but as I said before, that would be a nightmare for the developer (I cannot tell the price, would start with like 20 MDs).
    3) If you would like to mimic some existing solution and don´t want to buy that, then it´s ok for me. But don´t try to re-create the existing .NET or Java stuff in ABAP. I am skilled Java programmer and I can tell the freedom and the speed of the development is quite different. If the customer/ boss insist on developing such thing, use WEB development, go for PURE JAVA (I would go this way), use Java Connector in a JSP/ J2EE stuff and then incorporate the result into the portal.
    Hope that clarifies the problem a little,
    regards Otto

  • Custom Map in flash using XML data for dynamic map and point of intrest loading...

    Been some time since I have used Flash for anything...
    I'm working on a little project to dynamically build a map
    and set points of interest on the map. At this time I have the
    (mySQL) data being queried and formatted with PHP and pushing the
    data to Flash as XML.
    In starting the project I'm a bit lost... I mean I have my
    data and a good XML format but as it is I'm lost on parsing the
    data in Flash and assigning its values to movie clips or other...
    I've looked at the Loader Component and the XML Connector
    Component and find I can get that to work at all...
    My second though was to create a single movie clip on stage
    and give it an instance name of "Background" and have it load the
    URL of an image given in the attached XML doc... Node "a_zone" and
    the value given to attribute "image"... But this brings me back to
    square one of not quite understanding Flash and parsing XML... With
    this second idea I would use AS to create a movie clip, set it's X
    & Y cords and load an image to it based on the XML attributes
    listed in the "Gatherable" node (one for each node).
    Any suggestions, examples or related info is welcome...
    Thanks in advance!

    Okay, that really wasn't what I was looking for... But I did
    go back and RTM :-)
    Here's what I have... 1st frame:
    2nd Layer: movieclip with the instance name "currentPicture"
    The image loads into "currentPicture" from the URL given in
    the XML "a_zone" node attribute "image" just fine....
    But I'm not able to grab the attributes of each "Gatherable"
    node it seems... am I missing something or just not pointing to the
    right node?
    I keep getting:
    undefined
    undefined
    undefined
    Error opening URL
    "file:///C|/apache2triad/htdocs/gatherer/flash/undefined"
    Error opening URL
    "file:///C|/apache2triad/htdocs/gatherer/flash/undefined"
    Error opening URL
    "file:///C|/apache2triad/htdocs/gatherer/flash/undefined"

  • SJT Connect to Access DB to present Data within a Form

    Faily new to this product Live Cycle Designer 8.0. I have a large Access DB that identifies asset by Department. An Access Query links about 4 different tables to produce a detailed asset form/report. I would like to recreate this form report using the asset IDs unique key field which links all tables in a PDF form.
    1. I would like to present a form with what is in the database today.
    2. Have to receipent of the form review to content and make changes.
    3. Each change in the form needs to be highlighted in some way to identify what fields changed.
    4. The form would be emailed back to me.
    5. I would drop all field not hightlighted (no changes) and process only those field that have changed.
    Issue. In creating the form some departments have more asset than others requiring the form to be able expand based on the number of assets.
    I would like to produce seperates PDF based on the department automatically.
    I need some way to page through this document to a specific asset and print to PDF that departements information .
    Any and all guidance is welcomed.

    Hi,
    Try not to access or connect to FTP, it usually download the data since you accessing FTP, try to look for other ports like http to access the database.
    Regards,
    Clint

  • How do I submit xml data from a form to live cycle

    Hi
    This is my first post, so I'm not sure if this is the right forum.
    I have a flex app, which calls a pdf. You enter the info on the pdf and then click submit. Now I need to know what i have to do to submit the information (not via email)to a live cycle process and which live cycle process I must submit it to?
    I'm assuming I must using some sort of servlet to submit the info?
    Any help would be greatly appreciated.
    Thanks
    Ross

    Hello Ross,
    Yes, you need a servlet that gets the submitted info from PDF, and then that servlet internally need to invoke your process.
    There are couple of ways you can submit the data to your servlet, either as PDF/XML/XDP. If you are looking for submitting PDF/XDP, then one need to have either Acrobat S.W (Standard or Professional) or you need to apply ReaderExtensions on those PDFs.
    Hope I answered your questions.
    Regards
    Sivajee

Maybe you are looking for