Last Updated: 30 Jun 2020 09:31 by Mirzodaler
Created on: 30 Jun 2020 08:38
Type: Feature Request
Provide a way to send additional parameters from web designer

I have a following default code in a html file for a web designer.

$(document).ready(function () {
                persistSession: false,
                toolboxArea: {
                    layout: "list"
                serviceUrl: "some url",
                report: "some_report_name",

I have also a custom report storage implemented from IDefinitionStorage, where I have a GetDefinition("some_report_name") method implemented in a custom way. In order to do that, I need to send additional parameters from a web designer (html code provided previously) but don't know how to do that. 

For example, I need to open SalesInvoice.trdx file and I do a following: report: "SalesInvoice.trdx". If i need to send additional parameter, let's say some kind of token, there is no good place to send it. As a work around, i am doing report: "SalesInvoice.trdx&token=123". The problem with this, it is appearing in a title of a web designer and I don't want that. In an attachments, there is a screenshot where it looks good with a simple name and the one which has a token in it.

So, the question is, can I send other parameters as well from a client side of web designer to the server like parameters or so?

In a HTML5 ReportViewer we can send report file name and parameters as a reportSource like this:

                    serviceUrl: serviceUrl,
                    reportSource: {
                        report: reportUrl,
                        parameters: reportParams,

Can we do the same? Or how can I do that?

1 comment
Posted on: 30 Jun 2020 09:31
The discussion about this feature request can be found here: Sending additional parameters from web designer