# command: attribute-table.add
Description: Displays the attribute table interface for a given layer or set of layers. Each layer will be displayed in a separate tab. The supplied layers will be appended to the currently present layers in the attribute table. If there are no layers in the table, then this command behaves as if the "display" command was used. Web only.

**Example:** Adding a layer to the attribute table.

```
{
    "layers": "item://layer-extension/your-layerExtension-id"
}
```

**Example:** Adding more than one layer to the attribute table.

```
{
    "layers": [
        "item://layer-extension/your-layerExtension-id",
        "item://table-extension/your-tableExtension-id"
    ]
}
```

Inputs: `AttributeTableArgs`

AttributeTableArgs properties:
```json
{
  "attributeTable": {
    "description": "The attribute table component that will be targeted. If not specified, all active attribute table components in the layout will be targeted."
  },
  "layers": {
    "description": "Layer(s) to use for the command/operation."
  }
}
```

---
# command: attribute-table.display
Description: Displays the attribute table interface for a given layer or set of layers. Each layer will be displayed in a separate tab. The supplied layers will replace the layers currently displayed in the table. Web only.

**Example:** Displaying the attribute table for a layer.

```
{
    "layers": "item://layer-extension/your-layerExtension-id"
}
```

**Example:** Displaying the attribute table for more than one layer.

```
{
    "layers": [
        "item://layer-extension/your-layerExtension-id",
        "item://table-extension/your-tableExtension-id"
    ]
}
```

Inputs: `AttributeTableArgs`

AttributeTableArgs properties:
```json
{
  "attributeTable": {
    "description": "The attribute table component that will be targeted. If not specified, all active attribute table components in the layout will be targeted."
  },
  "layers": {
    "description": "Layer(s) to use for the command/operation."
  }
}
```

---
# command: attribute-table.remove
Description: Remove one or more layers from the attribute table. Web only.

**Example:** Removing a layer from the attribute table.

```
{
    "layers": "item://layer-extension/your-layerExtension-id"
}
```

**Example:** Removing more than one layer from the attribute table.

```
{
    "layers": [
        "item://layer-extension/your-layerExtension-id",
        "item://table-extension/your-tableExtension-id"
    ]
}
```

Inputs: `AttributeTableArgs`

AttributeTableArgs properties:
```json
{
  "attributeTable": {
    "description": "The attribute table component that will be targeted. If not specified, all active attribute table components in the layout will be targeted."
  },
  "layers": {
    "description": "Layer(s) to use for the command/operation."
  }
}
```

---
