use parameter to set runtime xlsx report document [message #1703264] |
Wed, 29 July 2015 23:22 |
Jeff Stouse Messages: 28 Registered: May 2012 |
Junior Member |
|
|
Thanks in advance,
I'm using BIRT Runtime 4.4.2 with a report design that prompts the user for a value. I want to take the parameter value and pass it to the BIRT Runtime report document name.
For example, if in response to the parameter prompt, the value of the parameter is now "Johnson," then I want that to become the name or the xlsx document that is automatically named/rendered to the default directory - the user doesn't have to do anything after entering the parameter value and hitting enter.
I'm aware of the various script options, but not sure where to place them in the report or what specifically to use in the report string to designate the report document name.
Should I use the afterfactory event to grab the value of the parameter? If so, how do i pass that to something that the report string (url?) on the jsp page will understand?
New to all of this, so as much detail (where you can point me to go, what to read) without having to use Java would be much appreciated.
thanks again,
|
|
|
|
|
|
|
Re: use parameter to set runtime xlsx report document [message #1705210 is a reply to message #1705186] |
Wed, 12 August 2015 20:29 |
Jeff Stouse Messages: 28 Registered: May 2012 |
Junior Member |
|
|
OK,
So it sounds like a non-programmer like me has some learning to do.
First:
When you say I need to create custom parameters page, you mean that the report parameter option within the report design will capture the information I need, but then I cannot pass that information to the portion of the configuration that specifies the name and file location, so I have to design a custom javascript page that asks for the same information (what is now the report parameter), and also ask for the desired folder location (or just assign a folder location (the location becomes less important if I can rename the report output.)
Second: I need to use the runtime to not use the BIRT web viewer, to generate the excel output? I'm not sure what this means, but if you point me to the documentation on this, I will figure it out... Once the runtime generates the file, I need to...
Third: I need to create a display another HTML page containing: the name of the (Excel) output file (using the inputted parameter in step 1), into the default folder location I have also added.
Am I understanding what is needed? If so, could you point me to the corresponding documentation?
Thanks for all of your help.
|
|
|
Powered by
FUDForum. Page generated in 0.03206 seconds