BIRT Exchange Forum: how to pass parameter to birt report using Asp.net or java - BIRT Exchange Forum

Jump to content


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

how to pass parameter to birt report using Asp.net or java Rate Topic: -----

#1 User is offline   sonimanish 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 12
  • Joined: 04-February 10

Posted 09 March 2010 - 09:57 PM

Dear all,

Please let me know
how to pass parameter to birt report using Asp.net or java

Thanks
Manish Soni
manishsony@aol.com
India
0

#2 User is offline   vdodson 

  • Administrator
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 846
  • Joined: 16-July 07

Posted 10 March 2010 - 07:28 AM

Hi Manish, and welcome to the forums.

You've asked this question in the Practice Area forum of BIRT Exchange. If this was a real question, then the Deploying BIRT Engine forum would have been a better place to ask this.

If this were a real question, I would have responded with:

If you are using the BIRT APIs in your own Java application then pass the parameters in any fashion you like using the same methods you already employ to get data into your Java class.

If you are using the WebViewerExample that ships with the BIRT Engine, then you can pass parameters using a URL syntax like below.


http://localhost:8080/birt251/frameset?__report=test.rptdesign¶m1=my+value¶m2=3



0

#3 User is offline   sonimanish 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 12
  • Joined: 04-February 10

Posted 10 March 2010 - 09:19 PM

I have installed Iserver express on my machine and created a report my passing parameters.
It's working fine when am trying to call in from iserver express control panel.

i also call that report in my asp.net application using jsapi.
when am trying to map parameter Actuate report viewer displaying its own parameters window for input.
it is ok but i want to take input from my own developed page and based on that input report should display.
here some code for your ref.

------------------------------------------------
<html>

WebForm1






<body MS_POSITIONING="GridLayout" onload="init();">










------------------------------------------------
on page load application runs init and load parameters of reports
user id and direct indirect option.


by clicking run report report capture parameters and load report in next frame

Thanks

Manish soni
0

#4 User is offline   vdodson 

  • Administrator
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 846
  • Joined: 16-July 07

Posted 11 March 2010 - 11:56 AM

Hi Manish,

These are no longer looking like practice questions so I am moving this thread to the Deploying with iServer Express forum so it can get answered there.
0

#5 User is offline   vdodson 

  • Administrator
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 846
  • Joined: 16-July 07

Posted 11 March 2010 - 12:10 PM

I can't tell what the issue is? Is it that the report loads in another frame when run from your ASP.net app? For you reference, you can find information on using the JSAPI parameter object at Programming with the JSAPI - BIRT Wiki - BIRT Exchange

After installing iServer Express trial, you can also find some JSAPI examples at /Public/JSAPI Examples. View the source for the Parameterized Viewer example since it loads in the same page.
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