on 07-17-2008 8:23 AM
Dear experts:
Could you please give the answer to this questions. If possible with one example also.
How you can use java script to call query templates and display templates?
Regards,
Goapl.
Hi Chandra,
Goto Dynamic Page Generator from Visualization Services and select your query template and display template and generate a applet.Do view source and take the code.
Paste the code in your HTML page inside the body tag:
e.g
<body>
<APPLET NAME="FillerPerformanceChart" CODEBASE="/Illuminator/Classes" CODE="iChart" ARCHIVE="illum8.zip" WIDTH="800" HEIGHT="400" MAYSCRIPT>
<PARAM NAME="QueryTemplate" VALUE="FillingArea/SampleQuery">
<PARAM NAME="DisplayTemplate" VALUE="FillingArea/SampleChart">
</APPLET>
<body>
Please go through the following link to learn more:
Hope this will help you.
Thanks,
Manisha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, chandra
here i will give u a simple demo.
First, in the irpt file we have the following code:
<applet name="List" codebase="/XMII/Classes" code="iGrid" archive="illum8.zip" width="400" height="200" mayscript>
<param name="QueryTemplate" value="the address of ur template on ur server" >
<param name="DisplayTemplate" value="the address of ur template on ur server" >
<PARAM NAME="DoubleClickEvent" VALUE="detailUpdate">
</applet>
and if u want to change the query template and display template dynamiclly
we can use the following javascript code to do this:
List.setQueryTemplate("the address of ur template on ur server");
List.setDisplayTemplate("the address of ur template on ur server");
i hope that is what u want to know
if u have any doubt, just let me know.
have a nice day
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chandra,
Please go through the following thread, which will help you to learn xMII.
You can also go through the help:
http://help.sap.com/saphelp_xmii115/helpdata/en/index.htm
Hope this will help you.
Thanks,
Manisha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
6 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.