Reading the form as XML, using WDJ
Hello.
I'm using WD for Java and ZCI layout.
I've seen this thread-
Re: Data in dynamic table not pass to webdynpro java
about getting data from tables in the form by reading the form's XML data.
I tried to search for a method to get the XML in IWDInteractiveForm, and other classes, but I didn't find anything.
So how can I get the form's XML when the user clicks Submit?
Best regards,
Arik.
Hi Kathy
After loading a form over XML, we made the experince that in matrices link buttons will not appear everwehere they should. It's a tricky part and we made a work around by changing the columns order and then...the Link Buttons came up ok.
regards
Kurt
Similar Messages
-
I have had my apple tv 2 for about 3 months which work perfectly fine when I use it with my iPad 3 ー all of the sudden I get the HDCP Error! I read the forms and done everything! Apple I name a loyal customer, please come out with an update soon!
That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it... -
Merge LiveCycle Form with XML using JAVA
Hello.
I am trying to find out how to merge non-interactive form with XML (using JAVA) so the users can see the final output form with the data filled in.
What are my choices..?
So far, I have created the interactive forms as template using LiveCycle 8 and wrote ASP.NET code to extract data and store it in SQL database when the user fill out and submit the form.
It works great but another agency wants to access the form as well.
They told us that they will create the XML themselves from the database, so they just need to combine the form with XML to display it (non-interactive form).
They want to use JAVA but I am not sure how to do that...
Any suggestion?Assuming that you start with XML in an org.w3c.dom.Document that stores the XML data. Before you can merge it into a form, you have to convert it to a com.adobe.idp.Document object. TO convert a org.w3c.dom.Document to a com.adobe.idp.Document object -- use the following Java code:
private Document convertDataSource(org.w3c.dom.Document myDOM)
byte[] mybytes = null;
try
//Create a Java Transformer object
TransformerFactory transFact = TransformerFactory.newInstance();
Transformer transForm = transFact.newTransformer();
//Create a Java ByteArrayOutputStream object
ByteArrayOutputStream myOutStream = new ByteArrayOutputStream();
//Create a Java Source object
javax.xml.transform.dom.DOMSource myInput = new DOMSource(myDOM);
//Create a Java Result object
javax.xml.transform.stream.StreamResult myOutput = new StreamResult(myOutStream);
//Populate the Java ByteArrayOutputStream object
transForm.transform(myInput,myOutput);
// Get the size of the ByteArrayOutputStream buffer
int myByteSize = myOutStream.size();
//Allocate myByteSize to the byte array
mybytes = new byte[myByteSize];
//Copy the content to the byte array
mybytes = myOutStream.toByteArray();
catch (Exception e) {
System.out.println("The following exception occurred: "+e.getMessage());
//Create a com.adobe.idp.Document object and copy the
//contents of the byte array
Document myDocument = new Document(mybytes);
return myDocument;
THen you can merge myDocument into the Form using renderPDFFOrm:
FormsResult formOut = formsClient.renderPDFForm(
formName, //formQuery
myDocument, //inDataDoc
pdfFormRenderSpec, //PDFFormRenderSpec
uriValues, //urlSpec
fileAttachments //attachments
Hope this helps! -
How to retrive DesktopIntellegence report data from FRS in the form of XML?
Hi,
I read in the document, all the Business Objects reports either deski or webi are stored in FRS system in the form of XML
How can I get the Business Objects reports data (Deski reports)from the File repository system (FRS) in the form of XML.
I need this file to use in the portlets.
Could some one please share the information.
pforum.Hi Harika,
Webservices is best way to go inorder the fetch the data from CRM system, ofcoz it comes out in XML format.
http://esworkplace.sap.com
You will info abt this http://www.sdn.sap.com/irj/bpx/esworkplace
There must a suitable webservice given for each of the below. Browse through esworkplace.
- Customer data
- Product data
- Promotions data
- Campaign data
webservice can easily be tested in WSNAVIGATOR of ESR in SE80.
Hope the above hints gives you a way forward.
Chees, Satish -
How to read the contents of XML file from my java code
All,
I created an rtf report for one of my EBS reports. Now I want to email this report to several people. Using Tim's blog I implemented the email part. I am sending emails to myself based on the USERID logic.
However I want to email to different people other then me. My email addresses are in the XML file.
From the java program which sends the email, how can I read the fields from XML file. If any one has done this, Please point me to the right examples.
Please let me know if there are any exmaples/BLOG's which explain how to do this(basically read the contents of XML file in the Java program).
Thank You,
PadmaIke,
Do you have a sample. I am searched so much in this forum for samples. I looked on SAX Parser. I did not find any samples.
Please help me.
Thank you for your posting.
Padma. -
Reading the data from XML Source
Hi
i want to read the data from XML source file, and update the transaction information to another XML file. how we can do this in ADF, please help
Thanks
nidhiyou may use normal Java API to do that
http://www.javablogging.com/read-and-write-xml/ -
Problem in reading the form parameter.
Hi All,
I have made a HTML with Following Tag
<form name="uploadForm" action="upload.jsp" enctype="multipart/form-data" method="post">
as i made the enctype="multipart/form-data" i am not able to read the Form parameter that i got in the File tag of the HTML page.
Task is to :
Upload 4 images from the HTML page and the uploading Code is present in the JSP that has to read the File name and Upload the Images.
While making request.getParameter("File1");
Dosen't work here.
can Any one provide the Solution for that.
regardsHello Ankur,
If you make a 'where used list' on this function, you will see that this parameter is never used in the standard. You will always see something like :
CALL FUNCTION 'CRM_SCHEDLIN_CONVERT_TZTF_IO'
EXPORTING
IV_FROM_TIME = LS_SCHEDLIN_WRK-FROM_TIME
IV_FROM_TIMEZONE = LS_SCHEDLIN_WRK-FROM_TIMEZONE
IV_TO_TIME = LS_SCHEDLIN_WRK-TO_TIME
IV_TO_TIMEZONE = LS_SCHEDLIN_WRK-TO_TIMEZONE
IMPORTING
EV_FROM_IO = LS_SCHEDLIN_WRK-FROM_TIME_IO
EV_TO_IO = LS_SCHEDLIN_WRK-TO_TIME_IO.
So I think you can do the same.
Regards,
Frédéric -
Get the form module version using JDAPI program
Hi
I have one problem to find the verison of form module using java (JDAPI) programming.
To the JDAPI program i am just passing the form name. by reading the form it has to say the form version.
Is there any method to get this...
Thanks in advance.
MadhavaI solved my problem...
first of all.
Versioning was enabled for the folder but apparently it didnt work so i disabled it and enabled it again. Then I got the correct reource instead of null.
second thing
later in mycode I used this to get the path of the resource
resource.getRID().getPath();
but this gives the path to where the version of the document can be found... something like /documents/~System/xx/xxxxx/xxxx
where x is numbers
after doing a little debugging I found out that
resource.getAccessRID().getPath()
returns the path to where in CM the resource is stored.
I hope My experience here can help others.
I am glad that I solved my problem, but I find it extremely worrying that some settings in CM apparently stops working without any apparent reason.
We have experienced this with other properties like Manual Ordering, Approval process, have any one else had these problems and found the cause then I would like to hear about it -
I have written a binary file with a specific header format in LABVIEW 8.6 and tried to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?
I can think of two possible stumbling blocks:
What are your 8.6 options for "byte order" and "prepend array or string size"?
Overall, many file IO functions have changed with LabVIEW 8.0, so there might not be an exact 1:1 code conversion. You might need to make some modifications. For example, in 7.1, you should use "write file", the "binary file VIs" are special purpose (I16 or SGL). What is your data type?
LabVIEW Champion . Do more with less code and in less time . -
How to obtain data from SAP in the form of XML
Hi
We have a requirement to integrate SAP CRM server with 3rd party utility.
The 3rd party utility needs SAP Data in the form of XML.
please guide me in getting the following data in the form of XML;
XML formats for:
- Customer data
- Product data
- Promotions data
- Campaign data
etc.... if any more data required from SAP server.
Kind regards,
HarikaHi Harika,
Webservices is best way to go inorder the fetch the data from CRM system, ofcoz it comes out in XML format.
http://esworkplace.sap.com
You will info abt this http://www.sdn.sap.com/irj/bpx/esworkplace
There must a suitable webservice given for each of the below. Browse through esworkplace.
- Customer data
- Product data
- Promotions data
- Campaign data
webservice can easily be tested in WSNAVIGATOR of ESR in SE80.
Hope the above hints gives you a way forward.
Chees, Satish -
I plugged my 4th generation iPod touch into my computer and when iTunes popped up, there was a notice that read, "The iPod cannot be used because the Apple Mobile Device is not started". What does this mean and what do I do?
Type "Apple Mobile Device Service" into the search bar at the top of the page by Support and read the help article.
-
I was sent a lengthy pdf form that required me to enter data onto it. The sentences appeared compressed on my screen, but I could see everything that I entered. Next emailed it to my boss and when he opened it on his Windows 7 with Word, all of the data that I had entered appeared lost. It was as if I hadn't entered anything on the form. So I asked him to send it back to me. He did and when I opened it on my Mac Book Air, all of the information that I had filled in was there on my screen.
This went back and forth a few times, but the result was always the same. I have been requested to complete the form on a Windows based computer, which will take me hours. Any ideas what causes this problem and how to fix it?What has this to do with Pages? You probably did this in Preview.
Peter -
How to read the attributes of XML file
Hi this is ant,
I am new to java, XML, I have a senario
1) I have to read all the href attributes for topicref child, and then read the corresponding xml file which is mapped in href="".
First.xml
<map>
<topicref nav="garage" href="task/gar/view.xml" class="..">
<linktext class="_map/linktext">Garage</linktext>
<topicref nav="" href="task/gar/change.xml" ..>
<linktext class="_map/linktext">Garage</linktext>
</topicref>
</linktext>
</topicref>
</map>
2) task/gar/view.xml file , has id attribute & need to get the id values.
Like this I have to get the id values for all the href attributes of first xml & read correspoding id values.
I have just read some doc using XPATH we can do, please help me.
Thanks.
anto* Try this Link, there is solution
http://forums.sun.com/thread.jspa?messageID=9665228
Can...Can...If we try...! -
Flilter webpart to read the data from XML template
Hi
Is there any out of the box webpart to read data from xml file for filtering in sharepoint 2010.
The filter dialog look like following functionality and allow to select only one value.
.Paretn1
chiild1
child2
.Parent2
child1
child2
ThanksHi,
According to your post, my understanding is that you wanted to read data from xml file with the out of the box web part.
There is no out of the box web part for us to read the data from the xml file in SharePoint 2010.
However, you can create your own custom web part to achieve it.
There are some articles about the read the xml file, you can have a look at them.
http://mosshowto.blogspot.com/2008/10/simplify-xpath-use-c-class.html
http://social.technet.microsoft.com/Forums/en-US/6ae03f7a-23fe-4361-9e4f-d82bd3802ebf/how-to-read-data-from-an-xml-file-in-sharepoint-2010s?forum=sharepointgeneralprevious
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
How read the PDF and XML files after Unzipping the folder
Hi Gurus,
I have a zipped folder and i this two types of files .XML and .PDF files.
I am able to unzip the folder and reading the .XML files, unable to read the PDF files.
I want to send this PDF file to the target as it is.
Please help me.
Regards
SreeniHi,
Hi ,
Plse see the below thread
PI 7.1 : Taking a input PDF file and mapping it to a hexBinary attribute
It will help you.
You can write custom adapter modules:
Java Mappingh;
SAP Conversion agent:
http://www.riyaz.net/blog/parsing-pdf-files-using-sap-conversion-agent-part-i/technology/sap/628/
http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm
Maybe you are looking for
-
Cannot reload backup after hard drive failure
Hard drive failed. Managed to get data backed up off it onto DVD-R. Now have new hard drive with XP loaded. Have reloaded Ipod and all software including latest updater and version of Itunes. Itunes does not recognise the disc when it is inserted, so
-
Problem Receiving Digital and Analog Channels- 22LV610U
I have a LCD/DVD combo TV model 22LV610U and had satellite tv for over a year and the tv worked great! After shutting off the satellite, I wanted to only receive the local channels via antenna. I bought a new RadioShack Indoor TV antenna ( to receive
-
Bind varibles,reports,dblink and view based on joins
Created a report in portal with sql code (<oracle> tag) which fetches data from remoted db on 7.3.4.5 thru db link.. But when i run report it says 0 rows found..seems bind varibles r not getting bounded.. Db link is active. Same query works fine in s
-
How do i build a digital clock in multisim
I need help. I am trying to build a digital clock in multisim. I know some things but not what I need to know. Originally this project was supposed to be a full 12 hour format with minutes and seconds but the instructor decided to make it just the h
-
I can't import pictures, worked fine every other time but today
when trying to import i get a message saying can't read 857..... i tried shutting off computer and erased and tried 3 times. Haven't ever had a problem importing before