> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.utils.csv.UpdateRows

- Component: `appmixer.utils.csv.UpdateRows`
- Kind: Action
- Version: 1.0.1
- Visibility: Public
- Connector: [appmixer.utils.csv 2.0.9](https://connectors.appmixer.com/connector/appmixer.utils.csv/2.0.9.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.utils.csv/2.0.9/component/appmixer.utils.csv.UpdateRows>

Update all the rows in a CSV file that match the provided filter.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Use column names (`withHeaders`) | toggle | Set to true if the first row represents column names (CSV header) and you want to use them to identify the columns. |

## Input ports

### Port `in`

Fields are loaded dynamically from `/component/appmixer/utils/csv/CreateInspector?outPort=out`.

## Output ports

### Port `fileId`

| Field | Type | Description |
| --- | --- | --- |
| `fileId` | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.utils.csv.UpdateRows",
  "author": "Camilo Manrique <camilo@client.io>",
  "description": "Update all the rows in a CSV file that match the provided filter.",
  "private": false,
  "properties": {
    "schema": {
      "properties": {
        "withHeaders": {
          "type": "boolean"
        }
      },
      "required": [
        "withHeaders"
      ]
    },
    "inspector": {
      "inputs": {
        "withHeaders": {
          "type": "toggle",
          "label": "Use column names",
          "index": 1,
          "defaultValue": true,
          "tooltip": "Set to true if the first row represents column names (CSV header) and you want to use them to identify the columns."
        }
      }
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object"
      },
      "source": {
        "url": "/component/appmixer/utils/csv/CreateInspector?outPort=out",
        "data": {
          "properties": {
            "withHeaders": "properties/withHeaders"
          },
          "transform": "./CreateInspector#updateRowsInspector"
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "fileId",
      "options": [
        {
          "label": "fileId",
          "value": "fileId",
          "schema": {
            "type": "string",
            "example": "a1686006-35c8-4ffc-b23e-d687858cd418"
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)",
  "version": "1.0.1",
  "dependencies": {
    "module": "1.0.1"
  }
}
```
