CreateDashboardWidgetInput Input Object
Input for creating a new dashboard widget. Replaces the flat argument list on createDashboardWidget.
Fields
#
YAxisGroupBy
A second measure shown beside YAxis; to split the data into series, use groupBy.
YAxisGroupByCustomFieldId
Custom field ID for secondary Y value when YAxisGroupBy is CustomFields
barChartDisplayMode
Display mode for bar charts with break-out-by: stacked or clustered
buttonLinksLayout
buttonSecondaryLabel
Label of the secondary link in call-to-action button widgets (max 120 characters)
buttonSecondaryUrl
http(s) URL or app-relative path of the secondary link in call-to-action button widgets
chartColorPalette
Ordered #RRGGBB snapshot. Takes precedence over colorThemeId; ignored below 2 colors.
chartValuesState
Used to store the state of the chart values (colors, order, etc.)
containerId
ID of the dashboard or notebook this widget will be placed on. Must be a real id obtained from the current dashboard context provided in the conversation, or from a prior getDashboards / getNotebooks lookup. Never invent or guess this id — if no id is available, ask the user which dashboard/notebook to use.
containerType
Type of container the widget belongs to. Defaults to 'dashboard' when omitted. Set to 'notebook' only when the containerId refers to a notebook.
createdDateRange
Date range filter for created actions
customAppAskBeforeOpen
Whether each viewer confirms before an appStudio widget's app starts. Omitted or false starts it at once.
customAppAuthoringThreadId
Your own App Studio Buzz conversation in this workspace that is building the widget's app. The tile shows its progress until the app is published.
customAppId
App Studio app to run in an appStudio widget. It must be published as a widget in this workspace.
customAppWidgetId
Id of one of the appStudio app's dashboard widgets, declared by its published version. The tile runs only that widget, read-only.
customFieldValueGroupings
excludeWeekendsFromTimeToComplete
When true, Time to complete excludes Saturday/Sunday spans. Defaults to false.
filter
The widget's own filters, in the same shape as a dashboard filter: projects, assignees, labels, statuses, teams, users, role, custom fields, date ranges and the rest. Every filter you set is turned on; selectedFilters is worked out for you, on top of the report's defaults (for example "exclude completed actions"; set completedActions to include completed work). Values here win over the separate filter fields above. Action list widgets reject filters they can't apply, and on them a dashboard filter set on the same key wins. Only chart, pivot, heatmap, numbers, time tracked, list (actions, my actions, risks and issues, goals), calendar, timeline, gantt, geo map, resourcing, Buzz summary and workspace activity widgets take a filter; leave it out on every other type, such as a projects list, a section header or a table. Dashboard filters still apply to the filters you don't set here. A report default (such as the time report's "This month") is skipped when the dashboard filter already sets that key, so set the dashboard filter before you create widgets that should follow it.
fitToContent
Expand project widget content in every dashboard view. Omitted or false preserves saved sizing.
layoutY
lineAreaFillMode
lineInterpolation
lineShowDataPoints
mapDataSeries
Ordered multi-source series for dashboard GeoMap widgets.
mapReportConfig
Deprecated per-report config blob for GeoMap widgets. Kept for backward compatibility; prefer mapDataSeries and mapStyle.
mapReportType
Geographic report variant for GeoMap widgets. Kept for persisted widgets.
mapStyle
Basemap: Carto Positron (normal) or Blue Marble day + Black Marble night lights (realistic).
placeAtBottom
projectArchivedDateRange
Project archive date range for Time pivots; active projects follow the archived-project mode.
projectCustomFieldsShowProjectName
Whether to show the selected project name above custom fields
projectCustomFieldsValueLayout
Whether custom field values appear below or beside field names
projectDetailsStackedLayout
Whether project detail values appear below their labels instead of beside them
projectTabId
Project Page tab id when skipContainerAttachment is true. Server validates the tab is a locally-filtered Page tab linked to containerId before allowing tab-local create.
recordFilters
skipContainerAttachment
When true, creates the widget document but does not add it to the container dashboard widgetIds/layout or synced tab copies. Used for hidden dashboard drafts and linked project tabs that keep new widgets in tab-local state only.
type
The type of dashboard widget to create. For count/KPI/scalar metric widgets, use pivotNumbers — not the deprecated numbers type.
wrapColumnHeaders
Wrap column labels to at most three lines. Omitted or false keeps single-line headers.
Usages
#
References
#
- Argument input of field createDashboardWidgetV2 from type Mutation
CreateCrmFormInput