Hi Shahzad, Thanks for your response. I will try that. Unfortunately with not clear reason I got this Windows Sharepoint Service error in my event viewer and my sites doesn't work.
"Requested registry access is not allowed" Regards, Agus On 9/11/07, Shahzad Butt <[EMAIL PROTECTED]> wrote: > > When sending parameter use webLink.addOrUpdateExtraParam(#myParm, "my > parameter value") > > To extract _myParm = webSession().getParm(#myParm); > > Regards, > > Shahzad > > ________________________________ > > From: > Axapta-Knowledge-Village@yahoogroups.com<Axapta-Knowledge-Village%40yahoogroups.com> > [mailto:Axapta-Knowledge-Village@yahoogroups.com<Axapta-Knowledge-Village%40yahoogroups.com>] > On Behalf Of Agus > Riyadi > Sent: 11 September 2007 05:16 > To: axapta-knowledge-village > Subject: [Axapta-Knowledge-Village] EP Passing parameter to report > displayed as web output content item > > > Dear All, > > I have a webform which has some value that I need to send to a standard > report displayed as web report upon closedOk(). > Here is my code : > > weblink = new weblink(); > > webUrlMenuFunction = new WebUrlMenuFunction(weburlitemstr(myReport)); > weblink.parm("my parameter"); > > webLink.menufunction(webUrlMenuFunction); > webSession().redirect(webLink); > > Then in the target report's init() method I put a code : > > myparam = element.args().parm(). > > But this doesn't work. No value is retrieved. > My goal is to send a range value to the report. I looked for > documentation but didn't find any way to pass an object in Enterprises > Portal so I guess the work around is using string parameter, but again > this > doesn't work. > Note that my target report is standard Axapta report, but displayed as > web > report. > > Any comment would be appreciated. Or if you know other approach to > specify > query to a report displayed in EP that would be great. > > AX4.0 SP1 WSS 3.0 IIS 6. > > Regards, > > Agus > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed] > > > [Non-text portions of this message have been removed]