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

Ashot - @shikharTS hello, I’m embedding a Thou...

@shikharTS hello, I’m embedding a ThoughtSpot iframe on my website, but I’m facing an issue where the iframe height doesn’t adjust dynamically when switching tabs inside the iframe. As a result, some charts are getting cut off. Could you please advise on how to make the iframe height adjust dynamically based on its content? If there are any specific configurations or best practices for handling this within ThoughtSpot, I’d appreciate your guidance....
No description

Jeff - Hi, any suggestion on how can we extract...

Hi, any suggestion on how can we extract all the user list in our cluster without any interruption?. Currently, the user api is timing out due to the amount of data in the get request.

TomerLand - Hey. I have a problem with a query....

Hey. I have a problem with a query. I want to create an answer that shows some counts of an entity (that is group by 2 columns) and the total percentage of the total counts. spotter always tries to apply the total count on top of the grouping, and I can't figure out what how to add a total count in this query. in SQL is quite simple, for example ``WITH data AS ( SELECT COUNT(*) AS cnt FROM env0-data-warehouse.env0_dbt_dev.entities_environments` ) SELECT ...

Mark Gorman - Hi I have a question about ismand...

Hi I have a question about is_mandatory_token_filter...

Suresh - ELMO - Hi, I am getting "Invalid YAML/...

Hi, I am getting "Invalid YAML/JSON syntax in file." when creating a model with join. I believe there needs to single quote around 'on' key and value of joins attribute.

Suvash - Hi team, when we invoke the SDK init()...

Hi team, when we invoke the SDK init(), it creates a session in the ThoughtSpot cluster right?. One way to invalidate the session is to invoke the logout function. If not for logout, how long does the session last? Is there a way to control the session expiry time? Is there any documents around this? I couldn't find it in developer docs.

Tim - Hello 👋 we embed liveboards with the sdk...

Hello 👋 we embed liveboards with the sdk and currently have to manually enable CORS settings for every preview app and its kind of a pain. Our preview app domains are in the format pr-${number}.preview.mycompany.com . I was wondering if there's a way to configure our CORS with a wildcard for the number. Based on these docs it seems like no, but maybe yall know a workaround? If so that would be amazing

Stellnox - Hi everyone! I'm working right now o...

Hi everyone! I'm working right now on embedding Spotter in my project, but I've faced the issue where spotter wont show up, also I was not able to find actual spotter functionality on the instance that I'm using for development, does it mean that I have to enabled it somehow?

TomerLand - I tried to commit new answer from T...

I tried to commit new answer from ThoughTpot the our reository. till yesterday it was working well, but now I'm getting ```{ "error": { "message": { "debug": {...

Oldouz - Hi everyone, I need to see which liveb...

Hi everyone, I need to see which liveboards and answer boards have been shared, and what users and user groups they have been shared with. I have used the v1/metadata/list to capture liveboards and answers . There appears to be a "isSharedViaConnection" key in the output but all the values are fals. This is for 2.5K pinboard answer books. So it appears they are all false - which is odd. I am not seeing how to get this information out of the t/2.0/security/metadata/share endpoint. Does anyone hav...
Solution:
If you want to try the other way around, i.e., see which user/group has access to which object, you can try POST /api/rest/2.0/security/principals/fetch-permissions

rumana-hf - Hey there! We've embedded each of t...

Hey there! We've embedded each of the features into a separate page and after the update, it feels like the header for Liveboards (we call Dashboards) and Answers (we call Visualisations) have moved to the left and is not aligned with the rest of the content. The content for Monitor Subscriptions seems correctly aligned. Is this possible to fix?
No description

Érico - Hello!I'm facing an issue related to ...

Hello! I'm facing an issue related to how ThoughtSpot handles the connections to our PostgreSQL database. We're seeing a lot of ThoughtSpot-opened connections and it's creating new ones until it reaches the max connections limit. Also, TS doesn't reuse the connections already opened, so when it reaches the limit, TS can't connect to the database (and neither do we) and we're forced to restart it. How can I solve that?...

Patrick Zuar - Hi there, Does someone have sa...

Hi there, Does someone have sample code or advice where to start with a very basic drop down to switch between orgs? all attempts I have made are resulting in the org switching but then reverting back to my starting org? ...

alc-aaron - Hi all, My cluster is on 10.6 and...

Hi all, My cluster is on 10.6 and I am trying to make a call to
api/rest/2.0/system/banner
api/rest/2.0/system/banner
. I am calling from a domain which I have whitelisted on the security settings. I seem to be getting CORS errors still when making this request. ...
No description

Noan - Hi Thoughtspot,The version control API ...

Hi Thoughtspot, The version control API does not seem to allow to commit a TAG (see the picture). Is it possible to version tags applied to a liveboard ? If not, why ? And how do you suggest we deploy our tags from our dev org to other orgs (e.g. test and prod)....
Solution:
We do not allow tags as part of TML as of now and hence we cannot allow version controlling as of now. Can you reach out to in-app chat support to see if they can help find a better way to deploy tags from one org to other org. I think it might only be manual
No description

Nikhil Kumaran S - Hi @shikharTS, I have raised...

Hi @shikharTS, I have raised a feature request - https://community.thoughtspot.com/s/idea/087Uk000000hp7JIAQ/detail Please take it forward and do the needful. Also let me know when can we expect this to be implemented.

Hi, I’ve encountered a problem when

Hi, I’ve encountered a problem when applying runtime filters on object access token. This is my use case: - I need to have a token with runtime filter ONLY for a specific liveboard - The liveboard should also support another filter, for a different column, - The liveboard should be embedded in our app, while applying both the filter on the token and the additional filter...

Anish Katoch - i successfully loaded the data b...

i successfully loaded the data but my data is not showing here .. it happens after maintenance
No description

Anish Katoch - when i am using my worksheet id ...

when i am using my worksheet id in the thoughspot spotter embedded is showing me the error. "Something went wrong. Please try again in a few moments, and if the problem persists start a new chat." i have used the spotter rest api with my uploaded worksheet id before maintenance its working fine but after the maintenance its shwoing above error...