Set flag through URL parameters

Here is my situation: I have a dashboard embedded into a non-Dundas web page. All of the layers except the initial one show a lot of data so I want to launch this dashboard in a new window (not embedded in the non-Dundas web page) if the user clicks anything. Basically, the embedded is just to show the initial data. To accomplish this, I put a transparent rectangle over the entire dashboard which will launch a new window to the same dashboard view on the Click event. This works perfect. BUT, I want this rectangle be hidden on the new launched window so that any additional clicking will keep the user in this new window as they do everything because it is no longer embedded in the original parent window. I have tried changing a placeholder label labeltext before launching the new window but the value doesn’t persist. Is there any way to send a flag in the URL that I can code off of in the launched window Ready event to hide the rectangle? Or any other ideas on how to accomplish this? Thanks.

Jeff has helped us do somthing similar before.

What you need to do is to add the flag to the url as part of the query (www.blahblah.com?flagName= something) and then use window.dundas.context.originalQueryString["flagName"] to get it in your script

1 Like

That is exactly what I needed, thank you so much!!

1 Like

No problem - happy to spread the knowledge!

2 Likes