Parameters in URL

Stimulsoft BI Server discussion
Post Reply
AgataR
Posts: 1
Joined: Thu Jun 18, 2015 2:13 pm

Parameters in URL

Post 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?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Parameters in URL

Post by Alex K. »

Hello,

Yes, it possible. You can use the following string:
shareurl?parameter1=value1&parameter2=value2

Thank you.
Attachments
Untitled.png
Untitled.png (124.08 KiB) Viewed 12218 times
mjimeno
Posts: 5
Joined: Wed Oct 06, 2021 9:06 pm

Re: Parameters in URL

Post 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?
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Parameters in URL

Post by Lech Kulikowski »

Hello,

You need to create a variable with the necessary name.

Thank you.
mjimeno
Posts: 5
Joined: Wed Oct 06, 2021 9:06 pm

Re: Parameters in URL

Post 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:
Image

Variable CUENTA:
Image

Output:
Image

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.
Last edited by mjimeno on Fri Oct 08, 2021 2:39 pm, edited 1 time in total.
mjimeno
Posts: 5
Joined: Wed Oct 06, 2021 9:06 pm

Re: Parameters in URL

Post 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:
Image

Variable CUENTA:
Image

Output:
Image

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.
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Parameters in URL

Post by Lech Kulikowski »

Hello,

Use your variable as an expression for the text component.

Thank you.
Post Reply