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 - Hi, My thoughtspot dashboard is embedde...

Hi, My thoughtspot dashboard is embedded in my webapp using react. The problem is that it sends duplicate queries to snowflake.

mad1 - Hi Team, I want to onboard user from my ...

Hi Team, I want to onboard user from my embedded application directly when accessing the TS Dashboard, if being first time user. Is there any way other than TS JIT provision to implement this ?

Geovane - Hello ThoughtSpot team!I would like...

Hello ThoughtSpot team! I would like to explore a better usage of our liveboards.... Right now I am creating a new Liveboard (reading from the same datasouce) for every single client... however, it is getting very hard to manage. What are the options you suggest to have a better workflow?...

aashna_ts - ## AMA & Code-Along: Mastering Obje...

AMA & Code-Along: Mastering Object IDs in ThoughtSpot Ever wondered how to work with Object IDs in ThoughtSpot for automation, embedding, or API workflows?
Join this week's developer AMA and code-along on Wednesday, July 30th at 10:00 AM PST. ...

Andy - I have the case where I have an org base...

I have the case where I have an org based tenancy approach. We deploy using the rest API with the import_metadata endpoint after having performed some transformations to the TML. The liveboards we are deployingto may have their own saved filters set up. Is there any advice around how to deploy changes to these liveboards without replacing the existing filters (and in an "fast" and efficient manner)?...

chris k - Hi team, since Fetch Liveboard Report...

Hi team, since Fetch Liveboard Report API doesn't support exporting multiple table answers in tabular formats, we have implemented a logic to use Fetch Liveboard Data API instead and fetch data multiple table answers. However, these data don't have any formatting done on dates and datetimes, so we are receiving pure unix timestamps. Is there a way to configure in the request to change exported format of the timestamps? If not, can you give suggestions on how we could identify whether a certain c...

mad1 - Hi Team , I want to create custom chart...

Hi Team , I want to create custom chart for KPI, where I can add background color to it based on condition, is it possible/ is there any method to implement that in the ThoughtSpot platform or through ThoughtSpot Dev Feature, currently we are using TS Software version 10.0.1. Thanks...
No description

Martin Fisher - Hi, another one, when viewing a...

Hi, another one, when viewing a liveboard I am the owner of in the TS app the liveboard and the visualizations/answers both have a "make a copy" action. When embedding that same liveboard and viewing as the same user, the make a copy action is visible for the liveboard but not on the answer. Is there a way to get it to appear on the visualizations while embedding? (The same functionalty happens in the embed playground, not just in our app, with no hidden actions or anything)
Solution:
I think it is intentional because make a copy takes you out of liveboard embed. If you want to have make a copy in embed, you can use full app embed. What is the use case you are looking for in liveboard embed to have this make a copy action for individual vizs? cc @Ruchi Anand

Martin Fisher - Hi, we're having an issue where...

Hi, we're having an issue where liveboards created by our end users do not allow adding/editing of filters, even if there are filters already on the liveboard. (e.g. via make a copy) We get a grayed out "add filter" button when editing with a message saying "You can add filters only when the data sources are models. Your data sources for this Liveboard are views or tables". Looking at the TML of the liveboard it definitely is pointed at a model. We filed a ticket but it was suggested that we pos...
No description

lokesh - Hello Team, Is there any API available...

Hello Team, Is there any API available to fetch users associated to a user group ( "principal_type":"USER_GROUP", "principal_sub_type":"LOCAL_GROUP",)

Suresh - ELMO - Is it possible to use TS Rest A...

Is it possible to use TS Rest API V2 alongside Embedding? Let's say, we want to support scheduling of Answers. Currently TS does not support this feature, so if we want to get the list of answers using REST API V2 so that we can build our own listing page with action button "Schedule Answer" that calls our own scheduler API with a payload containing TS Answer ID and TS username and TS Groups.

Suresh - ELMO - Is it possible to set format an...

Is it possible to set format and time bucket for all datetime fields in a cluster without modifying model TMLs? Ideally we want to show all datetime column values as YYYY-MM-dd and due to the multi-tenancy via org with duplicated tables/models, we are trying to avoid TML manipulation if we can.

Mark K - Just wondering if this is possible?

Just wondering if this is possible?

Ashutosh Patil - Hello everyone, Sharing new pr...

Hello everyone, Sharing new problem : We began encountering this issue shortly after enabling the Agentic experience as the default for all users — though it's unclear whether this is directly related. Once enabled, the following API call fails with a 400 Bad Request error: ...

Tim - Hey all, I’m working on implementing prer...

Hey all, I’m working on implementing prerendering for embedded ThoughtSpot liveboards in a React app and could use some advice. I’ve seen two approaches: 1. Using the PreRenderedLiveboardEmbed component from the SDK. 2. Using the PrerenderdLiveboardProvider context at the app root, rendering the liveboard hidden and mapping it onto a visible container by adjusting position and opacity....

Ashutosh Patil - Hello, We are using - authType...

Hello, We are using - authType: AuthType.TrustedAuthToken in the SpotterEmbed And passed "uername" property to init method, but added userName is not displaying on spotter Example : init({ thoughtSpotHost: <Our URL>,...

aashna_ts - ### AMA & Code-Along: Advanced Inte...

AMA & Code-Along: Advanced Integration with Spotter Embed & Events Tired of one-way analytics embeds that feel disconnected from your app? Join our next weekly developer AMA and code-along on Wednesday, July 16th at 10:00 AM PST to learn how to build truly interactive experiences Hands-on topic: Spotter Embed & Conversation Embed with Host and Embed Events...

Olivia Wenzel - I am on the same team as @Ashut...

I am on the same team as @Ashutosh Patil 🙂 To provide some more detail about what we're experiencing - We're embedding Spotter in our platform and it times out after about 5 minutes of active use. It's not a query timing out - we send some chats, maybe hit reset, and about 5 minutes in, it times out. There appears to be a keep alive message that keeps going out to thoughtspot: curl 'https://restoreskills.thoughtspot.cloud/callosum/v1/session/isactive' \ -H 'accept: /' \ -H 'accept-language: en-US,en;q=0.9' \ -H 'authorization: Bearer JHNoaXJvMSRTSEEtMjU2JDUwMDAwMCRzZHlVRGlvRTVBcldrK1NpWjVGZGtnPT0kWVRCdlRQS3pPTTBuME96eTRuZk1nNXQxSjFvUzBMVGpkWXVUUzVCbk82cz0' ...