I'm trying to create a data connection to a XML file, but the dialog box for "New Data Connection..." has the options for "XML Schema" and "XML Data File" grayed out so that I can only choose "OLEDB Database" or "WSDL File." Can anyone tell me why, or what I need to do to fix that?
I've created a form that needs to import a few data values when opened in Acrobat. Right now, I can get the values by using the "Import data.." command and browsing for the XML file, but I do not want the end user having to browse for the data. I would like the data to import either 1) When the PDF opens or 2) when the user pushes a "import data" button.
I would greatly appreciate any input or suggestions!
typically they are greyed out if there is already a schema (XSD) connection or a sample data file in place. You cannot bind to more than one schema.
You will have to have th euser hit the import button to get it to import data...you cannot do an unattended operation for this. You can use the xfa.host.importData() command on th eclick event of the button.
When I look at my security settings, the "Changing the Document" setting and "Document Assembly" setting are set to Not Allowed, but I can't seem to change them. I already set the preference to No Security. Any suggestions?
You cannot automatically import the data unless you certify the form (security will not allow it), but if you leave the command as I had it, a dialog will come up and allow the user to choose the file they want to load.