Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Developing Analytics Applications
Where does WebViewerExample data comes from?
Migrateduser
Hi,<br />
<br />
Currently Birt API is used in our applications, my job is development with its API.<br />
<br />
I have a problem with the example application "WebViewerExample" which is in the birt runtime folder.<br />
<br />
There is a template file tset1.rptdesign, which contains some charts and format. I tried to find out how does this example call its API through those js and jsp, but I failed. Can someone show me how does this example application "WebViewerExample(birt.war)" works?<br />
<br />
The template file is also used in my application, deployed on my server and bugs are resolved. Now there is a little problem that it requires to call task.setparameters() for config the template parameter "Cust".<br />
<br />
In the test1.rptdesign it is:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'><scalar-parameter name="Cust" id="59">
<property name="valueType">static</property>
<property name="dataType">decimal</property>
<property name="paramType">simple</property>
<text-property name="promptText">CustomerNumber in list less than</text-property>
<...>
</pre>
<br />
This is the part confusing that I really can not find which js in the js application "set" this parameter. I only found a task.setParameterGroup() within the js, is it?<br />
<br />
The last question, on the homepage there are few tutorials about the calling API. I believed that I did not find the right place, can someone show some links regarding to calling those API and generates reports?<br />
<br />
Heartful Thanks,<br />
<br />
Yufan
Find more posts tagged with
Comments
There are no comments yet