Group xml data from different sql queries in data template
Hello,
I need to do a mailing program with bursting that sends differents alerts in one mail.
For example i can have alerts for late orders, alerts for shipping not confirmed, so really different address (I dont want to use union). I have done three sql statement in data template , it gives the following ouput.
<GA_EMAIL>[email protected]</GA_EMAIL>
<G_ALERTS_1>
<ALERT>
</ALERT>
<ALERT>
</ALERT>
</G_ALERTS_1>
</GA_EMAIL>
<GA_EMAIL>[email protected]</GA_EMAIL>
<G_ALERTS_1>
<ALERT>
</ALERT>
</G_ALERTS_1>
</GA_EMAIL>
<GA_EMAIL>[email protected]</GA_EMAIL>
<G_ALERTS_2>
</G_ALERTS_2>
</GA_EMAIL>
I woud like the bursting or data template to group alerts when email is the same, because here it sends an email for each different alert.
Ideal output would be:
<GA_EMAIL>[email protected]</GA_EMAIL>
<G_ALERTS_1>
<ALERT>
</ALERT>
<ALERT>
</ALERT>
</G_ALERTS_1>
<G_ALERTS_2>
</G_ALERTS_2>
</GA_EMAIL>
But I don't know how to group different sql statements on a common field (email)
Any ideas ?
Thanks
the for-each group works well in a rtf template, but the rtf template is only applied after the bursting (in order I get first data template (instead of a report) -> bursting -> rtf template)
I want to be able to group xml data from the data template, so I can do bursting (by email ) but only once per mail.
Similar Messages
-
Concatenate columns from different Sql queries
Hi ,
I have two different queries on a same table with different conditions. I cant have these conditions in a single query as the result is not what is expected. But i have few common columns and I want the results of these queries next to the common columns. Below are the two different queries ..which I want the output to be concatenated in terms of columns :
Query 1 :
select * from
( select location,facility,floor,phase, seat_type,count(seat_type) abc from sa_master_table group by location,facility,floor,phase, seat_type order by location,facility,floor,phase, seat_type)
pivot
(sum(abc) for seat_type in ('Cabin','PL','Regular', 'Squeeze'))
Query 2:
select * from
( select location,facility,floor,phase, seat_type,count(seat_type) xyz from sa_master_table where employee = 'Vacant' group by location,facility,floor,phase, seat_type order by location,facility,floor,phase, seat_type)
pivot
(sum(xyz) for seat_type in ('Cabin','PL','Regular', 'Squeeze'))
Hoping to find some solution for this..
Thanks!Hi All,
Thanks for your replies, but sorry for all the confusion. This is the first time I am in this pl/sql forum, so wasnt clear on providing the details.
Ok.. Here are the details which I guess would be easier to understand my requirement :
* I am working on Oracle Application Express 3.1 and this is where I want my query to be placed.
* My previous post above has the exact query(s) which I am trying to format as below.
Typical Output of the query is as below :
h5. Location Facility Floor Phase Cabin PL Regular Squeeze
Location1 Facility1 Floor1 Phase1 3 5 6 10
Once I combine the results of these query, I want the output in the below format. And this is the requirement which I am looking at :
h6. ************************************ |Total Allocated Seats *******************|Vacant Seats
h5. Location Facility Floor Phase | Cabin PL Regular Squeeze | Cabin PL Regular Squeeze
Location1 Facility1 Floor1 Phase1 | 3 5 6 10 | 1 0 2 3
Location2 Facility2 Floor2 Phase2 | 2 6 10 3 | 0 2 1 4
Query1 give the values of 'Total Allocated Seats' and Query2 gives the values of 'Vacant Seats'. Its basically appending the resultant columns of the queries which have the same columns but values are dependent on the conditions. I have 2 more queries which got to append after Vacant seats.
I have tried using UNION , but it actually appends the values horizontally but I want them vertically as above.
And as rightly told by Tk, Q2 is subset of Q1 and so would be other queries.
I tried my best to have the format appear correctly.. but still its not aligned properly. In case of queries, please get back to me.Thanks! -
Read XML file from different server on JSP
Dear All,
I am a newbie to JSP with XML, now i want to read the "test.xml" from JSP.
I read successfully this "test.xml" file from my system and I got output, but I need to read the xml file from
different server like "http://www.domain.com/test.xml". I couldn't read such a type of file from different server.
Is it possible to read a xml file from different server?
If anybody have idea please let me know.
Thanks in Advance,
Prasath.
<%@ page import="java.sql.*,java.io.*,java.util.*,javax.xml.parsers.*,org.w3c.dom.*,org.xml.sax.*" %>
<%
try {
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
Document doc = docBuilder.parse (new File("http://www.domain.com/test.xml"));
// normalize text representation
doc.getDocumentElement ().normalize ();
out.println ("Root element of the doc is " +
doc.getDocumentElement().getNodeName()+"<br>");
NodeList listOfPersons = doc.getElementsByTagName("person");
int totalPersons = listOfPersons.getLength();
out.println("Total no of people : " + totalPersons+"<br>");
for(int s=0; s<listOfPersons.getLength() ; s++){
Node firstPersonNode = listOfPersons.item(s);
if(firstPersonNode.getNodeType() == Node.ELEMENT_NODE){
Element firstPersonElement = (Element)firstPersonNode;
NodeList firstNameList = firstPersonElement.getElementsByTagName("first");
Element firstNameElement = (Element)firstNameList.item(0);
NodeList textFNList = firstNameElement.getChildNodes();
out.println("First Name : " +
((Node)textFNList.item(0)).getNodeValue().trim()+"<br>");
NodeList lastNameList = firstPersonElement.getElementsByTagName("last");
Element lastNameElement = (Element)lastNameList.item(0);
NodeList textLNList = lastNameElement.getChildNodes();
out.println("Last Name : " +
((Node)textLNList.item(0)).getNodeValue().trim()+"<br>");
NodeList ageList = firstPersonElement.getElementsByTagName("age");
Element ageElement = (Element)ageList.item(0);
NodeList textAgeList = ageElement.getChildNodes();
out.println("Age : " +
((Node)textAgeList.item(0)).getNodeValue().trim()+"<br>");
}//end of if clause
}//end of for loop with s var
}catch (SAXParseException err) {
out.println ("** Parsing error" + ", line "
+ err.getLineNumber () + ", uri " + err.getSystemId ());
out.println(" " + err.getMessage ());
}catch (SAXException e) {
Exception x = e.getException ();
((x == null) ? e : x).printStackTrace ();
}catch (Throwable t) {
t.printStackTrace ();
%>You might try:
Document doc = docBuilder.parse ("http://www.domain.com/test.xml");Alternatively use the java.net package to obtain an Input Stream to the xml document
InputStream in = methodThatYouWriteYourselfCalledgetInputStreamForURI("http://www.domain.com/test.xml");
Document doc = docBuilder.parse (in);cheers,
evnafets -
Parameter Passing from Concurrent Program to XML Data Template
Hi All,
I have a xml data template which is attached to a data definition. The data template contains a SQL query and some parameter definitions. One of the parameters is p_emp_id. The data type of the parameter is "number" and the where clause that uses the parameter is as follows:
AND employee_id in (:p_emp_id,DECODE(:p_emp_id,126,130,-99).
The data definition is attached to a concurrent program which has a parameter based on a valueset. Format type of valueset is char. Validation type is table. Inside the table definition, the table is employees. value column is emp_name type is char. meaning column is emp_name type is char. ID column is emp_id type is number.
The above where clause condition fails when the conc program is run. In the log file I can see that the value passed is 126 from the valueset. If the query is run independently in TOAD and value passed is 126, the where clause returns rows.
Kindly let me know what could be the possible issue. Let me know if the question is not clear enough.
Thanks,
AmitHi Ashish,
Thanks for replying.
I mentioned that the Id column of the VSet is emp_id right ? Isn't the Id column value passed ?
Moreover I also mentioned that I could see in the log file that the emp_id value is being passed and not the name. I could see in the log file p_emp_id=126. There seems to be some problem with the data types and all.
Thanks,
Amit -
Is it possible to use an XML Data Template to create a report in APEX?
Hi,
I have created an XML Data Template in BI Publisher passing one parameter and running two queries, then created an RTF Document Template to present the data.
I can create a nice report in BI Publisher using the two elements. I have used RTF Document Templates to publish reports in APEX but the data comes from a Report region running a single query.
I would like to run a report based in this kind of XML Data Template, in order to use several children queries related to a parent query. Is it possible to do it in APEX, or you have to use BI Publisher?
Francisco
===========================
Below is a simple data template definition:
<dataTemplate name="cotizacion_template" description="Prueba de data template para cotizaciones" dataSourceRef="dbxprts">
<parameters>
<parameter name="p_id_cotizacion" dataType="character" defaultValue="1009" include_in_output="true"/>
</parameters>
<dataQuery>
<sqlStatement name="header_query">
<![CDATA[select id_cotizacion, fecha_cotizacion, id_clipro from f_cotizaciones where id_cotizacion = :p_id_cotizacion]]>
</sqlStatement>
<sqlStatement name="detail_query">
<![CDATA[select id_cotizacion as id_cot_child, id_detalle_cotizacion, partida, cantidad, id_producto from f_detalle_cotizaciones where id_cotizacion = :id_cotizacion]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="F_COTIZACIONES" source="header_query">
<element name="ID_COTIZACION" value="ID_COTIZACION"/>
<element name="ID_CLIPRO" value="ID_CLIPRO"/>
<element name="SUMA_CANTIDAD" value="F_DETALLE_COTIZACIONES.CANTIDAD" function="SUM()"/>
<group name="F_DETALLE_COTIZACIONES" source="detail_query">
<element name="PARTIDA" value="PARTIDA"/>
<element name="CANTIDAD" value="CANTIDAD"/>
<element name="ID_PRODUCTO" value="ID_PRODUCTO"/>
</group>
</group>
</dataStructure>
</dataTemplate>Hi,
I have the similar question. I used data templates in BI Publisher but now I want to use the same data template in Apex to print some reports.
I tried to some examples but these were only using report queries. I also tried with the Web Service but this didn't work for me either maybe because I didn't
used it in the right way. When I used the WS I received the binary of the report so the WS worked it was just the how and where to use it that didn't work for me.
Now this older entry is BUMPED maybe we find a solution for our problem this way.
regards,
Steven -
XML Publisher Datasource XML Data Template
Hello,
I am trying to create function (Program Units) in my XML Data template, I get the following ERROR.
XX Custom Application: Version : UNKNOWN
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XXTESTNEW module: XX TEST Report-New
Current system time is 13-JUL-2012 15:34:09
0.197: [GC 0.197: [DefNew: 1777K->191K(1984K), 0.0042507 secs] 1777K->242K(6080K), 0.0043329 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
0.330: [GC 0.330: [DefNew: 1983K->44K(1984K), 0.0054729 secs] 2034K->282K(6080K), 0.0055303 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
0.536: [GC 0.536: [DefNew: 1836K->192K(1984K), 0.0053814 secs] 2074K->591K(6080K), 0.0054403 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
0.695: [GC 0.695: [DefNew: 1984K->138K(1984K), 0.0036150 secs] 2383K->711K(6080K), 0.0036667 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
0.969: [GC 0.969: [DefNew: 1930K->92K(1984K), 0.0050182 secs] 2503K->802K(6080K), 0.0050735 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
1.453: [GC 1.453: [DefNew: 1884K->192K(1984K), 0.0049133 secs] 2594K->1247K(6080K), 0.0049730 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
1.493: [GC 1.493: [DefNew: 1962K->58K(1984K), 0.0025240 secs] 3018K->1301K(6080K), 0.0025808 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
1.501: [GC 1.501: [DefNew: 1847K->93K(1984K), 0.0014896 secs] 3090K->1337K(6080K), 0.0015390 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
1.507: [GC 1.507: [DefNew: 1860K->70K(1984K), 0.0006978 secs] 3103K->1313K(6080K), 0.0007453 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
1.514: [GC 1.514: [DefNew: 1849K->103K(1984K), 0.0004474 secs] 3093K->1346K(6080K), 0.0004883 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
1.595: [GC 1.596: [DefNew: 1895K->138K(1984K), 0.0020285 secs] 3138K->1437K(6080K), 0.0020863 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
1.673: [GC 1.673: [DefNew: 1930K->64K(1984K), 0.0014510 secs] 3229K->1496K(6080K), 0.0015049 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
1.759: [GC 1.759: [DefNew: 1856K->98K(1984K), 0.0014301 secs] 3288K->1530K(6080K), 0.0014835 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
1.827: [GC 1.827: [DefNew: 1890K->89K(1984K), 0.0010782 secs] 3322K->1572K(6080K), 0.0011340 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
1.880: [GC 1.880: [DefNew: 1881K->133K(1984K), 0.0011918 secs] 3364K->1616K(6080K), 0.0012450 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
1.936: [GC 1.936: [DefNew: 1925K->113K(1984K), 0.0012641 secs] 3408K->1670K(6080K), 0.0013197 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
1.990: [GC 1.990: [DefNew: 1905K->191K(1984K), 0.0022812 secs] 3462K->1976K(6080K), 0.0023401 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
XDO Data Engine Version No: 5.6.3
Resp: 23202
Org ID : 43
Request ID: 22637028
All Parameters:
Data Template Code: XXTESTNEW
Data Template Application Short Name: XX
Debug Flag: N
2.161: [GC 2.161: [DefNew: 1983K->192K(1984K), 0.0036382 secs] 3768K->2170K(6080K), 0.0036949 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
Calling XDO Data Engine...
2.289: [GC 2.289: [DefNew: 1984K->192K(1984K), 0.0036540 secs] 3962K->2475K(6080K), 0.0037115 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
[071312_033411511][][EXCEPTION] java.lang.NullPointerException
at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:334)
at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:266)
at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:140)
at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:245)
at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:282)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
2.394: [GC 2.394: [DefNew: 1365K->143K(1984K), 0.0025966 secs]2.397: [Tenured: 2451K->2381K(4096K), 0.0798821 secs] 3648K->2381K(6080K), 0.0825759 secs] [Times: user=0.08 sys=0.01, real=0.08 secs]
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1796)
at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:331)
at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:286)
at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:348)
at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
Heap
def new generation total 1984K, used 250K [0xcc400000, 0xcc620000, 0xccb10000)
eden space 1792K, 13% used [0xcc400000, 0xcc43ea98, 0xcc5c0000)
from space 192K, 0% used [0xcc5c0000, 0xcc5c0000, 0xcc5f0000)
to space 192K, 0% used [0xcc5f0000, 0xcc5f0000, 0xcc620000)
tenured generation total 6104K, used 4381K [0xccb10000, 0xcd106000, 0xd0400000)
the space 6104K, 71% used [0xccb10000, 0xccf57598, 0xccf57600, 0xcd106000)
compacting perm gen total 12288K, used 7039K [0xd0400000, 0xd1000000, 0xd8400000)
the space 12288K, 57% used [0xd0400000, 0xd0adfc88, 0xd0adfe00, 0xd1000000)
ro space 8192K, 80% used [0xd8400000, 0xd8a73430, 0xd8a73600, 0xd8c00000)
rw space 12288K, 59% used [0xd8c00000, 0xd9330510, 0xd9330600, 0xd9800000)
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 13-JUL-2012 15:34:11
Please see the following Data Template, I have copied the folloing
<report name="anyname" DTDVersion="9.0.2.0.0">
<data>
<dataSource name="Q_1">
<select>
select 1 EMPLOYEE_ID, 'FIRST_NAME' FIRST_NAME,'LAST_NAME' LAST_NAME, 1 DEPARTMENT_ID ,2 SALARY, 2 COMMISSION_PCT from dual
</select>
<group name="G_EMPLOYEES">
<dataItem name="EMPLOYEE_ID"/>
<dataItem name="FIRST_NAME"/>
<dataItem name="LAST_NAME"/>
<dataItem name="HIRE_DATE"/>
<dataItem name="SALARY"/>
<dataItem name="COMMISSION_PCT"/>
<dataItem name="DEPARTMENT_ID"/>
<formula name="CF_REMUNERATION" source="cf_1formula"
datatype="number" width="20" precision="10"/>
</group>
</dataSource>
<summary name="CS_REPORT_LEVEL_SUMMARY" function="sum" width="20"
precision="10" reset="report" compute="report"/>
</data>
<programUnits>
<function name="cf_1formula" returnType="number">
<textSource>
<![CDATA[
function CF_1Formula return Number is
begin
return (:salary + nvl(:commission_pct,0));
end;
]]>
</textSource>
</function>
</programUnits>
</report>
Note:
I have taken this from the following documentation.
http://docs.oracle.com/cd/E12839_01/bi.1111/b32121/pbr_xml003.htm
Regards
EdHi,
To me it seems that format is used in BI Publisher usined iN OBI and not Oracle XML Publisher.
Why dont you try to get the value in sql itself like (:salary + :pct_cimssion) as abcd -
Data template is invalid. Should be in XML-DATA-TEMPLATE format.
Hi,
I am trying to create & upload a Data Template for a Data Definition in XML Publisher. When I try to upload my data template, it shows me the error :-
" The uploaded file PAFPURUP_TEMPLATE.xml is invalid. The file should be in XML-DATA-TEMPLATE format. "
Can any please suggest me a possible resolution to this error? Below is my data template content :-
<?xml version="1.0" encoding="WINDOWS-1252" ?>
<dataTemplate name="PAFPURUP_TEMPLATE" description="Data template for PAFPURUP" defaultPackage="PA_PAFPURUP_PKG" version="1.0">
<parameters>
<parameter name ="count" dataType="character" defaultValue="10"/>
</parameters>
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[SELECT BUDGET_VERSION_ID, VERSION_NAME FROM PA_BUDGET_VERSIONS WHERE ROWNUM <= :count]]>
</sqlStatement>
</dataQuery>
<dataTrigger name="beforeReport" source="PA_PAFPURUP_PKG.beforeReportTrigger"/>
<dataStructure>
<group name ="G_BUDGET_VERSIONS" source="Q1">
<element name="Budget_Version_Id" value="budget_version_id"/>
<element name="Version_Name" value="version_name"/>
</group>
</dataStructure>
</dataTemplate>
Many Thanks,
NiranjanHi Fred,
Thanks for your response. The issue was actually with the xml format. I had missed '?' at the end of 1st line of the xml.
Regards,
Niranjan -
Grouping of Individual groups of Data Template in the RTF
Hi All,
We have a scenario where we may require the grouping of Individual groups of Data Template in the RTF.
Lets say
1. I have group of Invoices with the Group Name G_INV
2. I have a list of Payments done for the Invoices under G_PAY
3. I also have a list of Prepayment Applications that are happened on the Invoices G_PRE
All the three groups G_INV, G_PAY, and G_PRE are independent and they are at same level
G_INV (Main Header)
G_PAY (Main Header)
G_PRE (Main Header)
Extract
<ROOT>
<G_INV>
<INV>I1</INV>
</G_INV>
<G_INV>
<INV>I2</INV>
</G_INV>
<G_INV>
<INV>I3</INV>
</G_INV>
<G_PAY>
<PAY>P1</PAY>
<INV>I1</INV>
</G_PAY>
<G_PAY>
<PAY>P2</PAY>
<PAYINV>I2</PAYINV>
</G_PAY>
<G_PRE>
<PRE>PRE1</PRE>
<PREINV>I1</PREINV>
</G_PRE>
</ROOT>
But in the Report output,
we need the data to be displayed as follows
G_INV (Main Header)
G_PAY (Sub Group of Payments)
G_PRE (Sub Group of Prepayments)
Output
I1
P1
PRE1
I2
P2
I3
So, Can you please suggest us,
Whether we can get these Individual groups into the above required hierarchical manner. If so, please let us know how to achieve the same.
Also, it will be great if you advice us regarding the Performance, how best will be if we group the queries in this heirarchical manner in the RTF rather than getting the hardcoded dependency through linking of the Data Queries in the Data Template file.
Thanks,
Praveen GHi
I dont think you can stop the table growing using Word controls. The easiest way to do it would be to limit the amount of data coming in.
<?for-each:LOOPELEMENT[position()<5]?>
This is take only the first 5 rows
Tim -
The file should be in XML-DATA-TEMPLATE format
Hi,
When I am trying to upload the Data Definition file in XML publisher with EBS 11.5.10.2, I got "The uploaded file GLPAYBDXDO.xml is invalid. The file should be in XML-DATA-TEMPLATE format". I have tried changing the file name to different names including XML-DATA-TEMPLATE but I could not succeed. I appreciate for any help.
Thanks,
Ram.What is the content of your xml file. Is this sample xml file or Data Template.
-
Hi All,
I am unable to keep some formulas in xml data template.
My exact requirement:
I want to keep some formula columns in xml data template so that i can show them in rtf.
I have 6 columns
1. ename
2. dept
3. job
4. salary
5. salary deposited till current year ( this is a formula column)
6. total salary ( this is a formula column ==> salary * comm)
I am able to keep all the 4 columns and data is being displayed correctly. But i am not knowing where and how to keep the below columns *(i.e., 5 & 6)
Glad if anyone can provide me with some examples how to keep formula columns in xml data template
Thanksuser9092293,
when you mean "unable to keep column formulas" in data template!!! are you not able to refer to them within the data structure element?? or are you trying to calculate them in the group elements and not able to???
If you could explain further it might helps us visualize your issue....
thanks
-bifacts -
Report Based on XML Data Template is timing out
Hi there,
i have an XML publisher report based on an XML data template that i've written. The report is working fine except when there is huge data that is supposed to come out, its timing out. Ive set the db_fetch_size parameter to 20 and scalable_mode to on but its still timing out.
If anyone has a solutiom or a thought it would be much appreciated.
Thanks.Thanks for the reply.
Well when i'm opening the report , i wait for about 15 seconds then 'Page Cannot be Displayed' appears on my browser. I'm having this case only when i'm expecting huge data. By huge data i mean that the report gets informations about a deal, when the deal has 10 categories the report runs fine, but when i add all catgories, about 1000, it gives me the 'Page cannot be displayed' error. I'm guessing its a time out issue since i've set the scalable_mode parameter to on. Any thoughts ??? -
i want to make a schedular probably in Coldfusion or using javascript , which read xml files from a folder ,import in Indesign template then export as a pdf....
I don't think you understand: I want to open Dreamweaver and build a brand new site, then when I am done I want to host the dreamweaver site on the Business Catalyst platform. I dont want to use anything in BC to build the site, I just want to use the hosting platform. I do not want to import a BC site into dreamweaver or anything like that. I just want to use BC the same way I would use godaddy, or uhost or any other hosting provider. Based on your response you said that "of course its possible to build a BC site in Dreamweaver" I dont want to build a BC site, I want to build a Dreamweaver site and host it on the BC platform. Like I said before it doesnt seem like this is possible. As of now we can only build a new site in MUSE and integrate it into BC without using a BC template. Can you understand what I am saying. I DONT WANT TO USE A BC TEMPLATE, I WANT NOTHING TO DO WITH BC WHILE I AM BUILDING THE SITE WITH DREAMWEAVER, JUST LIKE MUSE DOES.
-
We are using a xml data template that generates an output file which is also a .xml... how can I archive this output file by making changes in the data template xml.
Edit the query in data template
-
How to call a PL/SQL procedure from a xml Data Template
We have a requirement in which we need to call a pl/sql package.(dot)procedure from a Data Template of XML Publisher.
we have registered a Data Template & a RTF Template in the XML Publisher Responsibility in the Oracle 11.5.10 instance(Front End).
In the Data Query part of the Data Template , we have to get the data from a Custom View.
This view needs to be populated by a PL/SQL procedure.And this procedure needs to be called from this Data Template only.
Can anybody suggest the solution.
Thanks,
SachinCall the procecure in the After Parameter Form trigger, which can be scripted in the Data Template.
BTW, there is a specialized XML Publisher forum:
BI Publisher -
JDev generated webservices encodes XML output from PL/SQL procedure
I have a PL/SQL packaged procedure which takes some input parameters and produces one output parameter. The output parameter is of type CLOB and after the procedure has run, it contains a big piece of XML data.
Using JDeveloper 10.1.3.1, I've published this packaged procedure as a webservice. The generated webservice is fine and works, except for one tiny little issue: the XML that is taken from the output parameter is encoded.
Here is an example of the SOAP message that the webservice returns:
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ns0="http://gbv0300u/GBV0300U.wsdl/types/"><env:Body><ns0:gbv0300uResponse
Element><ns0:result><ns0:obvglijstOut> & gt;type>GBV0001& gt ;/type& lt;
& gt;diensten& lt;
& gt;dienst>some value& gt;/dienst& lt;
& gt;/diensten& lt;
</ns0:obvglijstOut></ns0:result></ns0:gbv0300uResponseElement></env:Body></env:Envelope>
(I've manually added an extra space between the & and lt; or gt; to make sure a browser will not translate it into a < or >!)
The contents of the <ns0:obvglijstOut> element are filled with the output parameter from the PL/SQL package.
How can I change the generated webservice, so the output from the PL/SQL package is used as is instead of being encoded?Update: I've tested a bit more by adding some output statements to the java code that JDeveloper generated. I'm now 100% sure the PL/SQL code gives the XML data correctly to the webservice.
At this moment my guess is that somewhere in the WSDL definition there is something that enables the encoding of the data. But I'm not sure.
Any help is greatly appreciated.
Maybe you are looking for
-
Having Itunes manually recognizing the IPOD is connected
In preferences, I've chosen NOT to have Itunes start automatically when I connect the IPOD. This is because sometimes I connect to the PC just to charge it and don't want/need Itunes open. So if it's already connected, isn't there someway I can then
-
Everything is gone after the update, there are no apps on the ipod, neither on or in itunes
-
CVI - Parcours des fichiers excel ouverts "dans windows"
Bonjour, Je travaille sur un projet en CVI (8.0), qui doit traiter des fichiers Excel. Le problème c'est que mon logiciel ne maitrise pas le fichier qui est ouvert : son nom et son emplacement ne sont pas connus par le programme. Mon idée est donc de
-
How to extend standby time Nokia3110c
I know from local forum that Nokia3110c standby time is up to 5 days (reality), while my Nokia get only 2 days. Can someone share idea how to setup phone to extend standby time? ie. wallpaper, screen saver, sleep mode, display submenu, call submenu,
-
How to download pictures fm i-photo to USB flash drive and/or to a cd
How can a person download pictures from i-photo to a USB flash drive and/or to a cd with the purpose being to share the photos with another group using a laptop computer to control and project images to a screen. I can't find instructions anywhere in