alc-aaron - Hi, I had a question regarding sele...

Hi, I had a question regarding selecting a data source. Is it possible to intercept this source selector and run custom logic when that is selected? I.e Display a different page/dialog
No description
Solution:
I don't think we have anything readymade for this right now, but you can hide the choose sources button (https://developers.thoughtspot.com/docs/Enumeration_Action#_choosedatasources), build your own button to click on and then display whatever page/dialog you want.
Action
ThoughtSpot application pages include actions and menu commands for various user-initiated operations. These actions are represented as enumeration members in the SDK. To show, hide, or disable specific actions in the embedded view, define the Action enumeration members in the disabledActions, visibleActions, or hiddenActions array.
Jump to solution
4 Replies
Solution
shikharTS
shikharTS2mo ago
I don't think we have anything readymade for this right now, but you can hide the choose sources button (https://developers.thoughtspot.com/docs/Enumeration_Action#_choosedatasources), build your own button to click on and then display whatever page/dialog you want.
Action
ThoughtSpot application pages include actions and menu commands for various user-initiated operations. These actions are represented as enumeration members in the SDK. To show, hide, or disable specific actions in the embedded view, define the Action enumeration members in the disabledActions, visibleActions, or hiddenActions array.
alc-aaron
alc-aaronOP2mo ago
Thank you!
utsav.kapoor
utsav.kapoor2mo ago
Do you want to disallow users selecting data sources ?
utsav.kapoor
utsav.kapoor2mo ago
EmbedEvent
Event types emitted by the embedded ThoughtSpot application.

Did you find this page helpful?