CustomActionTarget
Enum options to mention the target of the code-based custom action. The target determines which type of ThoughtSpot object the action is associated with, and also controls which positions and scoping options are available.
Index🔗
Enumeration members🔗
ANSWER🔗
ANSWER:= "ANSWER"
Action applies to saved or unsaved
Answers. Supported positions:
CustomActionsPosition.PRIMARY,
CustomActionsPosition.MENU,
CustomActionsPosition.CONTEXTMENU.
Can be scoped with
metadataIds.answerIds,
dataModelIds (modelIds,
modelColumnNames), orgIds,
and groupIds.
Defined in : types.ts
LIVEBOARD🔗
LIVEBOARD:= "LIVEBOARD"
Action applies at the Liveboard level.
Supported positions:
CustomActionsPosition.PRIMARY,
CustomActionsPosition.MENU.
Can be scoped with
metadataIds.liveboardIds,
orgIds, and groupIds.
Defined in : types.ts
SPOTTER🔗
SPOTTER:= "SPOTTER"
Action applies to Spotter
(AI-powered search).
Supported positions:
CustomActionsPosition.MENU,
CustomActionsPosition.CONTEXTMENU.
Can be scoped with
dataModelIds.modelIds,
orgIds, and groupIds.
Defined in : types.ts
VIZ🔗
VIZ:= "VIZ"
Action applies to individual
visualizations (charts/tables).
Supported positions:
CustomActionsPosition.PRIMARY,
CustomActionsPosition.MENU,
CustomActionsPosition.CONTEXTMENU.
Can be scoped with metadataIds
(answerIds, liveboardIds, vizIds),
dataModelIds (modelIds,
modelColumnNames), orgIds,
and groupIds.
Defined in : types.ts