eric.silva - Hello all. Does anyone have any i...

Hello all. Does anyone have any insight on how to disable/control the context menu in the react app embed iframe? I've tried using the embed ref and overwriting the oncontextmenu function onload, but it did not work. Or perhaps there is a config option in TS itself? I've tried searching the docs and this discord but found nothing. Thanks in advance!
2 Replies
utsav.kapoor
utsav.kapoor2w ago
You can achieve this by hiding all the actions in the context menu. There are currently 4 options in context menu: 1. Show Underlying data 2. Filter 3. Drill down 4. SpotI Analyze All of these can be hidden using hiddenActions. See: https://developers.thoughtspot.com/docs/Interface_SearchViewConfig#_hiddenactions Action Interface: https://developers.thoughtspot.com/docs/actions
Actions Reference
The Action enum for menu actions on Liveboards, visualizations, and answers.
SearchViewConfig
The configuration attributes for the embedded search view.
eric.silva
eric.silvaOP2w ago
Thanks, but I guess I didn't explain my problem well. We want to prevent the brower context menu. Open in New Tab etc
No description

Did you find this page helpful?