Is there possible to use"URL format with the per Org feature" with the SDK?

Hi Team, According to the documentation, we can add the ORGID parameter to the URL, ensuring that users are automatically redirected to the target ORG when accessing the Liveboard for non-SDK embeding https://developers.thoughtspot.com/docs/embed-without-sdk#_url_format_with_the_per_org_feature Is it possible to achieve the same functionality using the SDK? Or does the SDK automatically handle everything once this feature is enabled on the cluster? https://developers.thoughtspot.com/docs/orgs#_orgs_context_for_sharing_links
Embed without SDK
Embed Liveboards without using Visual Embed SDK
Multi-tenancy with Orgs
You can now configure your ThoughtSpot instance as a mult-tenant cluster with separate Org containers for your tenants.
2 Replies
Sandeep
Sandeep2w ago
Yes, it is possible to achieve the same functionality using the SDK. When the Per Org URL feature is enabled on your ThoughtSpot instance, you can use the overrideOrgId parameter within the SDK to specify the Org ID. This allows a user authenticated to one Org to view objects from another Org by passing the Org ID as part of the embed configuration. For example, you can set it up like this in your SDK code: const embed = new LiveboardEmbed('#embed', { // other options overrideOrgId: 142536 }); Please refer to https://developers.thoughtspot.com/docs/orgs#_per_org_url for this Important 1. The per Org URL feature may not work properly if the user is working with embed sdk with auth types - trusted authentication(AuthType.TrustedAuthToken) or cookieless authentication(AuthType.TrustedAuthTokenCookieless) simultaneously in the same browser. 2. Currently, there is no support for this feature through the APIs. Hope this helps and let us know for any further queries.
Multi-tenancy with Orgs
You can now configure your ThoughtSpot instance as a mult-tenant cluster with separate Org containers for your tenants.
Lucjan
LucjanOP2w ago
Sandeep, big thanks for that!

Did you find this page helpful?