Importing form data per XML - Using the form interface?
Hi!
I'm developing interactive forms by adobe and I want to import my form data per XML file. The xml file and the email are created by my pdf document.
Now this xml file has to be parsed by a report or something like this.
Is it possible to use the form interface, I implemented, or do I have to parse it manually?
I think it has to work with this interface because it makes the pdf and it "knows" what to import/export.
Am I wrong with my suspicions or can you help me with this problem?
Thanks & greets,
Philip Gillißen
I'm pretty impressed of Adobe and their stuff (I do NOT refer to the community), how helpful they are.
Perhaps I didn't understand the meaning on the offical customer support website, stating:
The best way to contact us...
Ask our experts
Our community and staff are at your service 24/7
Even worst, their is a similar question from 25/09/2013 (http://forums.adobe.com/message/5711946#5711946) and no feedback form Adobe stuff at all.
Great service guys!
Thanks a lot!
Similar Messages
-
How to save form data as XML using Reader XI
Dear all,
I have designed a form using live cycle designer 9 and activated the form extensions using Acrobat X Pro.
The form includes an email send button.
Our clients uses the Reader X and XI.
Using Reader X the pressing of the button will open a dialog box asking the user to send the form/form data using the default email client
OR
one can save the form data as xml file on the local machine and attach it later.
However, using Reader XI there is no such possibility of saving the data as XML. One can just chose between the default email client or another email account.
I tried even a button using javascript xfa.host.exportData("",0); but nothing. In fact the button shows no function at all.
What do I wrong?
Does anybody has a hint please?
Thanks in advance.
gerstiI'm pretty impressed of Adobe and their stuff (I do NOT refer to the community), how helpful they are.
Perhaps I didn't understand the meaning on the offical customer support website, stating:
The best way to contact us...
Ask our experts
Our community and staff are at your service 24/7
Even worst, their is a similar question from 25/09/2013 (http://forums.adobe.com/message/5711946#5711946) and no feedback form Adobe stuff at all.
Great service guys!
Thanks a lot! -
Embedding inline HTML data in XML using the mx:XML tag with <; and >;
What is best practice for embedding HTML within the
<mx:XML> tag? Programmatically, I can implement this
successfully:
[Bindable]
public var xmlDP:XML = <component data="<" />;
However, I get the following error if I try to store the same
data inline in an mx:XML tag, as such:
<mx:XML id="xmlDP">
<component data="<" />
</mx:XML>
Error #1095: XML parser failure: Unterminated attribute.
If I change the MXML tag as follows, it works fine:
<mx:XML id="xmlDP">
<component data="&lt;" />
</mx:XML>
Unfortunately, I also can not source the mx:XML tag to an XML
file which uses < or > codes, as it yields the same
results. This leads me to believe that the <mx:XML> tag does
not support the special character codes for < and >, but why?
Incidentally, this code also gives a 1095 error:
<mx:XML id="xmlDP">
<component data="<" />
</mx:XML>
This is causing an issue with my source data as it is not
hand typed into Flex, and standard XML supports the < and
> codes. I have tried a full HTML string, as shown below,
but this also generates the error:
<mx:XML id="xmlDP">
<component data="<b>Test</b>"
/>
</mx:XML>
Many thanks for any input you may have!I’m generating the XML source file with
Microsoft’s XML Notepad 2007. It will encode invalid special
characters automatically. My understanding is that this is the
proper way to handle the less than symbol in a XML string, that is
to say using the < code.
With respect to the escape and un-escape methods, I am able
to successfully implement these in AS, but not in MXML. This makes
sense considering they are AS methods, but I was hoping to be able
to do something like:
<mx:XML id="xmlDP">
<component data="escape('<');" />
</mx:XML>
This gives the following compilation error:
The value of attribute "data" must not contain the '<'
character.
As does using the escape character as such:
<mx:XML id="xmlDP">
<component data="\<" />
</mx:XML>
Below is an example of what the escape character may be used
for in AS:
var myString:String = "\"";
trace(myString);
// result: "
Likewise, I can escape the < character as such:
var myString:String = escape("<");
trace(myString);
// result: %3C
<mx:XML id="xmlDP">
<component data="%3C" />
</mx:XML>
trace(un-escape(xmlDP.@data));
// result: <
As you can see, using %3C and unescaping in AS will yield the
correct result; however, this is not a practical method of
representing the data in MXML as I would have to write an AS method
to un-escape the XML string anyway, so I might as well just store
the data in AS to begin with. I was hoping for a way to source an
mx:XML object, without having to load it into ActionScript
manually. Here’s an example of the functionality I would
expect:
<mx:XML id="xmlDP">
<component data=">" />
</mx:XML>
trace(xmlDP.@data);
// result: >
Only this does not work for the less than symbol. I’m
assuming at this point that this is a bug in the Flex compiler.
Thanks again for your help troubleshooting this one! -
Creating a test using the form wizard
I need to create a multipart test that will be used for editors applying for jobs. Part of the test will be a multiple choice spelling test, with 20 questions. I created the file in Word and am trying to use the form wizard to create check box fields. It looks like this:
1.
initative
intiative
initiative
enitiative
I want the blanks to the left of each word to be a check box field or a radio button.
When I created the pdf form and saved it, I found that when I checked any one of the boxes, all four check box fields were automatically filled in. I know I'm doing something wrong, but can't figure out what.
Do these forms have to be created in one session? Or can I save the form, close it and then contune editing the form fields later?
I am using Acrobat Pro 9.5
Any advice anyone can provide would be appreciated.
Thanks.
dgI have gotten the hang of creating check boxes and radio buttons so that they behave the way I need them to behave. Thanks for the help on that.
I create these tests 2X per year and each test is to be used at least 500 times.
Here's my next apparent dilemma: I am creating this test in Acrobat Pro 9.5. The test takers are in three different cities in India. They use Reader X.
When I "distributed" a test of the only section I have completed to myself I discovered all of the distribution mechanisms (saving to a network folder, distributing via email, etc.). All of these options are far too complicated for my users.
Isn't there a way to create a form in Pro 9.5 that can just be saved with Reader X enabled so that anyone who opens the file in Reader X can just "save as" and have their filled-in data saved? I must emphasize that the saving process must be as simple as possible.
I need to keep this as simple as possible because I distribute these tests once and they are used over and over and the completed tests are collected by HR people who are not tech savvy at all. They are emailed to me from the three diffferent locations.
Previously I used Word but frankly there were two many ways people could cheat: That's why I want to switch to Acrobat forms. But this is looking like it's not going to work.
Perhaps I am missing something?
dg -
Hi all,
My client would like to dynamic images up to 200 pictures to my forms. It is working fine. However, when I add images up to 35 images. I could not add images to the form any more. Then, I save data on the form. All images and data typed on the form are disappeared. I don't know reason.
If I only add 10 images - I can save data and images on the form. The size of pdf is 15456 kb. I was unable to add more pictures or data on the form.
Maybe there are problem the size of pdf? How much size can an dynamic pdf limited?
Can we save the information and images as much as we want?
I have spent 2 weeks to work and try to figure out this problem. However it is not successful.
Please help,
CindyYou should ensure, that your users do not import big images.
Therefore you can use a script on the change event of an image field which checks the data size and warns the user if the file is too big.
function formatNumber(number) {
var num = number + '',
x = num.split('.'),
x1 = x[0],
x2 = x.length > 1 ? '.' + x[1] : '',
rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, '$1' + ',' + '$2');
return x1 + x2 + "KB";
var sizeLimit = 200, //allow upto 200KB images
thisSize = Math.round((this.value.oneOfChild.value.length * 3 / 4) / 1024);
if (sizeLimit > 0) {
if (thisSize > sizeLimit) {
xfa.host.messageBox("Note: With " + formatNumber(thisSize) + " the size of the imported image is greater that the recommended maximum of " + formatNumber(sizeLimit) + ".\nLarge images can cause a insufficent performance.\n\nIf possible, use images with the following recommended specs:\nFormat:\t\tPNG or JPG\nColor depth:\t8 Bit (higher is not supported)\nColor space:\tRGB (CMYK is not supported)\nFile Size:\t\t" + formatNumber(sizeLimit), "Recommended image size exceeded", 3, 0); -
I’m in the early stages of creating a spreadsheet that will require data entry into the worksheet. The worksheet could get to 1000s of rows, depending on the particular user.
When I refer to the ‘Form Command’ I’m referring to the option of adding a Quick Access Tool bar button by selecting ‘more commands’, ‘all commands’, ‘Form…’
My questions/concerns would be relating to ‘should I develop this spreadsheet with the Form Command or a User Form in VBA?
Concerns/Questions:
Deployment to other users
Protecting worksheet cells so the user can only add records using the form command or the user form in vba. In other words, don’t allow users to edit cells that are not within the table structure of the sheet or add rows if they’re not using the form
Data validation when entering data…
Keith
Keith AulHi,
Both variants have pro's and cons. If you plan to use VBA you have to consider the deployment settings on other p.c.'s where you have to allow macro's where as a regular form doesn't have the need for that.
That said the userform gives you much more control because the form command is not saved. it is simply a temporary form which you have to setup every time. It's perfect for data entry. If you are looking for data validation the userform is the one to go
for. You also have the possibility to work on placements of the data entry.
So if you are looking for speed and simplicity then go for the form command. If it is handling control you are after I'd go for a userform.
Just my 2 cts
Maurice
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Thank You -
How can I add check boxes without using the form widget?
I would like to use check boxes for our facets for our search engine. You can see an example below. Is there anyway to do this without using the form widget?
PJM - Site UpdatesIt is not possible to accomplish this with the Muse's Form Widgets. You may need to look for other online solutions and fetch the source code and add to the Muse page using the Insert HTML feature.
Cheers,
Vikas -
How to make changes to .fmx file using the form builder
Hi all
I have a .fmx form in the AR_TOP directory of the Oracle E-business suite.Now I need to make some changes to the form and compile it and place it back .But the .fmx file didnot open using the form builder 6i .So is there any way that i can convert the .fmx to .fmb so that I can open the form using the Form builder 6i??
I have the toad s/w installed but I dont know how to open the form using the Toad.
ThanksI have a .fmx formYou cannot open a fmx-file with any developer tool. To make changes to the source-code you need the fmb-file and open it witj Forms-builder
AR_TOP -directory of the Oracle E-business suiteBe careful when changing source-code in the ebusiness-suite. If its a module from oracle i don't if its supported if you do changes in it.
I have the toad s/w installed but I dont know how to open the form using the Toad.Toad is definitely the wrong tool for forms-modules. -
To use the form variables in a workflow
How can we use the form variables in the workflow..How will we refer the variables?Simply referring by name not working.
hi,
you can use the form variable by define the field name like this in ur form:-
<Field name=':variables.fieldVariableName'>
<Display class='Label'>
<Property name='title' value='XYZ'/>
</Display>
</Field>
and u can access this variabe simply
<ref>fieldVariableName<ref>
in ur workflow.
thanx
shant -
Hello. Can I still use the forms central to modify my pdf.-files after the software is not supported by adope?
Formscentral isn't designed to allow for the modification of PDF files, forms or otherwise. If you have saved forms created in Formscentral as PDF you will continue to be able to modify them in a program like Acrobat. Hope this helps.
Andrew -
HTML form Date field - what's the best way to capture it on the backend?
Hi,
What would be a good way to capture a text field that contains a date string?
In my app I have a page with several text fields, that are populated by a calendar pop-up. On the server side I can capture them into a java.util.Date object, but Date is dperecated.
Should I still use Date or is there a better way?
I intend to use the date as part of an SQL query.
Thanks.The class java.util.Date is not itself deprecated, however several of its methods are.
For converting string -> date, you should use the class java.text.SimpleDateFormat. That allows you to specify format strings such as MM-dd-yyyy hh:mm:ss for converting date -> string -> date.
If you are wanting to set day/month/year on the date object directly, instead of the Date methods setDay, setMonth, setYear, you should instead use the java.util.Calender class:
calendar.set(Calendar.MONTH, 4);
The calendar can then be converted to a Date object by calling calendar.getTime().
If you are going to use the date as part of a sql query, I would recommend using a Prepared statement, and the java.sql.Date/java.sql.Timestamp class as well.
To convert from java.util.Date to java.sql.Date)
jva.util.Date utilDate = Calendar.getInstance().getTime();
java.sql.Date sqlDate = new java.sql.Date(utilDate.getTime());cheers,
evnafets -
Importing BusinessPartners Data via XML
Greetings,
I've got a problem on importing BusinessPartners data via XML. I exported an BusinessPartners object by using the GetBusinessObject and SaveXML methods and I now want to use this XML file to create a new BusinessPartners object.
<i>Dim vCmp As SAPbobsCOM.Company
'settings & connect...
vCmp.XmlExportType = BoXmlExportTypes.xet_ValidNodesOnly
'or vCmp.XmlExportType = BoXmlExportTypes.xet_ExportImportMode
Dim vBPSave As SAPbobsCOM.BusinessPartners
vBPSave = vCmp.GetBusinessObjectFromXML("C:\object.xml", 0)
...</i>
Error is like this:
<i>Exception Details: System.Runtime.InteropServices.COMException: <ErrorList><Error>System Id = 361754288, Line Number = 1, Column Number = 79, Description = The namespace of element 'schema' must be from the schema namespace.</Error><Error>System Id = 361754288, Line Number = 1, Column Number = 99, ...</i>
Can anyone tell me what the problem is? Is there any other propertis I need to set?I found where the problem was.
This line should be used before create the XML file:
<i>vCmp.XmlExportType = BoXmlExportTypes.xet_ExportImportMode</i> -
How to open a page from a Form and pass parameters to the form on that page
I found a similar example on this forum, but it did not work for me:
declare
l_names owa.vc_arr;
l_values owa.vc_arr;
i number;
begin
PORTAL.wwpro_api_parameters.retrieve(l_names, l_values);
FOR i in 1..l_names.count
LOOP
htp.p(l_names(i) || ' ' || l_values(i));
END LOOP;
end;
By using this method i get the parameters for the Form, like the session ID, but not the parameters for the Page that the form is displayed in.
Another method I tried:
To open a Form from a Form and pass parameters works fine like this:
--In the After processing page PL/SQL event.
declare
v_id number;
blk varchar2(10):='DEFAULT';
Begin
v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
if v_id > 0 then
htp.formOpen('PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=2649500412&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=ID&p_arg_values='||to_char(v_id),'post');
htp.formSubmit(NULL,'Upload Files');
htp.formClose;
end if;
End;
But I want to open a Page containing the Form instead of just opening the Form. Is this possible to open a Page and pass paramters to the page, and then let the form inside the Page access the passed paramters. The reason for this is that a Form cannot be based on a page template, or can it? When opening the form i want to keep the left menu, which I can if it is a page based on my template with the left menu.
Best regards
HalvorHi,
You can do this by calling the url of the page with the form. You can then use p_arg_names and p_arg_values to pass parameters. In the called form you can get the value from p_arg_names and p_arg_values and assign it to the form field.
You can call this code in the success procedure of the calling form.
declare
v_id number;
blk varchar2(10):='DEFAULT';
v_url varchar2(2000);
Begin
v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
v_url := <page_url>;
if v_id > 0 then
call(v_url||'&p_arg_names=id&p_arg_values='||v_id);
end if;
End;
In the called form in "Before displaying form" plsql section write this code.
for i in 1..p_arg_names.count loop
if p_arg_names(i) = 'id' then
p_session.set_value(
p_block_name => blk,
p_attribute_name => 'A_ID',
p_value => p_arg_values(i)
end if;
end loop;
This code picks up the value from p_arg_values and assigns it to the form field.
Hope that helps.
Thanks,
Sharmila -
Is there any way to export IT Resource data from OIM using the export tool?
Hello,
we are trying to migrate an OIM development environment to a preproduction environment and we need to migrate more than 400 IT Resources. We have exported some IT Resources and when we imported them in the preproduction environment their data was not migrated. Is there any way to export IT Resource data from OIM using the export tool? Or is there any other way to do this without doing it by hand?
Thank you for your help
Kind RegardsWell , OIM doesnot provide any such facility to export ITResource data along with ITResource .
Directly updating the DB could be an option ..
Thanks -
How to write static Data in xml using XStream
Hi All,
I have a swing desktop application.
In this ProposalData class contains all the input value of the application.
I want to write proposal data to XML using XStream.
Below I attached the part of code which responsible for create xml.
But it is written all the non static data to the xml not the static data.
public class ReadWriteXml {
static ProposalData proposalData = new ProposalData();
static XStream xstream = new XStream(new DomDriver()); // does not require XPP3 library
FileWriter fileWriter = null;
FileReader fileReader = null;
public void writeXMLFile(String fileName)throws IOException{
try{
fileWriter = new FileWriter(fileName);
proposalData = VPProposalApp.getApplication().getInstances().updateData();
xstream.toXML(proposalData, fileWriter);
} catch (Exception e) {
System.out.println("IOException : "+e);
}Can any body help me to write the satac data in xml using Xstream.
Please help me.
Thanks in Advance
AnandaNote: This thread was originally posted in the Swing forum, but moved to this forum for closer topic alignment.
Maybe you are looking for
-
Error running XML Publisher report
Hi, I am running a XML publisher report using xml file as the data source. The output format of the report is a PDF format. When I am running the report in a field change event or through an application engine, for both the things I am getting the fo
-
Itunes was unable to load data provider from sync services! Please help!
Whenever I try to sync my ipod to my computer it always says "itunes was unable to load data provider for sync services" and I have no idea what to do. People have said that you change the sync services folder to sync services_old but I dont have a s
-
When I look for 3.6.6 or only the 4.0 upgrade comes up. I thought I could downgrade.
-
Why does my iPod Touch stop recording videos when it says low battery
OK I would record a long video, about 20 minutes to be approximate. In the middle of my recording, my iPod tells me my battery is low - I have 20% of battery left. But when the message shows up, it stops recording my video and shows a closed lens on
-
How to change "MaxThreadCount" parameter in XI
Hi Experts, As per the SAP note 821267, we want to increase the "MaxThreadCount".But I do not know how to open "SAP J2EE Engine Config Tool".Can anyone help me with the steps.Please let me know how to open the Visual Adminn as well. Also, kindly let