Brandonious - Hi team, I'm looking over the doc...
Hi team, I'm looking over the doc for creating custom links in embedded: https://visual-embed-sdk.vercel.app/docs/customize-links#_create_dynamic_routes_for_thoughtspot_pages_in_embedding_app
The document states I should be able to do something like this:
{web-app-name}.{your-domain}.com/analytics/dashboard/{liveboardId}
Is this just an example, or in the Embedded SDK somewhere can I actually set a variable for {web-app-name} and {your-domain} that will be resolved by the custom links setting in the TS config?
Customize links
Customize link format
6 Replies
Hey @Brandonious ,
Please check this.
Also the :
The variables that ThoughtSpot will substitute are only for ThoughtSpot object references, such as {object-id}, {sub-object-id}, and {ts-query-params}. These get replaced with the actual GUIDs or query parameters at runtime.
There is no built-in variable for {web-app-name} or {your-domain}—you must specify these directly in the link format string in the Link settings page.

So the problem is we have multiple instance embedding the same TS cloud instance each with its own unique domain name.
There isn’t any feature in the embedded SDK that allows us to set our own custom variables?
Quite interesting, Currently there is no way to do this, but can you raise a feature request for the same?
Sure. Can you tell me what these additionalFlags are generally used for?
https://visual-embed-sdk.vercel.app/docs/Interface_AppViewConfig#_additionalflags
AppViewConfig
The view configuration for full app embedding.
As mentioned there - mostly it's used for experimentation around new flags internally. Most of the times
The thing is we can pass the flags - as additionalFlags - which will be added as QueryParams in the url.
Gotcha. Thank you. Feature request has been opened.