Suvash - Hi team, we recently saw this option t...
# dev-help
s
Hi team, we recently saw this option to Add to collection in our embed. How do we remove this option? Is it not part of the Actions. We are working based on Visible Actions so confused on how it is appearing without being part of the visible action? https://cdn.discordapp.com/attachments/1143209464875462756/1512236594545823744/image.png?ex=6a235b94&is=6a220a14&hm=f29dfb32912791b331cd446ba38e45b0bf5d734baef8f432c78eca8638bf66fa&
a
message has been deleted
s
Solution: You’re right to be confused—**“Add to collection” is a standard ThoughtSpot action**, and it can still appear depending on how actions are configured for that specific embed/page context. To remove it, use either: -
visibleActions
(allow-list only what you want), or -
hiddenActions
(hide specific defaults) Do not use both together.
Copy code
javascript
import { init, AuthType, LiveboardEmbed, Action } from "@thoughtspot/visual-embed-sdk";

init({
  thoughtSpotHost: "https://your-thoughtspot-host",
  authType: AuthType.None,
});

const embed = new LiveboardEmbed("#ts-embed", {
  liveboardId: "your-liveboard-id",

  // Option 1: allow-list actions (recommended if you want tight control)
  visibleActions: [Action.Share],

  // Option 2: hide only specific actions (use this instead of visibleActions)
  // hiddenActions: [Action.AddToFavorites], // replace with the exact Action enum for collections in your SDK version
});

embed.render();
If you are already using
visibleActions
and still seeing “Add to collection”, check: 1. Whether that menu is from a different embed surface (Liveboard page vs viz-level menu vs full app embed page). 2. Whether action config is applied to the exact embed component instance. 3. Whether another config path is overriding it. Also, per docs, custom menu behavior is controlled only through
visibleActions
,
hiddenActions
, and `disabledActions`; and
visibleActions
+
hiddenActions
cannot be combined. Suggestions: - Start with a minimal
visibleActions
list (for example only
Action.Share
) to confirm control works. - If this is AppEmbed/full app embed, validate that configured actions are applicable across all embedded pages. - If needed, share your exact embed class (
LiveboardEmbed
,
AppEmbed
, etc.) and current action config—I can help pinpoint why this one is leaking through. Docs:
s
I am also facing this and did not find a optimal way to hide this.
y
will check and let you know @Suresh - ELMO
@Suresh - ELMO seems like these two things are detached and collection menu items are controlled by flag enabled on your Thoughtspot cluster. I've asked interanally will get back to you - or you can raise a support ticket for this. Thanks.