Difference between revisions of "Web Parameters"
(→See Also) |
|||
Line 18: | Line 18: | ||
[[File:AddWebParameter3.png|center|400px]] | [[File:AddWebParameter3.png|center|400px]] | ||
+ | |||
+ | ==Multiple Parameters== | ||
+ | If you select a range when creating your parameter you can pass in multiple values to populate the workbook. One value will go into each cell. To add multiple values you repeat the parameter name for each value. e.g.: | ||
+ | |||
+ | <pre>http://myServer/xlcubedweb/WebForm/ShowReport.aspx?rep=MyFolder%MyReport.xml&products=food&products=drink</pre> | ||
==See Also== | ==See Also== |
Revision as of 11:52, 9 May 2016
Web parameters are intended to enable XLCubed Web Edition reports to be invoked from other applications. Using web parameters, it's possible to embed a cell value or an argument for one of the hierarchies into the URL which is generated for the report. This means any calling application can populate this parameter, and open the Web Edition report with the required restriction already in place.
Web parameters can be added and existing ones managed by using the Add Web Parameter... and Manage Web Parameters... dialogs respectively:
In Excel 2003 and below, these can be found on the XLCubed > Web Parameters menu.
Using Web Parameters Example
- Click on the cell where you would like the parameterised value to be, and select the Add Web Parameter... ribbon item
- In the dialog, you can give the parameter a name. This name will be used by XLCubed Web Edition to identify the parameter:
- When the report is published, after first opening it, go to the Web Edition homepage. From here, you can view the defined parameters (
):
- After entering the parameters as required, you can use the Get URL button to generate a link, which can be used from calling applications:
Multiple Parameters
If you select a range when creating your parameter you can pass in multiple values to populate the workbook. One value will go into each cell. To add multiple values you repeat the parameter name for each value. e.g.:
http://myServer/xlcubedweb/WebForm/ShowReport.aspx?rep=MyFolder%MyReport.xml&products=food&products=drink