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

ythomop - Hi all. Using the REST API v2, we wan...

Hi all. Using the REST API v2, we want to get a list of Models (LOGICAL_TABLE) that have a certain tag assigned. The curl command we use is the following:
curl --request POST --header 'Authorization: Bearer $(cat ./ts_admin_token)' --header 'Content-Type: application/json' --data '{"record_size":-1,"tag_identifiers":["$TS_TAG_ID"]}' $TS_URL/api/rest/2.0/metadata/search
curl --request POST --header 'Authorization: Bearer $(cat ./ts_admin_token)' --header 'Content-Type: application/json' --data '{"record_size":-1,"tag_identifiers":["$TS_TAG_ID"]}' $TS_URL/api/rest/2.0/metadata/search
This, however, returns an empty array, even though when we search by ID for one of the Models using the /metadata/search endpoint, we can see that the tag is correctly assigned to the Model. Is this a ThoughtSpot bug or are we doing something wrong?...

Shubham - Hi team ,customer sometimes see follo...

Hi team ,customer sometimes see following 404 error on embedded liveboard page, this error contains link to Homepage of TS, Is there a way we customize this error to remove that homepage link?
No description

Tim - Hello 👋 my Sage embed stopped working to...

Hello 👋 my Sage embed stopped working today. It works just fine in thoughtspot cloud, but every question I give it in the embed results in the error pictured below. I'm using the same questions in the cloud and the embed. I'm not aware of anything changing aside from a worksheet rename. I don't see any errors in the console or network logs. I'm on v1.35.9 of the visual embed sdk
No description

Mike - Hi, we're getting this error when creati...

Hi, we're getting this error when creating a user token with ABAC Failed to generate JWT Token: The requested token exceeds the prescribed limit I have a couple of questions related to this: 1. We are creating a token using the beta endpoint /api/rest/2.0/auth/token/full if we migrate to the /api/rest/2.0/auth/token/custom endpoint will there still be a character limit? 2. Can we increase this character limit for our environment? (We're hitting this limit because one of our ABAC columns contains a lot of values - we're unable to change this requirements) 3. Is there another way to solve this? ...

Andres Calderon - Hello, how do I remove the sa...

Hello, how do I remove the sample liveboard, worksheets, tables? For example how do i ensure "(Sample) Retail - Apparel" is not visible. We are unable to delete it

Shubham - Hi team , one of the customer have em...

Hi team , one of the customer have embedded few reports. and they are using trusted authentication with JIT provisioning. One of the user when logging in trying to open report but sees blank reports, no data accessible. above is the code screenshot from customer, The report is shared with Platform Parent Company group but that is not passed in above group identifiers, not sure if this can cause the issue. I have the access to their app , can someone can help here , so please let me know if y...
No description

alc-aaron - Good morning -- I was hoping someon...

Good morning -- I was hoping someone could help/provide an example of how to use the {ts-query-params} (What to expect from these) with the react components for TSE? https://developers.thoughtspot.com/docs/customize-links#_link_format_for_an_embedded_instance My assumption is some of the links will come with query params and I want to be able to handle those properly. Thanks!...
Solution:
@alc-aaron As long as you add the field {ts-query-params} in your url as part of the Search params or Hash params, that should be parsed automatically in the SDK, as the sdk reads the url and parses it. eg: https://www.mysite.com/liveboard/{object-id}?{ts-query-params} or https://www.mysite.com/#/liveboard/{object-id}/?{ts-query-params}...

Jessica - hi there! TS support has asked me to ...

hi there! TS support has asked me to raise this here - we using TSE and are requesting access to edit that iframe source code please!

Mike - Hi all, I have a quick question regardin...

Hi all, I have a quick question regarding the search user groups endpoint, is there a limit to the number that can be supplied in the record_size filter? Would it be ok to request say 500 groups at once to reduce api calls? Thanks!
Solution:
Yes we should be able to request 500 groups..

Andres Calderon - Hi All,Can someone share or ...

Hi All, Can someone share or point me to documentation on models, which have replaced worksheets. I'm trying to understand the implications of worksheets being depricated and what the differences between them are. https://docs.thoughtspot.com/cloud/latest/deprecation#_deprecated_in_10_4_0_cl...

Steve Halvorson - Hello Team, I was directed he...

Hello Team, I was directed here by support so I could post my code. I have things working with Sage and working on a Spotter embedded implementation Having 2 issues with Spotter: 1. The image doesn't change when attempting to do this according to their docs. Tried a couple different methods. The iconSpriteUrl under customizations is the parameter to modify for this, correct? 2. The initial worksheet defined in the code doesn't load or work. The other ones work fine. Seems weird that a worksheet ID is required to get this to work initially but then that worksheet doesn't work...

Prathic_BD - Hi Team, I have a question that h...

Hi Team, I have a question that has to do with using the TS: BI Server (https://docs.thoughtspot.com/software/latest/ts-bi-server). We created an answer that queries this source and we are wondering what the latency is for this to update. We simulated an action that should have created an event but when querying with the "Last 1 Hour Filter" we got no events logged. This latency is relevant as we plan on extracting info from this answer on a scheduled basis using the TS Rest API and we want to schedule our call to the API to sync with the latency of the system to avoid redundant api calls with no new info....

Vivek Chandar Joshi - Hi Team,I need a bit of ...

Hi Team, I need a bit of help. I want to create a link that captures the dashboard name and ID of the currently open dashboard and sends this information to my page. Could you guide me on how to achieve this? Please have a look on the attached image....
No description

Andy - Hi team. We have multi org set up on ou...

Hi team. We have multi org set up on our cluster. i have a number of orgs which i am a member of. Before our cluster was upgraded to v10.5 our embedded application would serve me the Org that i was currently active in our cluster. Post upgrade to 10.5 it seems to be selecting the first Org in my list. Note: we have not hardcoded the org into the embedding...

Shubham - Hi team , one of our customer is usin...

Hi team , one of our customer is using trusted auth. There will be users who needs to be auto created with their first login. I have read about JIT provisioning to create users. But not sure how to apply that or what's the procedure . Do we run this API separately when we have any new user , or is it included as a part of js code itself? Can someone please guide on this ?

chris k - Hi team, since a few days ago, our te...

Hi team, since a few days ago, our team has been getting errors from import tml apis that we haven't experienced before. I will leave details in the thread.

Hello - I have an embedded liveboard

Hello - I have an embedded liveboard with the react SDK. I want to add a custom action to some visualizations that will open the explore modal with a specific filter open. I'm having trouble finding the proper event to call to make this happen. Is it possible? If so, how should I go about it?

ferg.rose - Hi all - running into some render i...

Hi all - running into some render issues with Liveboard embedded React component. Firstly, we get the dual scrollbar issue that others have described (screenshot #1 - see two vertical scrollbars on the right). I found I could solve this using the fullHeight prop (setting it to true), however this now creates an issue with the Spotter input bar rendering way below the chat window (screenshot #2). Even without the fullHeight prop, the Spotter search bar seems to render slightly off the window (screenshot #3). Can someone please advise me on the best way to render and apply styling to the LiveboardEmbed react component in order to avoid these issues? See additional screenshot for the relevant code showing how I am currently rendering and styling the embed. FYI we are on TS version 10.4.0.cl-245....
No description

Maleta - Hello everyone,I'm working on SAML au...

Hello everyone, I'm working on SAML authentication between Auth0 and Thoughtspot. The SSO login functions correctly when accessing our Thoughtspot login page directly. However, when I attempt to use the embedded live view inside the react application (localhost), I encounter an issue where the SSO API returns "The server could not understand the request due to invalid syntax." Does anyone have suggestions on where I might be going wrong?...
No description

eddie__ - Hi,I’m experiencing a problem with ...

Hi, I’m experiencing a problem with background Liveboard content loading. Details:...
No description