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

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?

Prathic_BD - I am trying to add an event listen...

I am trying to add an event listener to all things as documented here: https://developers.thoughtspot.com/docs/Enumeration_EmbedEvent#_all. I am not too sure exactly where to hook this listener onto though. Currently we init the sdk like this: authStatus = init({ thoughtSpotHost: TS_HOST, authType: AuthType.TrustedAuthTokenCookieless, username: user,...

alc-aaron - Hi, I had a question regarding sele...

Hi, I had a question regarding selecting a data source. Is it possible to intercept this source selector and run custom logic when that is selected? I.e Display a different page/dialog
Solution:
I don't think we have anything readymade for this right now, but you can hide the choose sources button (https://developers.thoughtspot.com/docs/Enumeration_Action#_choosedatasources), build your own button to click on and then display whatever page/dialog you want.
No description

ferg.rose - Hi all - with the full app embed, i...

Hi all - with the full app embed, is there any way to hide the home page top navbar whilst showing the left side navbar? The prop showPrimaryNavbar displays them both but there seems to be no way to isolate the side navbar.

Geovane - [Simple New config request]Hello TS...

[Simple New config request] Hello TS team šŸ‘‹ I am taking a deeper look at the source code and one small change would offer a huge improvement for us. ...
No description