# 字段映射

字段映射功能提供了查看和管理所有导入活动的映射字段的能力。

## **什么是字段映射?**

字段映射问题是由于源文件中的字段名与IAF CertSearch数据库中的字段名不匹配导致的，如下面的示例所示：

<figure><img src="https://github.com/QualityTrade/iaf-docs-certification-bodies-zh/blob/main/.gitbook/assets/[DM]-field-mapping-error%20(1).png" alt=""><figcaption></figcaption></figure>

<table data-header-hidden data-full-width="true"><thead><tr><th width="180"></th><th width="483">描述</th></tr></thead><tbody><tr><td><strong>源</strong></td><td>系统中不识别的源文件中实际的字段值。</td></tr><tr><td><strong>目标</strong></td><td>在IAF CertSearch数据库中定义的字段名称。</td></tr></tbody></table>

<figure><img src="https://github.com/QualityTrade/iaf-docs-certification-bodies-zh/blob/main/.gitbook/assets/image%20(1).png" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}

#### **提示**

为了减少数据上传问题，我们建议您在导入数据之前添加字段映射。这样可以在导入过程中消除中断。要了解更多关于添加字段映射的信息，请点击[这里](https://github.com/QualityTrade/iaf-docs-certification-bodies-zh/blob/main/data-management/data-import/global-mapping/broken-reference/README.md)。
{% endhint %}

## 查看已映射字段

1. 进入数据导入页面
2. 点击\*\*“全局映射”\*\*选项卡
3. 在全局映射页面，点击\*\*“字段映射”\*\*选项卡
4. 此页面显示您所有导入活动中已映射和未映射的字段。

<figure><img src="https://github.com/QualityTrade/iaf-docs-certification-bodies-zh/blob/main/.gitbook/assets/[DM]-field-mapping.png" alt=""><figcaption></figcaption></figure>

## 添加字段映射

1. 进入数据导入页面
2. 点击\*\*“全局映射”\*\*选项卡
3. 在全局映射页面，点击\*\*“字段映射”\*\*选项卡
4. 点击\*\*“+ 添加字段映射”\*\*按钮

<figure><img src="https://github.com/QualityTrade/iaf-docs-certification-bodies-zh/blob/main/.gitbook/assets/[DM]-field-mapping-add.png" alt=""><figcaption><p>删除单个映射字段</p></figcaption></figure>

6. 输入源数据的值
7. 选择要映射源数据的位置
8. 如果要添加多个映射：
   * 点击\*\*“添加字段映射”\*\*按钮
9. 完成后，点击\*\*“提交”\*\*按钮

## 编辑已映射字段

1. 进入数据导入页面
2. 点击\*\*“全局映射”\*\*选项卡
3. 在全局映射页面，点击\*\*“字段映射”\*\*选项卡
4. 点击\*\*“操作”\*\*按钮

<figure><img src="https://github.com/QualityTrade/iaf-docs-certification-bodies-zh/blob/main/.gitbook/assets/[DM]-field-mapping-edit.png" alt=""><figcaption><p>删除单个映射字段</p></figcaption></figure>

6. 然后，点击\*\*“编辑映射”\*\*按钮
7. 在编辑模态框中，输入要更新的值。
8. 删除后，已删除的映射字段将不再出现在字段映射列表中

## 删除单个映射字段

要删除单个映射字段：

1. 进入数据导入页面
2. 点击\*\*“全局映射”\*\*选项卡
3. 在全局映射页面，点击\*\*“字段映射”\*\*选项卡
4. 找到要删除的映射字段
5. 点击\*\*“操作”\*\*按钮

<figure><img src="https://github.com/QualityTrade/iaf-docs-certification-bodies-zh/blob/main/.gitbook/assets/[DM]-field-mapping-delete-inline.png" alt=""><figcaption><p>删除单个映射字段</p></figcaption></figure>

6. 点击\*\*“删除映射”\*\*按钮
7. 将出现确认模态框，点击\*\*“确定”\*\*
8. 删除后，已删除的映射字段将不再出现在字段映射列表中

{% hint style="warning" %}
\*\*请注意：\*\*删除映射字段意味着您不再需要导入无法识别的源字段来匹配IAF CertSearch中的目标字段。
{% endhint %}

## 删除多个映射字段

1. 进入数据导入页面
2. 点击\*\*“全局映射”\*\*选项卡
3. 在全局映射页面，点击\*\*“字段映射”\*\*选项卡
4. 找到要删除的映射字段
5. 在选择列中，点击要删除的映射字段的复选框

<figure><img src="https://github.com/QualityTrade/iaf-docs-certification-bodies-zh/blob/main/.gitbook/assets/[DM]-field-mapping-delete-multiple.png" alt=""><figcaption></figcaption></figure>

6. 选择后，点击列表右上角的\*\*“删除”\*\*按钮

<figure><img src="https://github.com/QualityTrade/iaf-docs-certification-bodies-zh/blob/main/.gitbook/assets/[DM]-field-mapping-delete-btn.png" alt=""><figcaption></figcaption></figure>

6. 出现确认模态框，点击\*\*“确定”\*\*
7. 完成后，已删除的映射字段将不再出现在字段映射列表中


---

# 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://support.iafcertsearch.org/certification-bodies/cb-zh/data-management/data-import/global-mapping/field-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.
