---
title: "au-widget-design-editor/Commands/modify-items-command | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/ui-framework/widgets/reference/au-widget-design-editor.Commands.modify-items-command/"
---

# au-widget-design-editor/Commands/modify-items-command

> A command that changes properties of design elements in the editor.

## Classes

### ModifyItemsCommand

```json
{
  "type": "design-editor", 
  "name": "editor",
  "params": {
    "initial": { ... }, 
    "modifyItems": {
      "items": {
        "Name": {
          "value": "Neo"
        },
        "Company": {
          "value": "Matrix"
        }
      }
    }
  }
}
```

#### Extends

- [`DesignEditorWidgetCommand`](https://customerscanvas.com/docs/on-premises/ui-framework/widgets/reference/au-widget-design-editor.Commands.command.md#abstract-designeditorwidgetcommand)

#### Methods

##### execute()

```ts
execute(params, oldParams): Promise<any>;
```

Executes this command.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `params` | `IDesignEditorDefinitionModifyItems` | Parameters for the command. |
| `oldParams` | `IDesignEditorDefinitionModifyItems` | The previous parameters for the command. |

###### Returns

`Promise`\<`any`\>

###### Overrides

[`DesignEditorWidgetCommand`](https://customerscanvas.com/docs/on-premises/ui-framework/widgets/reference/au-widget-design-editor.Commands.command.md#abstract-designeditorwidgetcommand).[`execute`](https://customerscanvas.com/docs/on-premises/ui-framework/widgets/reference/au-widget-design-editor.Commands.command.md#execute)
