Magidoc

UpdateDashboardWidgetInput
Input Object

Input for updating an existing dashboard widget. Replaces the flat argument list on updateDashboardWidget.

Fields

#

XAxis

Field to use for X-axis

XAxisCustomFieldId

Custom field ID for X-axis

XAxisTitle

Title for X-axis

YAxis

Field to use for Y-axis

YAxisCustomFieldId

Custom field ID for Y-axis

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

YAxisTitle

Title for Y-axis

_id

ID !
Non-null

Widget ID to update

actionViewId

ID of the action view (filter context) for widgets that use it

aggFunc

Aggregation function for chart values

applyFormulaTo

How formula grand totals are calculated (eachRow or total)

barChartDisplayMode

Display mode for bar charts with break-out-by: stacked or clustered

burndown

Burndown settings for a Line widget with YAxis burndown; omit to keep, null to clear

buttonDescription

Subtitle or description for button widgets (max 280 characters)

buttonHeading

Heading for call-to-action and links-style button widgets (max 120 characters)

buttonIcon

Key of a curated icon for button widgets

buttonLabel

Label for button widgets

buttonLinks

Links of a links-style button widget (max 12)

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

buttonStyle

Look of a button widget. Null renders classic.

buzzAnalysisMarkdown

Raw markdown from AI analysis (replaces slateJson for Buzz widget)

buzzCustomPrompt

Custom prompt for Buzz AI Widget

buzzLastGeneratedAt

Last generated at date

buzzVisualCanvas

Persisted visual canvas spec from Buzz AI Widget custom mode

buzzWidgetCustomPrompt

Optional custom instructions for Buzz AI Widget summaries

buzzWidgetMode

Mode for Buzz AI Widget

buzzWidgetStructuredData

Structured output data (headline, metrics, insights)

chartColorPalette

Ordered #RRGGBB snapshot. Takes precedence over colorThemeId; ignored below 2 colors.

chartType

Type of chart to display

chartValueColors

Color configuration for chart values

chartValuesState

Used to store the state of the chart values (colors, order, etc.)

colorThemeId

Color theme ID

containerId

Target dashboard or notebook when moving this widget to a different container. Omit for title, prompt, filter, chart settings, or content updates. Passing containerId attaches the widget to that container and adds a layout entry — use only when the user explicitly asked to move the widget.

contentTextAlignment

Alignment of content text

contentTextColorPrimary

Primary color for content text

contentTextColorSecondary

Secondary color for content text

contentTextSize

Size of content text

crmReportAggregation

Aggregation for CRM metric report widgets

crmReportBaseObject

Data source for CRM metric report widgets

crmReportField

Field for CRM metric report widgets when aggregation requires one

crmReportFilters

Persisted CRM report filters and display options

crmReportType

CRM report variant for CrmReport widgets

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

displayGoalsBy

Display mode for goals

displayGroupsAs

How to display grouped data

excludeWeekendsFromTimeToComplete

When true, Time to complete excludes Saturday/Sunday spans. Defaults to false.

externalDataConfig

External data source/config contract

externalDataTemplateId

External data template identifier

externalDataVisualizationType

External data visualization mode

fileIds

[ID !]

Array of file IDs associated with this widget

finishLineValue

Maximum value displayed at the finish line

fitToContent

Expand project widget content in every dashboard view. Omitted or false preserves saved sizing.

fromStatus

Start status name for Time Between Statuses (matches action.status).

goalId

ID of associated goal

goalIds

IDs of associated goals

gridLines

Grid line display option for chart

groupByCustomFieldId

Custom field ID for grouping

groupOthers

Configuration for grouping "other" values

hideHeader

Whether to hide the widget header

ignoreContainerFilter

If true, widget ignores container-level filters

isHidden

Whether widget is hidden

isProjectTreeLevelActive

Whether project tree level is active

isTreeLevelActive

Whether tree level filtering is active

layoutX

Legacy placement inputs accepted for client compatibility and ignored.

layoutY

legendPosition

Position of the chart legend

lineAreaFillMode

lineChartDisplayMode

Display mode for line charts with time-series X axis

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).

noteId

ID of associated note

placeAtBottom

portfolioViewId

ID of the portfolio view

projectBudgetCategoryIds

Budget category IDs for project budget widgets

projectBudgetDateRange

[Date !]

Date range for project budget widgets

projectCustomFieldsShowProjectName

Whether to show the selected project name above custom fields

projectCustomFieldsValueLayout

Whether custom field values appear below or beside field names

projectDetailsFields

Fields to show in project details

projectDetailsInlineEditing

Whether supported project details can be edited from the widget

projectDetailsStackedLayout

Whether project detail values appear below their labels instead of beside them

projectId

ID of associated project

projectIds

IDs of associated projects (multi-select, e.g. Buzz widget)

projectTreeLevelsToShow

[Int !]

Which levels of project tree to display

recordFilters

reportOn

What type of data to report on

sectionHeaderLinePosition

Position of section header line

sectionHeaderText

Text for section header

sectionHeaderTextAlignment

Alignment of section header text

segmentColorOverrides

Color overrides for chart segments

showColumnTotals

Whether to show column totals

showFlattenedData

Whether to show pivot table in a data mode (flattened)

showLegend

Whether to show chart legend

showLinkedToProject

Whether to show links to related projects

showRowTotals

Whether to show row totals

showSparklineTrend

Whether to show the sparkline trend badge

showTitles

Whether to show titles in the widget

showTrendCompareLabel

Show the compare-period label (e.g. vs Aug) in the number trend row

showTrendPreviousValue

Show the previous-period value in the number trend row

showTrendSparkline

Show the sparkline in the number trend row

showValueLabels

Whether to show data point values

slateJson

Rich text content as Slate JSON

sort

Sort order for widget data

sparklineTrendMode

Which values appear in the sparkline trend badge

stackedLabelMode

Value label mode for stacked charts (total or per segment)

tableId

Tables table backing the widget when reportOn is records

timeUnitsType

Time unit for temporal data

title

Title text to display for the widget

titleColor

Hex color code for the widget title

titleSize

Size of the title text

toStatus

End status name for Time Between Statuses (matches action.status).

treeLevelsToShow

[Int !]

Which levels of tree grouping to display

truncateLongNumbers

Whether to truncate long numbers

type

The type of dashboard widget

url

URL for embedded content widgets

workspaceId

ID of workspace this widget belongs to

wrapColumnHeaders

Wrap column labels to at most three lines. Omitted or false keeps single-line headers.

Usages

#

References

#

  • Argument input of field updateDashboardWidgetV2 from type Mutation