BIRT Exchange Forum: Parameter and Actuate viewer on single page - BIRT Exchange Forum

Jump to content


 

No Latest Open Poll.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Parameter and Actuate viewer on single page how to make Parameter and Actuate viewer on single page Rate Topic: -----

#1 User is offline   kabilan_n Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 49
  • Joined: 16-August 11


Posted 23 May 2012 - 10:52 AM

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
0

#2 User is offline   kabilan_n Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 49
  • Joined: 16-August 11


Posted 23 May 2012 - 10:54 AM

Where i have to make changes to do this.

--kabil
0

#3 User is offline   averma Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 713
  • Joined: 08-August 07


Posted 23 May 2012 - 12:51 PM

Hi kabilan_n,
You can click on the menu -> Parameters in the report viewer to display both in the same window.
Ashwini

Follow me on Twitter
Read my Blog BIRT Rocks!
0

#4 User is offline   kabilan_n Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 49
  • Joined: 16-August 11


Posted 24 May 2012 - 03:56 AM

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
0

#5 User is offline   averma Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 713
  • Joined: 08-August 07


Posted 24 May 2012 - 09:48 AM

Use the following script in your onContentUpdate event handler
this.getViewer().showParameterPanel();


Ashwini

Follow me on Twitter
Read my Blog BIRT Rocks!
0

#6 User is offline   kabilan_n Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 49
  • Joined: 16-August 11


Posted 24 May 2012 - 10:08 AM

Hi Averma,

Thanks a lot. I got it.

--kabil
0

#7 User is offline   kabilan_n Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 49
  • Joined: 16-August 11


Posted 25 May 2012 - 10:10 AM

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
0

#8 User is offline   averma Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 713
  • Joined: 08-August 07


Posted 25 May 2012 - 02:27 PM

When you call the report via url add "invokesubmit=true" to it

http://localhost:8900/iportal/executereport.do?__executableName=/MyReport.rptdesign&invokesubmit=true


Ashwini

Follow me on Twitter
Read my Blog BIRT Rocks!
0

#9 User is offline   kabilan_n Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 49
  • Joined: 16-August 11


Posted 28 May 2012 - 11:26 AM

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
0

#10 User is offline   averma Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 713
  • Joined: 08-August 07


Posted 29 May 2012 - 12:16 PM

You can add this url parameter in a couple of places in file:
"[Install Dir]\servletcontainer\iportal\iportal\activePortal\private\filesfolders\views\categories.jsp"

String syncDocument = "invokesubmit=true&__requesttype=immediate&__executableName="+encyclopediaName+ "&" + commonQueryString;

String syncLatestDocument = "invokesubmit=true&__requesttype=immediate&__executableName="+ latestEncyclopediaName + "&" + commonQueryString + "&__saveOutput=false";


Ashwini

Follow me on Twitter
Read my Blog BIRT Rocks!
0

#11 User is offline   kabilan_n Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 49
  • Joined: 16-August 11


Posted 01 June 2012 - 02:21 AM

Thanks Averma its working.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users