Pass Parameter to Embedded Console Experience

How can I pass data from my application into a parameter in the Embedded Console Experience.

I see we can use ContentOptions in the Dashboard Experience but I need to be able to set a parameter value in the embedded console that my dashboards can then pick up and use.

Hi @mchrenka ,

You should be able to append the parameter as a querystring to the end of the generated url either with ‘&’ or ‘#’. See here.

Hope that helps.

ws

So I can tack on a parameter in “generateEmbedUrlForRegisteredUser” and it will make it to the console.

i.e. a URL is generated such as:

https://us-east-1.quicksight.aws.amazon.com/embedding/222.......92/start/dashboards?isauthcode=true&identityprovider=quicksight&code=AYABeJ......w%3D%3D#p.param1=val1

Then when the console loads I can see that parameter is in the URL.

But then when you click on a dashboard, it goes away.

Surely there has to be a way to get a parameter from a customers application into the embedded console environment permanently so each dashboard can read that parameter???

@mchrenka
see if this helps. this is how I was doing the same.

import boto3

client = boto3.client('quicksight')
embeded_url = client.generate_embed_url_for_anonymous_user(**kwargs)
embeded_url += `&{parameter}={value}`