> For the complete documentation index, see [llms.txt](https://docs.flosum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flosum.com/data-migrator/data-migrator-es/plantillas/disenador-de-plantillas/agregar-campos-a-los-objetos.md).

# Agregar campos a los objetos

## ![](https://626430605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FcfMTqg4Brbm9baWutclZ%2FSummary2-Small-Icon.svg?alt=media\&token=d1cf162d-c02d-4184-988e-7f7350e450fc) Descripción general

Esta guía explica cómo agregar campos a objetos dentro de una plantilla. Durante la migración de datos, solo se migran los campos del objeto seleccionados.

{% hint style="warning" %}

#### Conservación de las relaciones

Para preservar el vínculo entre los registros padre e hijo durante la migración, los registros hijos migrados deben incluir el **Campo de relación** que los conecta con su registro padre. Esto se aplica tanto a las relaciones maestro-detalle como a las de búsqueda. Para obtener más información sobre esto, consulte el siguiente artículo.

* [Conservar las relaciones entre objetos](/data-migrator/data-migrator-es/plantillas/disenador-de-plantillas/conservar-las-relaciones-entre-objetos.md)
  {% endhint %}

## Agregar campos

{% stepper %}
{% step %}

### Seleccionar plantilla

1. Haga clic en **Plantillas** en el menú de la barra lateral izquierda.
2. Haga clic en la plantilla a la que desea agregar campos de objeto.

   <div align="left"><figure><img src="https://626430605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FbPd3RWVowhXR0pqcZ3oZ%2FAddingFieldsToObjects-S01-01.png?alt=media&amp;token=470796c7-7cc0-4fda-abb9-4a0355c4ba38" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Agregar campos

{% hint style="info" %}

#### Enmascaramiento de datos

El enmascaramiento de datos le permite ocultar campos sensibles durante la migración reemplazándolos con datos aleatorios antes de copiarlos a la organización de destino. Para obtener más información sobre el enmascaramiento de datos y cómo aplicarlo a un campo, consulte el siguiente artículo.

* [Aplicar enmascaramiento de datos a los campos](/data-migrator/data-migrator-es/plantillas/disenador-de-plantillas/aplicar-enmascaramiento-de-datos-a-los-campos.md)
  {% endhint %}

1. Haga clic en el objeto al que desea agregar campos.

   <div align="left"><figure><img src="https://626430605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FyBMtUgQQHelHmuH5Ejvb%2FAddingFieldsToObjects-S02-01.png?alt=media&amp;token=81f375e2-8928-407e-bbee-169ffdf5553a" alt="" width="563"><figcaption></figcaption></figure></div>
2. Del objeto **Lista de campos** se abre en el lado derecho del diseñador.
3. Busque o desplácese para encontrar los campos que desea agregar.

   <div align="left"><figure><img src="https://626430605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FL5h3coFeHSr5L2s0H8i5%2FAddingFieldsToObjects-S02-02.png?alt=media&amp;token=9ab55084-6e8a-4dba-8a32-0d85a60665a7" alt="" width="563"><figcaption></figcaption></figure></div>
4. Marque la casilla junto a cada campo que desee agregar.

   <div align="left"><figure><img src="https://626430605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2Fmu01EUO5l5XbhcCk22AA%2FAddingFieldsToObjects-S02-03.png?alt=media&amp;token=eb11daad-2205-44b7-86c6-c09d6fb50cea" alt="" width="563"><figcaption></figcaption></figure></div>
5. Haga clic en **Guardar** una vez que se hayan marcado todos los campos que desea agregar.

   <div align="left"><figure><img src="https://626430605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FjGqSQIcCdwlmLKe3cptc%2FAddingFieldsToObjects-S02-04.png?alt=media&amp;token=d1db4b5d-32de-40c6-b4c0-2a07231a50ec" alt="" width="563"><figcaption></figcaption></figure></div>
6. El **Campos** el recuento del objeto se actualizará para reflejar el nuevo número de campos seleccionados.
7. Repita este proceso para agregar tantos campos a los objetos como necesite.
   {% endstep %}

{% step %}

### Guardar plantilla

Una vez que haya terminado de agregar campos a los objetos:

1. Haga clic en **Guarde la plantilla** para guardar sus cambios.

   <div align="left"><figure><img src="https://626430605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FSAxFOvQqOKGUh3zrOuJ9%2FAddingFieldsToObjects-S03-01.png?alt=media&amp;token=17d7f6de-4f48-4e46-b4ae-95438cbce4e9" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flosum.com/data-migrator/data-migrator-es/plantillas/disenador-de-plantillas/agregar-campos-a-los-objetos.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
