Getting xml as a output
Hi All,
I have Adobe Livecycle designer 7.1 and adobe extension server installed in my pc. my question is by using adobe livecycle designer and extension how to get xml file in adobe reader on button click. Kindly suggest me. Thanks in Advance.
Thanks & Regards
Ganesh
Moving this discussion to the LiveCycle Designer forum.
Similar Messages
-
I'm using Oracle BI Publisher 11.1.1.3.0 and I've created a Dataset with several parameters. (6 to be precise) I'm using the "Get XML Output" button to generate my sample data...
Without the parameters all is good... but when I add parameters... the parameters line up from left to right three of my parameters "disappears" to the right and even more importantly the "Run" & "Return" buttons disappear and I cannot access them.
I feel like I'm missing something simple... but I just can't find it. How can I get those parameters to line up some other way?
(Let me specify once again that I am ONLY in the Dataset area, not the report area)
Thanks in advanceLook... this seems like a serious problem...
I cannot generate the sample data when I add more than 3 parameters (Type Menu with a LOV) ....
I cannot generate sample data, the parameters do not appear on the report...
The Run button is off screen and there are no scroll bars...
I am in the data model area only... NOT the report are and I have NO way of seeing the parameters that are off screen or even accessing the Run & Return button or the "Save sample data"
What is going on? -
Getting Xml tag values based on procedure in parameter
Hi,
I have an XML file like bellow
<college>
<studenthistory>
<sno>100</sno>
<sname>jeff</sname>
<sdept>comp</sdept>
</studenthistory>
<studenthistory>
<sno>200</sno>
<sname>kelly</sname>
<sdept>physics</sdept>
</studenthistory>
</college>
i am writing a procedure like bellow
create or replace procedure p_test(studendtno number)as
val1 varcahr2(200);
val1 varcahr2(200);
xml_file sys.xmltype;
begin
xml_file:= XMLType(bfilename(testdirectory, 'test.xml'),
nls_charset_id('AL32UTF8'));
end;
i am able to get xml file from rempote to xml_file variable...
Now what i want is if i send 100 as in parameter just i want 100 related ename,edept values ,if i send 200 as in parameter i want 200 related values ename,edept.
output
val1 val2
jeff comp
kelly physics
Thanks
satya
Message was edited by:
satya81
Message was edited by:
satya81
Message was edited by:
satya81
Message was edited by:
satya81How about something like
SQL> create or replace procedure p_test (studendtno number, cur out sys_refcursor)
as
begin
open cur for
with xml_tab as
(select xmltype
('<college>
<studenthistory>
<sno>100</sno>
<sname>jeff</sname>
<sdept>comp</sdept>
</studenthistory>
<studenthistory>
<sno>200</sno>
<sname>kelly</sname>
<sdept>physics</sdept>
</studenthistory>
</college>') xml
from dual)
select t.column_value.extract ('studenthistory/sname/text()').getstringval() sname,
t.column_value.extract ('studenthistory/sdept/text()').getstringval() sdept
from xml_tab x,
table (xmlsequence (x.xml.extract ('college/studenthistory'))) t
where t.column_value.extract ('studenthistory/sno/text()').getnumberval() = studendtno;
end p_test;
Procedure created.
SQL> var cur refcursor
SQL> exec p_test(100,:cur)
PL/SQL procedure successfully completed.
SQL> print cur
SNAME SDEPT
jeff comp
1 row selected. -
I create a Data Model and Save it When i click on Get XML output the data it shows a blank page XML data is not displayed and later when i try to create a Report based on existing DM it gives a message...NO Sample data is saved for the existing DM.... Can anyone help?
From 11g
When you created data model and view xml you gave drow down option on the right top saying
Export xml
Save as sample data
Get data engine log.
Once you completed creating daramodel and view xml please click that option save as sample data . The xml which you viewed will be saved as sample xml file for that data model.
It is must if you want ti upload a template to created data model.
It is a one time job that we need to do whenever we create a new datamodel.
for reference u can check the below link.
Viewing the XML Output and Saving the Sample Data
1 You may have observed that In the current version of the BI Publisher, you can preview the XML data for the data model.
Click the XML icon (found at the right top corner of the page), to see the XML output for the data model you defined in previous topic.
Select All for the number of rows, and click Run to see the XML data output for all the departments:
( A portion of the XML data is displayed here in the screen)
2 .To save this as sample data, click the Open Menu drop-down list icon, and select Save as Sample Data.
You can see that the sample.xml is listed in the Sample Data section of the Data Model ( as shown below):
Note: It is very important to save sample data for a data model, else when creating Layouts, the previews do not appear correctly.
http://st-curriculum.oracle.com/obe/fmw/bi/bip/bip11g/gettingstarted/gettingstarted.htm
Assign me some points if helpful. -
I need to get SSIS Data profiler output in Excel.
Hi,
I need to get SSIS Data profiler output in Excel. Tried importing XML generated by SSIS Profiler in Excel but data is getting lost. Can anybody please help on this.
Thanks,
ManojHi Manoj,
The Data Profiling task outputs the selected profiles into XML file. We can specify the result to any extensions of file, the generated file is valid for the built-in Profile Viewer but invalid for other file viewer applications. So when we specify the output
to Excel file, we can export the excel file and make analyzing without any problems through the Profile Viewer. But when we use Microsoft Excel open it, it says ‘The file format and extension of’’ don’t match’, then it needs us select one option to open the
XML file. So we cannot directly export Data Profiling task outputs to Excel file.
If we still want to export Data profiling task outputs to Excel, we can use the XML Source to extract data from the generated XML file, and then export it to Excel destination in a Data Flow Task.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Getting xml tags for PO releases.
I need some help in getting xml tags for PO releases.
When I refer metalink they gave me the following for Std PO.
Create a new Standard Purchase Order and DO NOT approve it. Let it be in Incomplete status. Go to
concurrent requests and run the 'PO Output for Communication' concurrent
program will the following parameters:
Print Selection: All
Purchase Order Number From: The PO # you just created
To: The PO # you just created
Test: Debug
May I know for PO releases what are additional parameters.I tried to enter release numbers in addition to the above.Bit it did not work,..
I am having issue in getting buyer contact phone for PO releases.So I am trying to see if the work_tele_phone is available for Po releases xml tags.
Can anyone please advise
prasambTo get the tag name, you can use the following XSL stylesheet:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="node()">
<xsl:value-of select="name()"/> <xsl:text> </xsl:text>
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet> -
Xpath and Get XML Document Data
Good Morning,
I have just recently gotten involved in a project that requires communicating with some web services (axis2). We have existing scripts that handle this already, but they were built when we weren't on axis2 so now the XML output from the web service call is slightly different and i am no longer able to use the same xpath statement in the Get XML Document Data step.
I am receiving either null values or a prefix namespace error. I am new to xpath and have been reading as best i can from http://www.w3schools.com/xpath/ to try and understand how to write my statements to pull out the data i want correctly.
I have read that sometimes the editor has problems if the XML contains namespace declarations, etc.
Below is an example XML output where I'd like to be able to read the value in the ax211:success. My xpath gets prefix namespace errors as it doesn't recognize ax211.
Xpath: /descendant::ns:validateCertificationResponse/child::ns:return/child::ax211:success
Perhaps my xpath statement is just incorrect and wouldn't retrieve what i expect it to....
Any advice is appreciated.
Thanks,
KevinHi,
well, it appears that text() is automatically appended to the XPath query for some reason in UCCX, this is why you actually see the text node within the ax211:success element. This //*[local-name()="success"] select the whole node, not its first child (which is actually the first element, which also happens to be a text).
Anyway,
// - anywhere
* - any node
And within this "everything" you actually search with the condition within the angular brackets.
G. -
How to open a form from Oracle XML Report .xls Output?
Hi All,
We have a requirement wherein we have one complex SQL query, requirement is to fetch the data from that query and show it to the user. So far, so good. We can either create a report thru' UTL file to show the output to the user or can create a XML report whose output can be in the excel format.
Now user wants to have a hyperlink i.e. when he clicks the BSA (Blanket Sales Agreement) from the report output, it should be able to route him to BSA screen (oracle form), so that he can directly correct the issue with that corresponding BSA on which he clicked.
i.e. requirement is to create a a hyperlink from report output which will route the user to that oracle form with the BSA queried.
Not sure how can we implement this. If anybody has come across this type of requirement, please share your ideas and the approach used so as to accomplish this. Any inputs on this will be highly appreciated.
Cheers!
-SumirHello Sumir,
we create reports in an XML format using http://matzberger.de/oracle/spreadsheet-en.html.
Within these files you can create hyperlinks to a forms application like
http://<applicationserver>/forms/frmservlet?config=xy&p_autoinit_module=ab&p_autoinit_arg=123
With these parameters we call a default forms module (welcome screen) and then start module ab and execute a query for 123. The user then can directly access the data he needs.
Regards
Marcus -
Get('XML') doesn't work, but get() does in javascript - CASCADING LOVs
I'm trying to get cascading LOVs working in Apex 3.1.0 in Oracle 11g. When I call get.get('XML') it returns null in firefox and empty string in IE6. If I change it to call get.get() then it returns the XML as a string into Javascript.
The Application process is getting called in both scenarios as i've put PL/SQL logging to disk in order to prove it. The XML being returned is very basic so i'm sure it's not a problem with formatting. I'm not getting any exceptions thrown in javascript either.
Is it possible to use get.get() and then convert the text into an XML object which is returned as per get.get('XML') which at least will allow me to get something working ?
thanks
<script language="JavaScript" type="text/javascript">
function getBusinessFieldJS(pThis, pSelect)
alert('getBusinessFieldJS');
try
var l_Return = null;
var l_Select = html_GetElement(pSelect);
var get = new htmldb_Get(null, html_GetElement('pFlowId').value, 'APPLICATION_PROCESS=GET_DATA_FIELDS_XML', 0);
/*get.add('F120_GETBUSINESSFIELD_ITEM',pThis.value);*/
gReturn = get.get('XML');
alert('gReturn=' + gReturn);
alert('gReturn.value=' + gReturn.value);
if (gReturn == null)
alert('gReturn is null');
if(gReturn && l_Select)
var l_Count = gReturn.getElementsByTagName("option").length;
alert('l_count='+l_Count);
l_Select.length = 0;
for(var i=0;i<l_Count;i++)
var l_Opt_Xml = gReturn.getElementsByTagName("option")+;+
+ appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),+
+ l_Opt_Xml.firstChild.nodeValue)+
+ }+
+ }+
+
get = null;+
+ }+
+ catch (e)+
+ {+
+ alert('Exception : ' + e);+
+
}+
+}+Hi,
I've been trying to replicate your problem here: [http://apex.oracle.com/pls/otn/f?p=37055:1]
My application process is:
BEGIN
OWA_UTIL.mime_header ('text/xml', FALSE);
HTP.p('Cache-Control: no-cache');
HTP.p('Pragma: no-cache');
OWA_UTIL.http_header_close;
HTP.prn('<select>');
HTP.prn('<option value="-1">Please Select</option>');
HTP.prn('</select>');
END;(Just copied from your post and XML changed to xml, otherwise untouched)
And my page has a simple HTML region with the source of:
<div id="XMLOUTPUT" style="border:1px solid blue; width:200px; height:200px;"></div>
<div id="XMLOUTPUT2" style="border:1px solid blue; width:200px; height:200px;"></div>
<script type="text/javascript">
function getMyXML()
var l_Return = null;
var get = new htmldb_Get(null, html_GetElement('pFlowId').value, 'APPLICATION_PROCESS=RETURN_XML', 0);
gReturn = get.get('XML');
var d = html_GetElement('XMLOUTPUT');
d.innerHTML = gReturn;
var d2 = html_GetElement('XMLOUTPUT2');
d2.innerHTML = get.get();
var s = gReturn.getElementsByTagName("select");
alert(s.length);
</script>
<a href="javascript:getMyXML();">Click</a>Click on Click at the bottom of the page. The first DIV gets the get.get('XML') object and the second one the get.get() and a popup message tells you how many "select" items are in the XML version.
As far as I can see, this works fine.
Andy -
Barcode printing in XML report PDF output
Hi All,
I want to print barcode of invoice number / purchase order number in the XML report PDF output.
Anyone please suggest me with your ideas and experience.Hi Bogdan,
The steps mentioned in the doc is what i did in order.
I couldn't understand the step # 13 & 14.
Log in as XML Publisher Administrator
Navigate to Administration --> Font Files --> Create Font File
Available fields are Font Name and File
--> for Font Name, choose any descriptive name
--> file will browse your PC to locate the font file
Navigate to Font Mappings -->Create Font Mapping Set
Mapping name is the name you will give to a set of fonts.
Mapping code is the internal name you will give to this set
Type: 'PDF Form' for PDF templates. 'FO to PDF' for all other template types.
Create Font Mapping (this allows you to add fonts to a set)
Font Family is the exact same name you see in MS Word under Font. If you don't use the same name the font will not be picked up at runtime.
Style and weight must also match how you use the font in the RTF or PDF layout template. Normal and Normal are good defaults.
Language and Territory should remain blank (NULL) unless you have a strong business reason, as these fields can cause the font not to be picked up at runtime.
Navigate to Configuration General -> FO Processing -->Font Mapping Set. This can also be done at Data Definition and Template level, via the corresponding Edit Configuration button on those pages. The hierarchy is Site-> Data Def -> Template.
Select your new mapping set.
Make sure the font is not referenced under File --> Properties --> Custom in the RTF template file.
Under General, set a Temporary Directory. The font will be stored under a /fonts directory at runtime, initially created the first time the font is used.
Upload a template that uses your special font and test using preview or by submitting a concurrent request. -
Error While trying to Get XML element(tag) Values
We are trying to get XML element (TAG) value from the XML pay load.
Example.
Getting XML String from a web service and then converting into XML payload.
ora:parseEscapedXML(bpws:getVariableData('signOn_Out','signOnReturn'))
From this XML payload we are trying to get an element (Tag) value.
We are getting following error
Error in evaluate <from> expression at line "130". The result is empty for the XPath expression : "/client:TririgaProcessResponse/client:User/client:LastName".
oracle.xml.parser.v2.XMLElement@118dc2a
{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.
- <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
- <part name="summary">
<summary>
empty variable/expression result.
xpath variable/expression expression "/client:TririgaProcessResponse/client:User/client:LastName" is empty at line 130, when attempting reading/copying it.
Please make sure the variable/expression result "/client:TririgaProcessResponse/client:User/client:LastName" is not empty.
</summary>
</part>
</selectionFailure>
Here are signOnReturn and XML Payload XSD's
<schema attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://xmlns.oracle.com/Web1"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="Web1ProcessRequest">
<complexType>
<sequence>
<element name="userName" type="string"/>
<element name="password" type="string"/>
</sequence>
</complexType>
</element>
<element name="Web1ProcessResponse">
<complexType>
<sequence>
<element name="result" type="string"/>
</sequence>
</complexType>
</element>
</schema>
<?xml version="1.0" encoding="windows-1252" ?>
<schema attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://xmlns.oracle.com/Web"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="TProcessResponse">
<complexType>
<sequence>
<element name="result" type="string"/>
<element name="User">
<complexType>
<sequence>
<element name="Id" type="string"/>
<element name="CompanyId" type="string"/>
<element name="SecurityToken" type="string"/>
<element name="FirstName" type="string"/>
<element name="LastName" type="string"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>
</schema>I am sure and can see the data in audit trail.
[2006/12/12 09:17:36]
Updated variable "signOn_Output"
- <signOn_Output>
- <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
- <WebMethodsProcessResponse xmlns="http://xmlns.oracle.com/WebMethods">
<Result xmlns="">
Success
</Result>
- <User xmlns="">
<Id>
2694069
</Id>
<CompanyId>
208133
</CompanyId>
<SecurityToken>
1165936654605
</SecurityToken>
<FirstName>
Jagan
</FirstName>
<LastName>
Rao
</LastName>
</User>
</WebMethodsProcessResponse>
</part>
</signOn_Output>
Copy details to clipboard
[2006/12/12 09:17:36]
Updated variable "tririga"
- <tririga>
- <TririgaProcessResponse xmlns="http://xmlns.oracle.com/WebMethods">
<Result xmlns="">
Success
</Result>
- <User xmlns="">
<Id>
2694069
</Id>
<CompanyId>
208133
</CompanyId>
<SecurityToken>
1165936654605
</SecurityToken>
<FirstName>
Jagan
</FirstName>
<LastName>
Rao
</LastName>
</User>
</TririgaProcessResponse>
</tririga>
Copy details to clipboard
[2006/12/12 09:17:36]
Updated variable "Variable_2"
- <Variable_2>
- <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
- <TririgaProcessResponse xmlns="http://xmlns.oracle.com/WebMethods">
<Result xmlns="">
Success
</Result>
- <User xmlns="">
<Id>
2694069
</Id>
<CompanyId>
208133
</CompanyId>
<SecurityToken>
1165936654605
</SecurityToken>
<FirstName>
Jagan
</FirstName>
<LastName>
Rao
</LastName>
</User>
</TririgaProcessResponse>
</part>
</Variable_2>
Copy details to clipboard
[2006/12/12 09:17:36]
Error in evaluate <from> expression at line "130". The result is empty for the XPath expression : "/client:TririgaProcessResponse/client:User/client:LastName".
oracle.xml.parser.v2.XMLElement@1c8768e
Copy details to clipboard
[2006/12/12 09:17:36]
"{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.
- <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
- <part name="summary">
<summary>
empty variable/expression result.
xpath variable/expression expression "/client:TririgaProcessResponse/client:User/client:LastName" is empty at line 130, when attempting reading/copying it.
Please make sure the variable/expression result "/client:TririgaProcessResponse/client:User/client:LastName" is not empty.
</summary>
</part>
</selectionFailure>
Copy details to clipboard -
Getting sucess message as output could not be issued after the printout
hi,
in the Transacation VF02 i want to print my Z smartform.
so in the NACE transaction i have copied the RD00 and created Z entry and the Zsmartform.but the After printing the smartform i am getting the success message in the bottom of the screen as output could not be issued.but i should get the message as output is issued succesfully since i got the print.
pls suggest meHi shantha,
i suppose it will solve if u will debug that object.
Reply for queries. shal post the updates....
Regards,
Kumar. -
Problem in getting .csv file as output
Hi All,
I am using ws_download function module to get .csv file as output . i am getting space between output values.But i want to get comma instead of space.
i am working on 4.6b version but in this version there no write filed separator field in gui_download function module.
Please suggest me the follow up
Regards
Sudhakar.use field-symbol and do sth like this
data str type string.
loop at itab.
do.
assign component sy-index of table itab to <F>.
concatenate str <f> ';' into str.
enddo.
endloop.
hope taht helps
Andreas -
Hello, I just bought a 2013 Mac mini and I cannot get the sound to output to my Dell U2713HM monitor. I went to sound output but even though my Dell shows up there when I select it there is no sound output to it. I am using a mini DP to DP cable...Any ideas? Thanks
Hi Alxx911, and John Hammer1. After reading John's reply - " You can plug something into it's headphone jack. though" . I thought i'd try out of curiosity. I plugged in some headphones. I didn't expect anything to happen and nothing happened. The audio jack is for the Dell soundbar which is optional.
Here's a direct copy and paste from the users manual: Section About Your Monitor.
Attaching the Soundbar AX510 / AX510PA (Optional) CAUTION: Do not use with any device other than the Dell Soundbar. NOTE: The Soundbar power connector (+12 V DC output) is for the optional Dell Soundbar AX510/AX510PAonly. To attach the Soundbar: 1. Working from the back of the monitor, attach the Soundbar by aligning the two slots with the two tabs along the bottom of the monitor. 2. Slide the Soundbar to the left until it snaps into place. 3. Connectthe Soundbar with the DC power connector. 4. Insert the mini stereo plug from the back of the Soundbar into the computerís audio output jack. For HDMI/DP, you can insert the mini stereo plug into the monitorís audio output port. If there is no sound, check your PC if the Audio output is configured to HDMI/DP output.
This monitor has no speakers. (Like John Hammer1 mentioned). The no speakers feature was one of the reasons I chose this monitor.
Good Luck ! -
How to get XML file using servlets that XI sent to my J2EE appl?
Hi All!
I have a scenario like XI sends xml file to j2ee application. In my J2EE application my servlet receives this xml. Will the xml file be in my HTTPServletRequest object? if so how to get that file from Request object.
Please help me its urgent, Any code help is highly appreciated.
My xml file will be like this:
<ns0:Http_Message_Type_Demo
xmlns:ns0="http://abcdemo.com">
<Name>ABC</Name>
<RollNo>123</RollNo>
<Address>a-4</Address>
</ns0:Http_Message_Type_Demo>
somebody should help me!please
ThanksHi,
You can use HTTPServletRequest object to get the XML payload.
BufferedReader reader = request.getReader(); //gets XML payload
String line = reader.readLine(); // to read the XML payload line by line
(request is the HTTPServletRequest object)
Regards,
Uma
Maybe you are looking for
-
How to delete data from the table PA0007
Hi Friends, Thank you for your kindly help. When I upload data to infotype 0007(planed working time), there is something wrong with the infotype 2011. So I want to delete the data of infotype 0007. While using the program RPUREOPN to delete the data
-
While creating a billing document
Hi All, I have a sales order, say with 3 line items with 3 different customer groups. Now i am creating a billing document for this order using the transaction VF01. As the Order has 3 items with 3 different customer groups, system is splitting each
-
How do you launch from within "Finder" a file to open in nano?
So i want to be able to click on a file found in Finder and have it open in /user/bin/nano
-
Tips / Lesson Learn: Upgrading from ECC 5.0 to ECC 6.0 w/ Unicode
Hi We are looking into moving from ECC 5.0 to ECC 6.0 w/ EP7 and doing the unicode path on as well. What are some lesson learn you guys could share in potential issue may occur in the HCM realm? We don't currently have inhouse payroll, using PU12 to
-
I am Sze Yuen Cheng from Osram Sylvania Inc. I have a few questions about your NI-488.2 GPIB. I need to use the GPIB to interface a few Xitron power analyzer instruments with the computer by using Visual Basic 6, and this is the first time that I am