I have a doubt in a very specific scenario. I'm using Reports.Web (HTML5 Editor/Viewer) with last pre-release build (2015/08/07). I'm developing an MVC4 application that allows user to create some predifined DataSets with predifined filters where they can pass the values to them before being created. Once this is done, the application creates the Datasets (with relations if needed and exists and creats the dictionary and so on...) and pass it to the report they are creating/editing.
Since there is no possibility to create some kind of reports because of our Data Model and limitations of web Designer (For example, no cross-tab) and requirements (Users cannot create their queries as the data we provide is confidential and we filter the data they can retrieve), I will have to pre-define some speceific queries and then pass to them the filters they want to have (Basically, period of time) via parameters. Those filters, are being defined in a form by users, and I need to pass them to the report. My idea is:
1- Read form, take values and store it in a report value.
2- In the query, where I have set the parameters, pass the value from the variable to the query parameter
So my questions are basically 2:
- I've set a parameter and in the expression, I selected the variable I'm trying to get the value from. Is this possible? I've seen that it is in documentation, but I guess I'm doing something wrong. Please see attachment.
- Can I pass values via code to the parameters? or should I pass the value to the variable and then assign the parameter with variable data? Is there any other possibility or a better way to implement what I've described
Please, I know it's a little bit confusing trying to describe all this in words, if something's not clear, don't hesitate asking for more.
Thanks in advance for the support I've already received, I appreciatte it!

Regards,

