Importing XML Data Back into the Form

I have a form that shows several subforms based on the selections the user has made while filling in the form. This is working quite well but when I import the XML data back into the form it doesn't show the subforms that have been used.
Is there an easy way to change this?
Thanks in advance!
Emma

Actually the issue may actually have to do with the fact that the connections aren't bound, but I haven't seen the data.
I have some fairly complex forms that include both subforms and instances, have an XSD embedded and export as XML. When I import the data, everythi
Now, that being said...
Are your subforms "hidden" and you opt to display them upon selection of a radio button for example, or do you SetInstances()? If you're using visible=TRUE or FALSE, that may also cause some issues.
Try this -- on Form:ready try this code:
if(this.rawValue == "on"){ //this radio button 1
_subform1.setInstances(1);
_subform2.setInstances(0);
_subform3.setInstances(0);
else if(this.rawValue == "on"){ //this radio button 1
_subform1.setInstances(0);
_subform2.setInstances(1);
_subform3.setInstances(0);
else if(this.rawValue == "on"){ //this radio button 1
_subform1.setInstances(0);
_subform2.setInstances(0);
_subform3.setInstances(1);
else { // this is fisrt time open -- i sometimes had issues with subforms being visible on first entry
_subform1.setInstances(0);
_subform2.setInstances(0);
_subform3.setInstances(0);
Then on:Click essentially copy most of the code you put in form:ready
if(this.rawValue == "on"){ //this radio button 1
_subform1.setInstances(1);
_subform2.setInstances(0);
_subform3.setInstances(0);
else if(this.rawValue == "on"){ //this radio button 1
_subform1.setInstances(0);
_subform2.setInstances(1);
_subform3.setInstances(0);
else if(this.rawValue == "on"){ //this radio button 1
_subform1.setInstances(0);
_subform2.setInstances(0);
_subform3.setInstances(1);
Of course this will go on top of your radio button group.
If you are exporting to XML, it will make your life a whole lot easier, by the way, to import an XSD and bind your nodes, especially as your forms and data start to get more complex.
Finally, you may also know this but -- unless you have Forms Server, any user that wants to export the data or import the data will need to have at least full Acrobat Professional. If you want people to be able to save data in the form but import/export isn't that important, they will need to have full Acrobat.
I hope that helps a bit. Good luck!
Lisa

Similar Messages

  • About the exporting and importing xml data file in the pdf form

    Hi all,
    I need help for importing xml data file in the pdf form. When I write some thing in the text field with fill color and typeface (font) and exported xml data using email button. When I imported that xml file in the same pdf file that is used for exporting the xml data then all the data are shown in the control but not color and font typeface. Anyone has suggestion for solving this problem. Please help me for solving this problem.
    Thank you
    Saroj Neupane

    Can you post a sample form and data to [email protected] and I will have a look.

  • How do i import excel data base into pdf form drop down field

    Hi,
    I have a table of about 2500 rows and three columns that i would like to import into a drop down window on a PDF form to be self populated when item selected rather than entering the data. How can this be done?
    Thanks!
    Richard

    Hi,
    I did not know only two entries for each option item is it. I have manually entered data in the drop down an list boxes. With 2500 lines of data I was hoping there was an easier way other than manually entering the data.
    I have no knowledge of Java Scripting.....
    I was just wondering if there was a way from an Excel spreadsheet to import that data into a PDF form to be selectable to populate PDF fields in a form. It doesn't sound like it.
    Thanks......

  • Is there a way to import midi data BACK into ultrabeat?

    I'm sitting here arranging a new song, programming all the drums into ultrabeat.  I clicked on the drum sounds, expecting to keep everything that I've worked on - when to my surprise I realized it went back to every sample pattern.
    I have some sections already pasted into the arrange window - and yes, i can just copy them and move forward, but i haven't tweaked anything yet, and all the drums are the same volume blah blah blah.  Is there anyway to import a segment from the arrange window that were created with ultrabeat BACK into ultrabeat?

    No.
    But you haven't lost anything.  Velocities/grid placement can easily be adjuted in the piano roll.  The volume in UB's mixer, as well as any of the voices parameters don't care if UB is running it's sequencer or playing notes from a region.  Unless you are programming step automation ("yellow mode").

  • Re-importing iPhone video back into the iPhone

    Last night I shot a video using my iPhone4. I imported it into iPhoto on my MacBook Pro and deleted it from my iPhone. Now I want it back on my iPhone, but I've tried everything and it won't go back onto my iPhone. Pictures in iPhoto in a sync folder are showing up on my phone, but even though the video is in that folder, it doesn't show up on my phone in Photos. Do videos show up someplace else? I'm confused. Help! Thanks!

    I found another thread that suggests checking the "include videos" in the Photo sync part of iTunes. I'll try that tonight.
    https://discussions.apple.com/message/12992097#12992097

  • Problem in importing XML Data In Acrobat - X

    Hello All,
    I have a LiveCycle form where I am embedding a sample XML into it. (No data connection and no binding). After filling the form when the user clicks the submit button before submitting the XML it removes all the nodes of the sample XML that's embedded to it so that the exported data is encapsulated within the field tag/attribute.
    We can again import the submitted XML back into the form to do some  manual editing.It works fine in Acrobat - 9 Pro. But when I try to  import the submitted XML data back into the form in the Acrobat - X it  shows the error : "Could not load data from Text file".It does not give  any error while importing the sample XML into the form. I am totally  confused. What could be the problem here ?
    LiveCycle version - ES 8.2
    Thanks.
    Bibhu.

    declare @x xml='<?xml version="1.0" encoding="UTF-8"?>
    <Flussi xmlns="http://indennitario.acquirenteunico.it/Semplificato/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Flusso xsi:type="FlussoSI1.1150Type" COD_FLUSSO="1150" COD_SERVIZIO="SI1">
    <IdentificativiRichiesta>
    <CodPratGestore>688628</CodPratGestore>
    </IdentificativiRichiesta>
    </Flusso>
    </Flussi>'
    ;WITH XMLNAMESPACES(default 'http://indennitario.acquirenteunico.it/Semplificato/1.0')
    select p.q.value('@COD_FLUSSO','int'),
    p.q.value('@xsi:type[1]','varchar(100)'),
    p.q.value('@COD_SERVIZIO','varchar(10)'),
    p.q.value('(IdentificativiRichiesta/CodPratGestore)[1]','int')
    from @x.nodes('/Flussi/Flusso')p(q)
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Problems importing XML data into form (Acrobat 8 Pro)

    I created a form in Designer with an email submit button, and now I am receiving XML files by email. I'd like to import these back into the form. But when I open the form and select "import data," I get the following message:
    "This document restricts some Acrobat features to allow for extended eatures in Adobe Reader. To create a copy of the document that is not restricted (and has no extended features in Adobe Reader), click Save a Copy."
    Whether I save it or click cancel, afterwards "import data" is no longer an option. The same thing happens if I try to open the form again in Designer.
    I assume that this is related to having enabled usage rights in Adobe Reader (necessary because the email submit button only works for people who use Microsoft Outlook -- what's up with that?). But dis-enabling these rights for the form doesn't change anything.
    All help appreciated! I'm a novice, so please make it simple.
    Thanks,
    Ted

    If I click "save a copy," then it opens a dialogue box for this. I've been saving this copy under the same name but in a different folder (so as not to screw up my original).
    After saving the file, the "import data" option is no longer available for selection. (Nor is the "Edit Form in Designer" option).
    If I close this and open the newly saved file, then it does give me an "import data" option. But when I try to import an XML file, I always get this error:
    "Xml parsing error: not well-formed (invalid token)(error code 4), line 1, column 5 of file [file path and name]"
    Open for suggestions.
    Thanks,
    Ted

  • Email Button:  Can you import information back into a form?

    I created a form using Live Cycle and included both a print button and an email button. Is there a way to populate the fields back into the form after the form has been filled out and emailed back? If so, how can I go about extracting the information from the email into the form, so I can print it out and file it for my records?

    the email button automatically produces xml
    to email a pdf version do not use the email button
    use a normal button
    for button control type select submit(control types are on the object/field page of the properties for the button )
    when you select the submit control type you will get a new tab in the properites... called "submit"
    click on this tab.. in the "submit to URL" box type the email addres preceeded by mailto: (example
    mailto:[email protected]
    in the submit as drop down list select pdf. when you click the button the pdf copy of the form is created and attached to the generated email , ........

  • 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 XML Data into a Reader Extended PDF

    I'm using designer 9 to create a PDF that will import an XML document on initialization and will use that document to populated multiple dependent dropdown lists.
    That's working fine in preview when I use xfa.datasets.data.mydataset to access the XML document and proceed to manipulate the XML with e4x.
    Now I have the form working correctly in designer preview and I want to reader extend the form and configure the data connection to access the XML file dynamically instead of using the preview data.
    I've tried a few methods of accessing the data via a reader extended form and they have all failed.
    I've tried to call importData("local filename") and access the XML file that way. That appears to fail silently.
    I've also tried to embed the XML in a hidden form field and the XML document length apparently exceeds the max character limit so I can't do that.
    So how can I import the XML document on form initialization either through a) importing the data(ideally through a web URL)  or b) embedding the XML document directly in the form somewhere?  Thanks.

    Hi,
    It's indeed possible to import data in a reader enabled form with Reader.
    Here's a sample:
    LiveCycle Blog: XML per Skript in Adobe Reader importieren//Import XML via Script into Adobe Reader

  • Help! (please :) I have a 1GB iPod that's loaded with music for which my computer can no longer find the original files-due to external mass storage crash during recent move. Is there a way to import iPod music back into my iTunes library on computer???

    Help! (please I have a 1GB iPod that's loaded with music for which my computer can no longer find the original files-due to external mass storage crash during recent move. Is there a way to import iPod music back into my iTunes library on computer???

    Or If there is any purchased music then you can try to transfer purchases
    http://support.apple.com/kb/ht1848
    If you're in the US you can reload purchased music
    http://support.apple.com/kb/ht2519

  • I delete an individual message but the time I received the message is still showing next to the persons name in my inbox instead of going back into the correct date/time order. Anyone know how to fix this?

    I delete an individual message but the time I received the message is still showing next to the persons name in my inbox instead of going back into the correct date/time order. Anyone know how to fix this?

    SOLUTION
    Open "terminal" on your mac and type the following:
    defaults write com.apple.mail IgnoreSortOrderWhenSelectingAfterDelete 1
    (copy and past the whole line)
    This will stop that behaviour in mail. 
    It works on most opperating systems.
    mine is.
    Mac OSx 10.7.2 Lion
    Cheers

  • HT4889 I just transferred data using migration assistant from a macbook prop to a macbook. I am trying to log back into the user that was on the pro but is now on the macbook with the same password as before, and it says my password is incorrect.

    I just transferred data using migration assistant from a macbook pro to a macbook. I am trying to log back into the user that was on the pro but is now on the macbook with the same password as before, and it says my password is incorrect?

    Suggest you try the password for the Macbook, not the previous one.

  • Can i put photos back into the camera chip once they have been imported into my mac?

    Can i put photos back into the camera chip once they have been imported to my Mac?

    Export them
    File -> Export
    to a folder on the desktop. From there copy them back to your camera.
    Remember, the camera has a quite specific set up of folders, and you'll need to put the files back in the correct place for them to be viewable on the camera.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • I have updated iTunes on my computer and my iPod nano 4 is up to date but not all music shows up in my iTunes library..only the purchased songs..what happened and how do I get them back into the library?

    The music library in the updated version of iTunes is grossly incomplete although the music still remains on my iPod. Why did this happen and how do I get the music back into the library?

    Hi Dalegu219,
    Thanks for visiting Apple Support Communities.
    If your iTunes library is on an external hard drive, but iTunes is not recognizing the library, first make sure the right library is selected.
    You can use these steps to make sure iTunes is opening the library on your external drive:
    If iTunes is running, quit iTunes.
    If you're using Windows, hold down the Shift key and from the Start menu, choose All Programs > iTunes > iTunes.
    If you're using a Mac, open iTunes and immediately hold down the Option key.
    You should see one of these screens:
    Pick Choose Library and locate the library on your external hard drive.
    From:
    iTunes: How to open an alternate iTunes Library file or create a new one - Apple Support
    If the right library is selected, but you do not see your songs, try re-creating the library using the instructions found here:
    iTunes: How to re-create your iTunes library and playlists - Apple Support
    Best Regards,
    Jeremy

Maybe you are looking for

  • Date problem in Smart form

    hi  ,   i have to change the date Example  27.10.2010  to  27-oct-2010 , so what is the solution . Moderator Message: FAQ. Please search before posting. Edited by: kishan P on Oct 27, 2010 11:02 AM

  • TS1363 my itunes no longer recongnizes my iphone 5c

    MY Itunes and computer no longer recongnizes my iphone 5c

  • How to install on new hard drive

    I have a macbook pro 13' mid 2012. I just replacedthe internal hard drive and don't know how to install the osx. I tried partitioning the hard drive to have a GUID map scheme but it got stuck on the connecting with disk step (dont remember what its c

  • I can't restore my ipod touch

    I can't restore my ipod touch, it says: error 21

  • HT5085 Movie not showing to other iCloud family members

    Hi A movie I purchased on iTunes is indeed listed in iTunes of other iCloud family members however won't play/download (both the iCloud icon and the "play/triangle" icon show but nothing happens if I click on either). Any advice please? Many thanks F