# Edit Mapping

Use the Edit Mapping dialog box to easily define multiple mappings between source and target fields.

**Note:** Edit Mapping must have only one target output step.

![Edit Mapping](/files/qNGFpxvr3aPV3TwQwvg0)

The Edit Mapping dialog box contains the following options:

| Option                           | Description                                                                                                                         |
| -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| **Source fields**                | Select to highlight the fields from the incoming stream you want to map.                                                            |
| **Target fields**                | Select to highlight the fields in the output table you want to map.                                                                 |
| **Add** (Button)                 | Click **Add** to move a selected combination of a field name and a column name to the **Mappings** pane.                            |
| **Delete** (Button)              | Click **Delete** to move a mapped combination from the **Mappings** pane back to the **Source fields** and **Target fields** panes. |
| **Mappings**                     | The field to column mapping designating the incoming field and the table column where the field will be assigned.                   |
| **Auto target selection?**       | Select to have the step perform mapping to a target.                                                                                |
| **Hide assigned source fields?** | Select to remove a field from the **Source fields** pane when it has been matched and moved to the **Mappings** pane.               |
| **Auto source selection**        | Select to automatically select a field from the **Source fields** pane when a column name is selected.                              |
| **Hide assigned target fields?** | Select to remove a field from the **Target fields** pane when it has been matched and moved to the **Mappings** pane.               |
| **Guess** (Button)               | Click **Guess** to perform automatic matching of all fields and population of the **Mappings** pane.                                |

Your mapping results display in the **Mappings** panel.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/pdi-transformation-steps-reference-overview/select-values/options-select-values/edit-mapping.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
