Hey Team, We have embedded the App using
Hey Team, We have embedded the App using the Visual embed SDK and everything looks ok. However users are able to open the links from the iFrame into a new tab and they are taken to the main thoughtspot application. Is there any way to prevent this or alternatively take the user to our embedded application's URL

16 Replies
Hi @rumana-hf :
We have an EA feature available from 10.5.0.cl release version where this can be controlled on whether the user should be allowed to access main Thoughtspot application. Could you please have a look at the documentation around this and then we can take it forward to enable this feature for your instance.
https://developers.thoughtspot.com/docs/Interface_EmbedConfig#_blocknonembedfullappaccess
cc: @Himanshu Arora
EmbedConfig
The configuration object for embedding ThoughtSpot content. It includes the ThoughtSpot hostname or IP address, the type of authentication, and the authentication endpoint if a trusted authentication server is used.
Yes this looks like what we are after. Could you please enable this feature for us?
Hi @rumana-hf : If your cluster instance is on version 10.5.0.cl, could you please file a support case to have this feature turned on.
Feature flag for reference "enableSelectiveUserAccessRestriction"
We're on 10.4.0.cl-245

Can I still submit a support case?
I just went ahead and submitted the support case
This is Early access feature from 10.5.0.cl release, so won't be working. If this can't wait until then, refer to https://developers.thoughtspot.com/docs/selective-user-access and any of the two content:
- Blocking complete access to non-embedded content
- Selective user access to non-embedded content (Early Access) -- This is available from 10.5.0.cl onwards
For your use-case, you can try "Blocking complete access to non-embedded content" for now but we recommend waiting for 10.5.0.cl release
User access to non-embedded content
Selective user access for TSE customers
When is the 10.5.0 release happening?
@rumana-hf - Also check this out: https://developers.thoughtspot.com/docs/customize-links
Customize links
Customize link format
I would recommend having selective user access as well as customizing links
hi @utsav.kapoor @Sandeep
bringing this case back up. we have implmented the custom links as seen in screenshot (as well as the selective user access) but the links in our embed will still take a user away from our embedded app (analytics.humanforce.com) and to the ThoughtSpot application (thoughtspot.humanforce.com)
You can see the domain for link in the first screenshot is for thoughtspot.humanforce.com
Are we missing something there?
cc: @Suvash


is it happening when you click on it. what I mean it will work fine with left click. are you trying to use keyboard or right click to open the link ?
Hi @utsav.kapoor its happening anytime and hover only, we can see the ThoughtSpot link.
middle mouse button,
right click and open in new tab,
copy link.
So, our users are supposed to be able access analytics.humanforce only. if they open it in a new tab, then they would be redirected to the ThoughtSpot instance for humanforce.
Yeah. I understand this now. I have actually ask the CSM to setup a call with you so we can go through some of the open threads that we have going on and answer any other questions next week. Lets discuss it there and see if we can provide you some workarounds. on the open issues
thanks utsav.
an dditional one to discuss (in regards to links) is the sync to slack uses our thoughtspot app domain and not our embedded app in the link

Hi @Suvash Please add
linkOverride
flag to true in your embed method to make it work for open in new tab when you right click on the tab.
Also, you can disable opening of new link in new tab using this flag -
disableRedirectionLinksInNewTab
to true
Relevant documentation - https://developers.thoughtspot.com/docs/Interface_SearchViewConfig#_disableredirectionlinksinnewtab
https://developers.thoughtspot.com/docs/Interface_SearchViewConfig#_linkoverride
Let me know if this doesn't works for you.SearchViewConfig
The configuration attributes for the embedded search view.
hi @Aditya thank you for the response. We will give this a go and see how it goes 🙏