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

rohitkanchan - Help needed to export a liveboar...

Help needed to export a liveboard tml as json, when i check that json in formatter it shows invalid. I tried to use that in tml to import it again then got error, how can i get help for this. I logged a support ticket too

rohitkanchan - Help needed to export a liveboar...

Help needed to export a liveboard tml as json, when i check that json in formatter it shows invalid. I tried to use that in tml to import it again then got error, how can i get help for this. I logged a support ticket too

Tim - Hello, I'm embedding a liveboard, and I a...

Hello, I'm embedding a liveboard, and I am hiding the board during the loading process and displaying it once the LiveboardRendered embed event is emitted. However I noticed empty liveboards don't seem to emit this event. Is there another event I should listen for?

Anatoly - Hi team!I'm using <AppEmbed />, and...

Hi team! I'm using <AppEmbed />, and I noticed that the hiddenHomepageModules option hides the modules from the homepage and removes them from the "Customize homepage" modal as well. In my case, when rendering <AppFrame />, I don’t want to completely hide the modules - I just want some of them to be turned off by default, similar to what you see in the screenshot....
No description

baran - Hi ThoughtSpot team,Background:The R...

Hi ThoughtSpot team, Background: The React/JavaScript/TypeScript app runs a liveboard embed using the @thoughtspot/visual-embed-sdk library. The code passes a few actions. ...
Solution:
Which version is this? Did you upgrade recently? I cannot repro the EnableContextualChangeAnalysis. Also, the behavior to trigger contextual change analysis might have changed recently. IT is now through a button "Analyse change" in the bottom of KPI. This should also be the behavior in your TS environment. I would suggest that you create a support case if this does not work for you. The manage monitor is a known issue and has been fixed. The workaround would be to add the additional flag ```const embed = new LiveboardEmbed("#your-own-div", { frameParams: {}, /param-start-liveboardId/ liveboardId: "da4fe74e-9e26-4de4-abb6-02dd25cceb46",...
No description

Amanda - Hi team! Is there an API I can call to...

Hi team! Is there an API I can call to get the list of tabIds within a specific liveboard? The liveboard metadata returned from /api/rest/2.0/metadata/search has a hasTabs property, but I can't seem to find the ID of the tabs themselves. Is this exposed anywhere?

Neerav - AMA starting in 5 mins!AMA & Code-Al...

AMA starting in 5 mins! AMA & Code-Along: API Authentication with ThoughtSpot Confused about how to securely connect your app to ThoughtSpot APIs? Join our weekly developer AMA and code-along this Wednesday at 10:00 AM PST....

Jessica - hi there! what would be the reasons t...

hi there! what would be the reasons the delete endpoint is not working when it returns a 400 with Metadata object not found corresponding to the guid: even though when I search for the object it returns that as the metadata_id and I seee that guid when I edit the TML from the UI -- https://developers.thoughtspot.com/docs/restV2-playground?apiResourceId=http%2Fapi-endpoints%2Fmetadata%2Fdelete-metadata

Jessica - hi there! we've embeding the full app...

hi there! we've embeding the full app and included pin as our visible actions as an admin user this works as expected but as an end user/non-admin one cannot pin any visualizations after they do it once, they also can't select the initial dashboard to pin to -- any idea what could be causing this?

animesh - Hi Team, I am trying to make changes ...

Hi Team, I am trying to make changes to override the parameters in LiveboardEmbed by sending runtimeParameters. following are the two ways I have tried sending runtime Parameters:- 1. send runtimeParameters as props to the LiveboardEmbed react component. ``` <LiveboardEmbed ref={ref}...
No description

Tim - Hello đź‘‹ I am embedding liveboards with d...

Hello đź‘‹ I am embedding liveboards with dark mode implemented using custom css vars, but my users see a white loading screen briefly before the custom CSS rules are applied. How can I change the default background color of the iframe before the custom css is applied?

Leandro - Hi everyone, does anyone know or has ...

Hi everyone, does anyone know or has seen docs specifying what's the expected password policy for users is? Our app has been using the API for a while now and using a random string for user passwords but as of recently we started receiving an users/create:Internal Server Error saying that the password isn't valid: `Failed to update password for user: 00000849-xxxx because the new password does not comply with the configured password policy. Please contact your system administrator or use a mo...

nickplx - Anyone had experience with prefetch s...

Anyone had experience with prefetch static resources that causes a layout shift ( the appended iframe messes with our react app ). Are there any options we can pass down to the prefetch (e.g. classname?)?

Anatoly - Hi team! I'm using <AppEmbed fullHeig...

Hi team! I'm using <AppEmbed fullHeight={true} /> with the fullHeight={true} option, but I’ve encountered an issue where full height is only applied correctly after manually resizing the browser window. I've attached a video that shows this behavior. In this example, frameParams is not being used. Could you please let me know if there’s a way to make fullHeight={true} work correctly right away when <AppEmbed /> is rendered?...
Solution:
Thanks for your response! Here's the situation on my side: on the initial render, <AppEmbed /> only takes up about a quarter of the browser window height. The only reliable way I found to stretch its height to fill all the available space was by using a fixed height via frameParams. That’s why I tried setting fullHeight={true}, hoping it would help dynamically calculate the proper height. ...

Ben Glass - Hello! I am looking for a way to pr...

Hello! I am looking for a way to preselect an option within a liveboard filter for thoughtspot embed. I have a particular filter created for a liveboard. When a users liveboard is rendered, I'd like to be able to apply a runtime filter to the content, but also allow the original list of filter options to be available. I can provide some more examples of what I am trying to accomplish if that helps, but any pointers or code samples to help me accomplish this?

Neerav - AMA & Code-Along: API Authentication w...

AMA & Code-Along: API Authentication with ThoughtSpot Confused about how to securely connect your app to ThoughtSpot APIs? Join our weekly developer AMA and code-along this Wednesday at 10:00 AM PST. This week’s hands-on session: API Authentication—Mastering the Basics & Beyond...

rohitkanchan - I have quick question: how can w...

I have quick question: how can we pin answer to liveboard using apis

Amanda - Hi all! I'm trying to embed a Liveboar...

Hi all! I'm trying to embed a Liveboard in a React application with an authType of AuthType.SAMLRedirect. I want to set up some error handling so we can log any issues, however, it seems like I'm getting some FAILURE errors even though the authentication/authorization eventually succeeds and the Liveboard is loaded in. My code looks like this: ``` const authStatus = init({...

Ben Glass - Hello! Looking to document FQDNs fo...

Hello! Looking to document allowlisting FQDNs for folks that are using their browser client to view ThoughtSpot Embed content. When configured I see requests out to a couple different subdomains of thoughtspot.cloud. Is there is list documented somewhere I can reference?

seansy-archy - We're having trouble white-labli...

We're having trouble white-labling "SpotIQ" for an embed. We would like to replace it with "Trend Analysis", but when we do so, the menu appends "analyze" after, because typically "SpotIQ analyze" is what displays. Is there any way to do this, or are we restricted to whitelabeling it with "analyze" always appended in the menu? Our SDK init code ```...
No description