# 数据映射

数据映射功能可查看和管理所有导入活动的映射数据。

## 什么是数据映射？

数据映射问题是由源文件中的数据值与IAF CertSearch数据库所需数据值不匹配引起的，请参考下面的示例：

<figure><img src="https://github.com/QualityTrade/iaf-docs-certification-bodies-zh/blob/main/.gitbook/assets/[DM]-import-data-mapping.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>

{% hint style="info" %}
**提示：**

为了减少数据上传问题，我们建议您在导入数据之前添加数据映射。这样可以在导入过程中消除中断。要了解有关添加数据映射的更多信息，点击[这里](/certification-bodies/cb-zh/data-management/data-import/global-mapping/data-mapping.md)。
{% endhint %}

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

## 查看所有映射数据

1. 转到数据导入
2. 点击\*\*“全局映射”\*\*选项卡
3. 在数据映射选项卡中，您可以访问所有导入活动中的映射数据和未映射数据。

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

4. 如果您想要看到按特定字段筛选的列表，可以通过导航选项卡进行点击查看。

* **国家** - 与国家字段相关的所有映射数据和未映射数据
* **认证类型** - 与认证类型字段相关的所有映射数据和未映射数据
* **标准** - 与标准字段相关的所有映射数据和未映射数据
* **方案** - 与方案字段相关的所有映射数据和未映射数据
* **证书状态** - 与证书状态字段相关的所有映射数据和未映射数据

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

## 添加数据映射

1. 转到数据导入
2. 点击\*\*“全局映射”\*\*选项卡
3. 在数据映射选项卡中，点击\*\*“+ 添加数据映射”\*\*按钮

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

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

## 编辑映射数据

## 删除映射数据


---

# 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/data-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.
