Suresh - ELMO
06/15/2026, 5:10 AMAnswer Overflow
06/15/2026, 5:10 AMspotter-code
06/15/2026, 5:10 AMAction.PreviewDataSpotter the same way Spotter 2 did.
For Spotter 3, use the newer Spotter chat action IDs introduced in recent SDK versions (1.48.x+), especially:
- Action.SpotterChatModeSwitcher → controls Quick Search / Deep Analysis switcher
- Action.SpotterChatConnectorResources
- Action.SpotterChatConnectors
Use them in hiddenActions (or disabledActions depending on UX you want). Example:
javascript
import { init, AuthType, SpotterEmbed, Action } from '@thoughtspot/visual-embed-sdk';
init({
thoughtSpotHost: 'https://<your-thoughtspot-host>',
authType: AuthType.None,
});
const spotter = new SpotterEmbed('#ts-spotter', {
worksheetId: '<your-worksheet-guid>',
hiddenActions: [
Action.PreviewDataSpotter, // still include if you want Preview Data hidden where supported
Action.SpotterChatModeSwitcher, // hides Quick Search / Deep Analysis
Action.SpotterChatConnectors,
Action.SpotterChatConnectorResources,
],
// or use disabledActions if you prefer disabled instead of hidden
});
spotter.render();
If Preview data still appears even with Action.PreviewDataSpotter, that indicates Spotter 3 UI behavior/version mismatch rather than your config syntax. In that case, validate against the exact cluster + SDK pairing and test with hiddenActions explicitly (not only enabledActions logic).
Suggestions:
- Prefer `hiddenActions`/`disabledActions` over relying only on an allowlist pattern when moving from Spotter 2 → 3.
- Confirm your ThoughtSpot cluster version supports the Spotter 3 action controls from SDK changelog (these were added in 1.48.x notes).spotter-code
06/15/2026, 5:10 AMAction.SpotterChatModeSwitcher, open a ThoughtSpot support ticket with:
- SDK version (1.49.1)
- cluster version
- exact embed config JSON
- screenshot + reproducible page
Docs:
- Spotter embed customization/actions: https://developers.thoughtspot.com/docs/embed-spotter#_customizing_menu_actions_and_elements
- Action IDs reference: https://developers.thoughtspot.com/docs/actions
- SDK changelog (Spotter chat action IDs): https://developers.thoughtspot.com/docs/embed-sdk-changelog#_spotter_embedding
- Playground (Spotter/Natural Language Search options): https://developers.thoughtspot.com/docs/dev-playground#_natural_language_searchyuichirio_ha
06/18/2026, 4:37 AM