hi there! we're trying to intercept the

hi there! we're trying to intercept the sharing of a liveboard, however I can't seem to: 1. prevent notifications, even when I tried adding (this prevented the nofitication when it was selected but not when it wasn't selected): embed.trigger(HostEvent.Share, { notify: false }) 2. determine which name or email address of the user or group name was entered in the share modal
15 Replies
utsav.kapoor
utsav.kapoor4mo ago
Hi @Jessica - Are you trying to control this via TS UI and Host events ?
Jessica
JessicaOP4mo ago
@utsav.kapoor yes the host events and embed events
utsav.kapoor
utsav.kapoor4mo ago
What is the usecase ? Do you want to disallow share actions if certain users are added in share API Call or its just for your tracking
Jessica
JessicaOP4mo ago
we are trying to stop thoughtspot admin emails/notifications and send our own
utsav.kapoor
utsav.kapoor4mo ago
Is disabling the feature to send out notifications work for you ?
Jessica
JessicaOP4mo ago
no since we still want the frontend/UI to look the same and the sharing to occur from TS, just trying to change the notification piece
utsav.kapoor
utsav.kapoor4mo ago
UI Will be the same but sending notifications will be disabled, even if user is checking the box. Let me know if that sounds acceptable.
Jessica
JessicaOP4mo ago
can I please confirm how to prevent notifications then? as we couldn't prevent it also how do we determine which groups, names or emails the share is intended for
utsav.kapoor
utsav.kapoor4mo ago
@Jessica - Please open a support ticket for disabling share notifications . SRE team can help in disabling notifications on the cluster. Let me check on the 2nd request
Jessica
JessicaOP4mo ago
to clarify we don't necessarily want to disable notifications for the cluster - rather in this specific case if we are trying to intercept a notification we would want to stop it thank you!!
utsav.kapoor
utsav.kapoor4mo ago
For now, lets disable it while we work on white labeling emails. Adding @Nicolas and @Himanshu Arora who are the Product Managers for this
Jessica
JessicaOP4mo ago
@utsav.kapoor thank you! and have you found more for #2?
Nicolas
Nicolas4mo ago
Hi @Jessica ! sorry if I make you repeat a few things - just want to make sure I understand your objective properly. We have "email customization / white labeling" as a roadmap item. There are two solutions we're currently thinking off: 1. Basic customization of our emails (change logo and some of the email text) 2. Provide web hooks for developers to send their own emails based on schedule maintained on TS. Would these items fit the use case you're trying to achieve, or am I misunderstanding you?
Jessica
JessicaOP3mo ago
hi @Nicolas no worries, 1. exactly! (also the email subject) 2. exactly! so from liveboard sharing, spotIQ analysis completion and sharing etc. having a webhook or better eventing to be able to send our own emails
Nicolas
Nicolas3mo ago
Perfect - makes sense, thanks @Jessica . We're in early conversations on this but we'll keep you in the loop as we identify our first solutions to share more details and ensure it fits with what you are planning to do.

Did you find this page helpful?