Open different pages with custom interaction depending on variable value

Stimulsoft Dashboards.WEB discussion
Post Reply
jlorue
Posts: 126
Joined: Thu Apr 15, 2021 6:33 pm

Open different pages with custom interaction depending on variable value

Post by jlorue »

Hi,
I have a dashboard that has 3 pages:
- Page 1: it shows a table.
- Column 1 has "custom interaction". That means that if I click on a value of the column it opens the report of Page 2
- Column 2 is similar to column 1, but when I click on it, it opens page 3 instead.

- Page 2: report "A" that is called from the column 1 of the table of page 1

- Page 3: report "B" that is called from the column 2 of the table of page 1

This is what I need: Instead of having 2 columns in page 1 that call 2 different pages, I need to click on a single column and, depending on its value, it will open Page 2 or Page3

Is that possible?
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Open different pages with custom interaction depending on variable value

Post by Lech Kulikowski »

Hello,

It is not possible with one Text component. You can place two text components and use Condition to show only necessary.

Thank you.
Attachments
ReportSample.mrt
(7.94 KiB) Downloaded 106 times
jlorue
Posts: 126
Joined: Thu Apr 15, 2021 6:33 pm

Re: Open different pages with custom interaction depending on variable value

Post by jlorue »

Thanks Lech for the example. As I am not an expert, it is still difficult to me to figure out how to use it.

In your example all your pages are reports. In my case, the initial table is in a dashboard, while the other pages are reports as you can see in the attached image.

I hope this image can explain it better. If I click on a cell of the Dashboard table and its value is 1, then it should go to page 1. If the value is 2, it should go to page 2 when clicked , and to page 3 if the value is 3.

How can I do that?
Attachments
Routing.png
Routing.png (122.82 KiB) Viewed 935 times
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Open different pages with custom interaction depending on variable value

Post by Lech Kulikowski »

Hello,

In that case, you can use one page and show the necessary content by Condition.

Thank you.
Attachments
dbsdrilldownpages.mrt
(795.99 KiB) Downloaded 102 times
jlorue
Posts: 126
Joined: Thu Apr 15, 2021 6:33 pm

Re: Open different pages with custom interaction depending on variable value

Post by jlorue »

It looks good. Thanks Lech!
Max Shamanov
Posts: 786
Joined: Tue Sep 07, 2021 10:11 am

Re: Open different pages with custom interaction depending on variable value

Post by Max Shamanov »

Hello,

You are welcome!
Post Reply