I want a report to be started by activating a link in which the input arguments are coded like
How can I address this? The report is an excel report so I currently can not do this using the Jasper Reports servlet. Thanks, Ronald. |
Hi Ronald, To achieve your request, you can pass your arguments in the application URL as a bookmark:
In the postOpen event of your application, you can retrieve the entire bookmark string( Hope this helps, Ah, was searching for url .... is bookmark. Thanks, I think I can do this. :-D
(04 Mar '13, 10:19)
ik_zelf
Hi Ibrahim, apart from the post open event, is there anything else I should do to get the bookmark? I can see that my event code is executed but I do not get a value for the bookmark.
(04 Mar '13, 11:42)
ik_zelf
getBookmark public varchar2 getBookmark()
Do I have to define anything to use this? Currently I just created an empty application with the default main panel and gave it a datasource with query and the postopen event defined. Not a bit more.
(04 Mar '13, 13:59)
ik_zelf
|
Hi Ronald, You don't have to define anything to use the bookmark, it should be sufficient to add your parameters to the application url as bookmark and call http://formspideronline.com/formspider/main.jsp?name=bookmarkDemo#&arg1=foo&arg2=bar http://formspideronline.com/formspider/main.jsp?name=bookmarkDemo#myBookmark The code called in the application postOpen event is:
Hope this helps, OK, I have seen the little shining bit that tricked me .... I wrote ?my_app&arg1=foo&arg2=bar and it should have been ?my_app#arg1=foo&arg2=bar -> gives "arg1=foo&arg2=bar" thanks! :-D
(04 Mar '13, 14:56)
ik_zelf
|