Magidoc

getOrCreateGoalMetricSourcesDashboard
Query

Returns the caller's hidden "Goal metric sources" dashboard for the workspace, creating it on first use. Pivot widgets that back automated goals live on it; pass its _id as containerId when creating a goal's source widget. Upserts a Dashboard document, so it is a write despite being a query.

Arguments

#

workspaceId

ID !
Non-null

goalId

Response

#

Returns Dashboard !.

Example

#