Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Parameter and Actuate viewer on single page
kabilan_n
Hi All,
Please help me on this. While i run a report on information console the parameter page and the Actuate viewer page should come under single window. As we can do using JSAPI.
By now this will come in separate pages.
-- Kabil
Find more posts tagged with
Comments
kabilan_n
Where i have to make changes to do this.
--kabil
averma
Hi kabilan_n,
You can click on the menu -> Parameters in the report viewer to display both in the same window.
kabilan_n
Hi Averma,
Thanks for your reply. What i need is i don't want to go menu to display the parameter page.
By running the report itself i want to show both the report viewer and parameter.
Is there any script in "onContentUpdate" to make this by default while running a report.
-- Kabil
averma
Use the following script in your onContentUpdate event handler<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
this.getViewer().showParameterPanel();
</pre>
kabilan_n
Hi Averma,
Thanks a lot. I got it.
--kabil
kabilan_n
Hi Averma,
Again got one problem with this. Using the above script also bringing the parameter page. After entering to that only its taking me to next level. I don't want to display the parameter page. Same thing i have to do for espreadsheet report also.
Any tips.
-- Kabil
averma
When you call the report via url add "invokesubmit=true" to it<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
http://localhost:8900/iportal/executereport.do?__executableName=/MyReport.rptdesign&invokesubmit=true
</pre>
kabilan_n
Hi Averma,
Its working fine
. But if i deploy the report in iServer in which file i have to edit to add "invokesubmit" script to do the same.
Also is there any possibility to make the parameter frame in top of the viewer. Initially its in bottom i want to display that at top of the page.
--kabil
averma
You can add this url parameter in a couple of places in file:<br />
"[Install Dir]\servletcontainer\iportal\iportal\activePortal\private\filesfolders\views\categories.jsp" <br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
String syncDocument = "invokesubmit=true&__requesttype=immediate&__executableName="+encyclopediaName+ "&" + commonQueryString;
String syncLatestDocument = "invokesubmit=true&__requesttype=immediate&__executableName="+ latestEncyclopediaName + "&" + commonQueryString + "&__saveOutput=false";
</pre>
kabilan_n
Thanks Averma its working.