moveWidget

Back to index

Summary

Moves a widget within a dashboard.
projectName
Stringrequired
The name for the project that must be unique among all projects.
dashboardName
Stringrequired
Unique name of the dashboard within the project.
widgetName
Stringrequired
The name of the dashboard widget.
beforeWidget
Stringoptional
The name of the widget before which the widget should be placed. Blank to move the widget to the last position in the specified section or phase.
column
Stringoptional
The column in a COMMAND_CENTER dashboard to display the widget in. Applicable only for COMMAND_CENTER type of dashboard.
section
Stringoptional
The section of a dashboard to display the widget in. Applicable only for COMMAND_CENTER type of dashboard. Required if column is not set.
Possible values: "PHASE_DETAIL", "PHASE_SUMMARY", "SUMMARY"

Usage

Perl

$cmdr->moveWidget( "test-projectName", # projectName "test-dashboardName", # dashboardName "test-widgetName" # widgetName # optionals );

ectool

ectool moveWidget \ "test-projectName" `# projectName` \ "test-dashboardName" `# dashboardName` \ "test-widgetName" `# widgetName` \ # optionals

Examples

Perl

$cmdr->moveWidget("Default", "Command Center Test", "Stories Resolved" {beforeWidget => "Dev Complete"}

ectool

ectool moveWidget "Default" "Command Center Test" "Stories Resolved" --beforeWidget "Dev Complete"