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

Érico - Hello guys!We're embedding our first T...

Hello guys! We're embedding our first ThoughtSpot liveboard in our webapp, but the slowness to start rendering is very noticeble, even if we compare to the liveboard inside ThoughtSpot website. We already tried to use the prefetch technique but we didn't see any results. Have you guys already face that?...

Jack - Hey guys,Is there an action enum for h...

Hey guys, Is there an action enum for hiding the 'Go To Home' button on this screen? I don't want users to be able to go back into the thoughtspot home screen as it's not a very good UX for us...
No description

Aparnaa Marimuthu - Hi ThoughtSpot Team!How t...

Hi ThoughtSpot Team! The ThoughtSpot getChartContext() function from the TS library is not allowing me to re-render the chart. Additionally, I see TS-Playground: Message Received errors in the console every time I attempt to update styles. How can I dynamically update the chart’s appearance without reinitializing getChartContext()? ...
This is the ScreenShot of my output. The last message on the console you are seeing is being thrown, everytime I click the Apply Button. That Message is because the getChartContext() function from the ThoughtSpot library, is not allowing me to re-render the chart.

Lucjan - Hi Team, is it possible to manipluate ...

Hi Team, is it possible to manipluate the answer size on the embeded liveboard? The goal here is to change size of the answer on the bottom
Solution:
I don't think there is an autoadjust for just the vizs, though you can use fullHeight to dynamically resize according to the height of the Liveboard, but that is just for the whole liveboard not individual vizs. You would need to set the size in the liveboard only.
No description

David - Reading over the Rest API docs search m...

Reading over the Rest API docs search metadata endpoint (https://developers.thoughtspot.com/docs/restV2-playground): I am trying to get results if the user has READ_ONLY -or- MODIFY. If I include multiple principles, each for the same user, but varying the share_mode it seems to count each identity as an -and- in the lookup. If I just include a single principle READ_ONLY will that also get users with higher permissions, or will I need to make two separate API calls?...

Connor - Hi Thoughtspot team,I'm trying to re...

Hi Thoughtspot team, I'm trying to replace some text that comes up in a filter modal when a user doesn't have access to the data model in a Liveboard. You can see that below in the image I attached. We added the below code to the Thoughtspot liveboard initialization config. ``` customizations: {...
No description

Chaim Platonov - Hey,I'm writing code to sync ...

Hey, I'm writing code to sync the users of our system with ThoughtSpot. To create users in the TS I use the just-in-time provisioning But when I try to set account_status to INACTIVE using update user API I get Unable to update user state to INACTIVE from PENDING. Please activate the user to continue. Get current user info returns account_status: 'ACTIVE'....
Solution:
@Chaim Platonov if the user is not activated use reset password api to reset it's password. Post which it will be in active state and then you will be able to use the update api.

rumana-hf - Hey there. I've been trying to quic...

Hey there. I've been trying to quickly update the Link settings to top level sections of our site but it's forcing me to use placeholders. Is there a way around this? We don't want to build the specifc pages yet and want the user to be taken to the top level sections for now
Solution:
Hi @rumana-hf Can you please add {object-id}?{ts-query-params} after your URLs for Liveboard, Liveboard Visualization and Answer, add {object-id} after your SpotIQ Analytics page and add {path} to your generic link URL. This will not come up in your URL but its there just to inform user that they can add these fields as well.
No description

Tim - I have Sage embedded on my site. I'm wond...

I have Sage embedded on my site. I'm wondering if our user feedback/coaching is shared across our TS organizations? If no, is there a way to copy the trainings between organizations? We use TS organizations as dev environments so I'm wondering if I can use my staging embed to coach the model.

Alexandre Hausmann - Wex - Hey guysI need as...

Hey guys I need assistance on how to get the tab ID from the liveboard visualization or how to redirect the embedded application using the Liveboard Viz ID. I'm using custom links and we only have the "sub-object-id" that is the Viz ID. Example: ...
No description

Lexi Wagner - Hello, we are embedding TS into o...

Hello, we are embedding TS into our application and are trying to use your APIs to automate the setup. However, we are running into an issue that we would like some assistance on please Can you please confirm if it is possible to enable trusted authentication at the org level and retrieve the secret key via your API?...

chris k - Hi team, When exporting liveboards wi...

Hi team, When exporting liveboards with visualizations as CSV or XLSX, is it expected to only contain data for one visualization at a time? Is there a way to export liveboards with visualizations into csv or xlsx with data from all visualizations in the liveboard? I will post examples in the thread.

Steve Halvorson - Hello,I was sent here by su...

Hello, I was sent here by support to ask my question. Is there a way in the Spotter Embed SDK to hide the time stamp on the Chat with the AI tool?...

Mike - Hi all, we had an incident recently wher...

Hi all, we had an incident recently where ABAC was mistakenly disabled on our cluster so I'd like to setup a healthcheck of some sorts to monitor this and ensure it's working as expected. I've thought about 2 things, calling the api/rest/2.0/system/config-overrides and checking the status of the flag or preferably calling the api/rest/2.0/searchdata and ensuring the data returned is limited to the specified ABAC filters. I was just wondering if there was a better way to do this? Thanks!

Jeff - Hi everyone, Is there any way we can mon...

Hi everyone, Is there any way we can monitor scheduled liveboard statuses like we want to monitor on a daily basis all the scheduled liveboards to see if there are failing?

Tim - Pin buttons started displaying recently o...

Pin buttons started displaying recently on the explore menus on my embedded liveboards. I have them hidden via hidden actions. It started yesterday. No change to SDK and it still occurs when I disable my custom stylesheet so I don't think its anything on my end. Has anyone else reported this?

anish katoch - Hey i want to customize the live...

Hey i want to customize the liveboard in my own way.Can i do that ? if yes then how? Also can i put the external visulaization into the liveboard or not?...

ivnext - Team, any idea why TSE would timeout a...

Team, any idea why TSE would timeout after a short period of inactivity? The callback for auth passed into the init() function (via the getAuthToken parameter) does not appear to be invoked.

Al - Hi, I'm trying to call this API via C# cod...

Hi, I'm trying to call this API via C# code. I tested it in Postman, and it only accepts x-www-form-urlencoded, throwing an error when I use JSON. My issue is that I need to pass an array of strings, and despite serializing the ids part as a string[], I’m still getting a 500 error from the server. Additionally, I found that the API only works with callosum/v1 included in the URL, which makes the documentation a bit unclear. Do you have an example of how to handle this in C#?...
Solution:
The userId that you gave is supposed to be userid, can you check once using that? Also I gave this curl to chatgpt
curl -X POST --header 'Content-Type: application/x-www-form-urlencoded' --header 'Accept: application/json' -d 'type=PINBOARD_ANSWER_BOOK&ids=%5B%27fded567b-8047-4185-b702-cee652725ac7%27%2C%27c88c508c-5965-4c85-9cec-236c5ef57ac5%27%5D&userid=7e9b23ce-f954-426a-986a-d1aa8be52414' 'https://{tsurl}/callosum/v1/tspublic/v1/metadata/markunmarkfavoritefor'
curl -X POST --header 'Content-Type: application/x-www-form-urlencoded' --header 'Accept: application/json' -d 'type=PINBOARD_ANSWER_BOOK&ids=%5B%27fded567b-8047-4185-b702-cee652725ac7%27%2C%27c88c508c-5965-4c85-9cec-236c5ef57ac5%27%5D&userid=7e9b23ce-f954-426a-986a-d1aa8be52414' 'https://{tsurl}/callosum/v1/tspublic/v1/metadata/markunmarkfavoritefor'
to code for C# this is what is produced : ```...
No description

Tim - My ThoughtSpot embed stopped rendering wi...

My ThoughtSpot embed stopped rendering within Fullstory about a month ago. As far as I can tell, nothing has really changed with my fullstory configuration or liveboard embed code. Are there any settings I need to change in TS to make it work that may have been reverted by accident? Has anyone else reported similar issues?