ThoughtSpot For Developers

TFD

ThoughtSpot For Developers

Join the community to ask questions about ThoughtSpot For Developers and get answers from other members.

Join

help

dev-help

Hello, would someone be able to advise

Hello, would someone be able to advise the most reliable way to achieve dynamic resizing of AppEmbed? That is to say, the iframe should have a static height style in pixels which corresponds to the inner window height of the iframe contents so that we don't end up with two scrollbars in the top window. We've experimented with the frameParams and fullHeight props on AppEmbed but somehow only one of us is able to achieve the desired effect.

Hi team, I would like to highlight two

Hi team, I would like to highlight two exceptional behaviour of TSE with one of the customer. 1. they had created user groups for different use cases but they want there users to give options to explore, they are facing issue with the privileges they are giving to those groups. They are not able to access the explore functionality without the admin rights and they don't want their users to have admin privileges although they had hide all the other edit options but still this is not the expected behaviour of TSE, I had already checked that on our internal cluster. 2. they have to login to their cluster every morning to make their TSE app visible to the end users which is again not a great user experience. If they are failed to login or refresh their cluster via admin login the TSE app shows the error "Page not found", is there any thing that needs to be done there?...

Hi Team, do we have SpotIQ and Answers

Hi Team, do we have SpotIQ and Answers Reactjs embed components similar to LiveboardEmbed and SearchEmbed?

CSS for V2 Liveboard

Hi team would like your input on this while using v1 liveboard there was no react grid available in v1 liveboard hence there we could customize the liveboard using classnames and it would work properly even in responsiveness we could arrange KPI and charts according and those style would apply to its respective errors also but while in v2 liveboard we are not able to do the same since it uses react-grid-layout ...

"Illegal base64 character" in ThoughtSpot Authentication

My authentication integration is failing with the error "Illegal base64 character 2d" for certain usernames. I would like to know how best to work around the issue. I am using a custom authentication service to facilitate authentication from my application to the ThoughtSpot GUI. The technique I am using uses the POST /api/rest/2.0/auth/token/full and POST /tspublic/v1/session/login/token methods of the ThoughtSpot API. The response from the auth/token/full endpoint is a Base64-encoded string that includes the user's username along with a session token. Our system's usernames have a standard format that includes a tilde (~) character. When the tilde character appears after 38 characters, standard Base64 encoding produces a plus sign:...
No description

We are trying to prove that we support

We are trying to prove that we support French for our Canadian customers. However, when I set my language to French (Canadian), our TS embed instance still displays everything in English. I have confirmed that we do not set the language in the AppEmbed call.

I tried to create worksheet using Import

I tried to create worksheet using Import TML, getting 500 back { "metadata_tmls": [ "worksheet": { "name": "testdataset2WS",...

CSS customization framework

Hi Team, for customising/overriding CSS styles, the only way is to use jsdelivr url? https://developers.thoughtspot.com/docs/custom-css#_overview We are using GitLab, it's not supported by jsdelivr...

Hi team!

Hi team! One problem we are facing in v2 liveboards in 9.5.0 version for the KPIs styling. We are giving a particular set of styling to KPI headers and we are differentiating the KPI headers and the chart headers in a particular liveboard using the class "tile-extraSmall" which is there for KPIs, unlike for charts we are getting "tile-custom". But when we are rendering our code in the iframe for testing purpose as in the customer portal our code will be rendered inside an iframe, so at that time the class "tile-extraSmall" is not coming for the kpis instead the class "tile-custom" is coming for both KPIs and charts and our custom CSS styles are failing to apply. I have attached a file for your reference....
No description

Hello. If I use the JavaScript SDK to

Hello. If I use the JavaScript SDK to call the V2 API using the method, importMetadataTML() with the TML below then it responds with a 403 which I'm pretty sure is masking a 500. Anyway, we don't really have confidence in the API if it sometimes returns a 403 and we are relying on it to handle deployments. I'm pretty sure it's something to do with the HTML
{"guid": "4f6ee881-a94a-409b-8254-0f2a5c93465d","liveboard": {"name": "ImporTest","visualizations": [{"id": "Viz_1","viz_guid": "5fa44a49-9900-46c6-9eee-2f378c4212bc","note_tile": {"html_parsed_string": "<h1 dir=\"ltr\"><span style=\"white-space: pre-wrap;\">Test</span></h1><p class=\"theme-module__editor-paragraph\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">This is a test liveboard for the deployment process</span></p><div class=\"pinboard-note-tile-module__noteTileBg editor-module__bgNode\" style=\"background-color: rgb(255, 255, 255);\"></div>"}}],"layout": {"tiles": [{"visualization_id": "Viz_1","x": 0,"y": 0,"height": 4,"width": 3}]}}}
{"guid": "4f6ee881-a94a-409b-8254-0f2a5c93465d","liveboard": {"name": "ImporTest","visualizations": [{"id": "Viz_1","viz_guid": "5fa44a49-9900-46c6-9eee-2f378c4212bc","note_tile": {"html_parsed_string": "<h1 dir=\"ltr\"><span style=\"white-space: pre-wrap;\">Test</span></h1><p class=\"theme-module__editor-paragraph\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">This is a test liveboard for the deployment process</span></p><div class=\"pinboard-note-tile-module__noteTileBg editor-module__bgNode\" style=\"background-color: rgb(255, 255, 255);\"></div>"}}],"layout": {"tiles": [{"visualization_id": "Viz_1","x": 0,"y": 0,"height": 4,"width": 3}]}}}
...

Hi team! I am using Thoughtspot Embed

Hi team! I am using Thoughtspot Embed SDK to embed Liveboards into our app, and I was curious if there was a way to hide Error details that show specific information regarding our database like the name of the database, who it was created by, when it was created/modified, the datasource, etc. It seems like the "Last modified by" is "Not displayed because of permissions" and I was curious if that was something we can do with the other variables. Examples posted. Thanks!
No description

Hello team - Is it possible to customize

Hello team - Is it possible to customize the subject line on a scheduled liveboard email from an embed?

Encrypting Secret key

Hello Team, Is there a way to encrypt secret key and send it to ThoughtSpot for TrustedAuthTokenCookieless Authentication

Hello Team

Hello Team @ashish @shikharTS @bill_da_golfer Could any of you please help me here? On the SearchEmbed while doing Pin to any answer earlier, I used to get an action of Create Liveboard but now I am not getting that option....
No description

How can I hide the "market filter" in my

How can I hide the "market filter" in my embedded liveboard using ThoughtSpot's JavaScript library (i.e., @thoughtspot/visual-embed-sdk?
No description

Hello team, we are facing an error where

Hello team, we are facing an error where liveboard is throwing 'query timeout' is their a way to fix this? I understand this exception is dependent on how data source is arranged, but as a quick fix is their a way to increase timeout from 60secs?

Hey @Aditya Thanks for the reply. Here

Hey @Aditya Thanks for the reply. Here is the code snippet I am using to generate my JWT Token const express = require('express'); const jwt = require('jsonwebtoken'); const dotenv = require('dotenv');...

Hello team, a general question

Hello team, a general question 1. how are other customers integrating charts in their product 2. should a new chart is made available or upgrade to old one is availabe how should they be rolled out?...

Hello team, is their a way to remove '

Hello team, is their a way to remove 'powered by ThoughtSpot' from bottom in embedded widget?
No description

Hi TS - is there an API for

Hi TS - is there an API for programmatically sharing TS liveboards? I saw that internally in TS there is an endpoint /prism/?op=Share that is posted to, but there is no documentation of the fields. Is there a supported public API for updating permissions and sharing for a particular object? Thank you!