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
DataSet Parameters from URL
Migrateduser
<p>Hi,</p>
<p> </p>
<p>We are currently trying to embed an iHUB dashboard inside our multi-tenant web application. We would like to publish one copy of the dashboard and have each of our clients use the same dashboard but view their own data.</p>
<p> </p>
<p>One way to accomplish this is to replace the query text of the dataset being used for the dashboard with the client name. We would like to pass this client name through the JSAPI.</p>
<p> </p>
<p>Ideally I would create a 'schemaname' parameter and replace that during run time based on the parameter value returned from the URL. I have the below in the 'beforeopen' of the dataset.</p>
<p> </p>
<p class=""><span>this</span>.queryText=<span>this</span>.queryText.replace(<span>"cornell"</span>,params[<span>"schemaname"</span>].value);</p>
<p class=""> </p>
<p>However, I am not clear about the following two issues - </p>
<ol><li>How do I pass the parameter value to BIRT using JSAPI (syntax)?</li>
<li>What should I do to store this parameter value in the datadesign file so that i can use this value in my dataset?</li>
</ol><p>I apologize in advance if this information is basic, but I am a newbie.</p>
<p> </p>
<p>Thanks for your help.</p>
Find more posts tagged with
Comments
There are no comments yet