Page 1 of 1
Parameters in URL
Posted: Thu Jun 18, 2015 2:16 pm
by AgataR
Hello.
Our company is evaluating your product Stimulsoft Reports.Server. I have one question. If we make the report public, and it contains parameters, will the end user be able to pass parameters via the URL?
Re: Parameters in URL
Posted: Fri Jun 19, 2015 9:51 am
by Alex K.
Hello,
Yes, it possible. You can use the following string:
shareurl?parameter1=value1¶meter2=value2
Thank you.
Re: Parameters in URL
Posted: Wed Oct 06, 2021 9:11 pm
by mjimeno
Hello, I need to know if I can get the parameters from the viewer url and put the information in a report. In this same example, how do you pass the param 1 and its value? Do you create a variable and instantiate it with {} or is it another way?
Re: Parameters in URL
Posted: Wed Oct 06, 2021 9:39 pm
by Lech Kulikowski
Hello,
You need to create a variable with the necessary name.
Thank you.
Re: Parameters in URL
Posted: Thu Oct 07, 2021 2:32 pm
by mjimeno
Lech Kulikowski wrote: ↑Wed Oct 06, 2021 9:39 pm
Hello,
You need to create a variable with the necessary name.
Thank you.
What I did was create the variable CUENTA, which is the one I have as a parameter but it still does not display where I left it written (red box link image OUTPUT).
Dictionary:
Variable CUENTA:
Output:
Should I create the variable in Formula Fields or Parameters Fields? And creating it, what should I call it in the report? With {CUENTA} or otherwise?
Thanks for your reply.
Re: Parameters in URL
Posted: Fri Oct 08, 2021 11:46 am
by mjimeno
What I did was create the variable CUENTA, which is the one I have as a parameter but it still does not display where I left it written (red box link image OUTPUT).
Dictionary:
Variable CUENTA:
Output:
Should I create the variable in Formula Fields or Parameters Fields? And creating it, what should I call it in the report? With {CUENTA} or otherwise?
Thanks for your reply.
Re: Parameters in URL
Posted: Fri Oct 08, 2021 7:43 pm
by Lech Kulikowski
Hello,
Use your variable as an expression for the text component.
Thank you.