Source: https://vaultcrmhelp.veeva.com/doc/Content/CRM_topics/General/DataGridLoader.htm

## Using the Data Grid Loader

Business admins using the CRM Desktop (Windows) app can import records from spreadsheets into Vault CRM using the Data Grid Loader by directly copying and pasting the data. Unlike the Vault Loader, the Data Grid Loader allows admins to define the type of data that can be imported by configuring templates that only allow specific objects and fields to be data loaded into Vault CRM, improving efficiency when creating large numbers of new records, while enabling greater control over the objects and fields users can data load into Vault CRM.

**Who can use this feature?**

* CRM Desktop (Windows) Users
* Users do not require an additional license
* Admin Users, Business Admin Users

### Configuring the Data Grid Loader for

[![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)Admin Users](#)

To configure this feature:

1. Navigate to **Admin > Users & Groups > Permission Sets**.
2. Select the appropriate permission set.
3. Select the **Objects** tab.
4. Grant the following permissions:

   | Object | Object Permission | Object Types | Fields | Field Permission |
   | --- | --- | --- | --- | --- |
   | data\_grid\_loader\_configuration\_\_v | CRED | n/a | * object\_name\_\_v * field\_list\_\_v * status\_\_v * access\_type\_\_v * description\_\_v * country\_\_v * create\_as\_object\_type\_\_v * sharing\_group\_\_v | Edit |
5. Select the **Tabs** tab.
6. Grant access to the **Data Grid Loader Configurations** tab.

[![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)End Users](#)

To configure this feature:

1. Ensure [CRM Desktop (Windows)](../Platforms/CRMDesktopWin/CRMDesktopWin.htm) is configured.
2. Navigate to **Admin > Users & Groups > Permission Sets**.
3. Select the appropriate permission set.
4. Select the **Objects** tab.
5. Grant the following permissions:

   | Object | Object Permission | Object Types | Fields | Field Permission |
   | --- | --- | --- | --- | --- |
   | data\_grid\_loader\_configuration\_\_v | R | n/a | * object\_name\_\_v * field\_list\_\_v * status\_\_v * access\_type\_\_v * description\_\_v * country\_\_v * create\_as\_object\_type\_\_v * sharing\_group\_\_v | Read |
6. Navigate to **Business Admin > Objects > vmobile\_object\_configuration\_\_v**.
7. Activate the **CRM Desktop (Windows)** VMOCs for the following objects:

   * data\_grid\_loader\_configuration\_\_v – Ensure the include\_attachments\_\_v checkbox is selected
   * message\_\_v
   * user\_\_sys
   * veeva\_settings\_\_v
8. Create VMOCs for any object end users can data load into with the following fields populated:

   * object\_name\_\_v – The API name of the object
   * type\_\_v – Top level
   * device\_\_v – CRM Desktop Windows
   * metadata\_only\_\_v = True
   * active\_\_v = True

### Creating Data Grid Loader Templates as

[![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)Admin Users](#)

Admins must set up templates by creating data\_grid\_loader\_configuration\_\_v records that enable user groups to use the Data Grid Loader.

To create a template:

1. Navigate to **All > Data Grid Loader Configurations**.
2. Select **Create**.
3. Populate the following fields:

   * object\_name\_\_v – The API name of the appropriate object
   * access\_type\_\_v = tab\_\_v
4. Populate the **field\_list\_\_v** field with a comma-separated list of field API names on the corresponding object available for loading. The following field types are not supported:

   * Formula
   * Roll-Up
   * Lookup
   * Attachment

   Field names are case-sensitive and display in the Data Grid Loader in the order entered. Admins can mark fields as required by adding the <R> parameter after a field. Fields required at the object level do not need this parameter.

   Ensure users have Edit permission for any listed field.

   When defining the list of fields, admins should consider specific behavior for the following fields:

   * ID – Data loading into ID fields enables updating existing records instead of creating new records. When users populate the ID column in a row, the upload updates that record. If the ID column is blank or if it is not added to the list of fields, data loading the row creates a new record.
   * External ID fields – External ID fields populated in the Data Grid Loader are not used for updating existing records. The upload creates a new record if a row has a blank ID column with a populated External ID column.
   * Object fields - Only add one Object field per referenced object. An error occurs when saving a data\_grid\_loader\_configuration\_\_v record with a field list including multiple fields referencin the same object.
   * object\_type\_\_v – Including this field in the list of fields enables business admin users to define the object type of each row imported into Vault CRM via this template. Values in this column override the value in the create\_as\_object\_type\_\_v field.
5. Populate the following optional fields, as needed:

   * create\_as\_object\_type\_\_v – This field is optional. When this field is populated, all records created via this template are created as the entered object type. This field is overridden if an individual record has a defined object\_type\_\_v field.
   * country\_\_v – This field is optional. When this field is populated, the template applies specifically to users matching the country. If this field is left blank, the template applies to all users.
   * sharing\_group\_\_v – This field is optional and enables admins to configure sharing rules that restrict visibility to the template. See [Configuring Custom Sharing Rules for Objects](https://platform.veevavault.help/en/lr/25494/) for more information.
   * status\_\_v – Select active\_\_v to make the template available for use
6. Select **Save**.

![](../../Resources/Images/General/DataGridLoader/DataGridLoader.png)

#### Attaching a Downloadable Template File

To provide instructions and guidance on formatting data correctly when using the Data Grid Loader, each template has a system-generated .xlsx file that users can download directly from the Data Grid Loader. Admins can optionally create and attach a custom downloadable template file to provide detailed instructions when preparing to load data, for example, instructing appropriate picklist values.

Admins should consider the following recommendations when creating the custom .xlsx file:

* Headers in the file should match the list of fields defined in the corresponding template
* Add and format instructions or help text to the template file as needed. For example, admins can use comments to provide an explanation of fields to guide users.
* Downloadable files should be localized to the country defined in the template. If multiple languages are applicable, admins can create separate tabs for each language.

Attach the downloadable file via the Attachments section of the Data Grid Loader Template.

If multiple files are attached to the record, the latest custom file is made available to end users. If there are no custom files attached, the system-generated file is used.

### Using the Data Grid Loader as

[![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)End Users](#)

If at least one data\_grid\_loader\_configuration\_\_v record is active, the Data Grid Loader tab displays in the CRM Desktop (Windows) app, enabling end users to data load records into Vault CRM based on defined templates:

1. Navigate to the **Data Grid Loader** tab in the CRM Desktop (Windows) app.

   ![](../../Resources/Images/General/DataGridLoader/DataGridLoader1.png)
2. Select the appropriate template.
3. Select **Open**. Select Open. Users can open up to five concurrent windows of the Data Grid Loader at the same time. The configured template fields display as columns in the Data Grid Loader, enabling users to see which fields are available for loading.

   ![](../../Resources/Images/General/DataGridLoader/DataGridLoader2.png)

   Select the Download Template button to download the attached .xlsx file.
4. Prepare the source data using an external spreadsheet or the attached .xslx file. Ensure the source spreadsheet contains all appropriate rows and data and that data in the following field types are formatted correctly:

   | Field Type | Format Validation Requirements | Example |
   | --- | --- | --- |
   | Rich Text | Ensure any HTML included in the rich text is formatted correctly. | <p>This text is <b>bold</b>.</p> |
   | Text | Format masking is not validated when uploading via the Data Grid Loader, though unique fields are validated. | “Example Text” |
   | Currency | A maximum of six decimal places is supported. | 34.17 |
   | Number | The field's minimum, maximum, and decimal values are validated on upload. | 1000 |
   | Percent | The field's minimum, maximum, and decimal values are validated on upload. | 7.5 |
   | Date | Must use the format YYYY-MM-DD. | 2024-12-12 |
   | DateTime | The following formats are supported:  * {YYYY-MM-DD}T{HH:MM:SS.SSS}Z * {YYYY-MM-DD}T{HH:MM:SS}Z * {YYYY-MM-DD} {HH:MM:SS} Entered times must use 24 hour time and use UTC, not user specific time zones. | {2025-01-31}{14:30:00} |
   | Time | The following formats are supported:  * HH:MM:SS * HH:MM Entered times must use 24 hour time. | 08:30:00 |
   | Object | Populate with the related record’s 15 character record ID. | VFZ000000001001 |
   | Object Type API Name | Populate with the value from the api\_name\_\_v field. | professional\_\_v |
   | Object with Unique Field | Populate with value of the unique field for related object record. | MD010101 |
   | Picklist | Populate using the appropriate picklist value’s API name. If the picklist is a multi-select picklist, multiple values can be selected using the following format:  value1APIName, value2APIName | active\_\_v |
   | Yes/No | The following values are supported:  * true * false | true |

   If a row has an empty value for a field, it is treated as null.
5. Copy the data from the spreadsheet. When data is pasted into the Data Grid Loader, it replaces all data currently in the loader. Ensure all appropriate data is pasted at once.
6. Paste the data into the Data Grid Loader. The following methods are available to paste the data:

   * Selecting the Paste Data button in the Data Grid Loader
   * Using a keyboard shortcut (Ctrl + V)
   * Right-clicking anywhere within the grid, then selecting Paste

   ![](../../Resources/Images/General/DataGridLoader/DataGridLoader3.png)

   Business admins can zoom into or out of the Data Grid Loader to more clearly view pasted data via the following methods:

   * Right clicking within the Data Grid Load and selecting the appropriate zoom option
   * Using the following keyboard shortcuts
   * Ctrl + – Zoom in
   * Ctrl - – Zoom out
   * Ctrl 0 – Return to default zoom level
7. Select the following check boxes based on the contents of the data:

   * Data Includes Header Row – Select this checkbox if the first row of the pasted data contains column headers. This ignores the first row when uploading.
   * Exclude Blank Values on Upload – Select this checkbox to ignore blank cell values in the pasted data when uploading. This prevents updating existing data with blank values.
8. Select **Validate Data**. The validation process ensures any required fields are populated for every row in the data.

#### Validating Data

The validation process ensures that any required fields are populated for every row in the data. Rows with validation errors are highlighted in red. Additionally, the Status column displays a message about the validation results for each row.

![](../../Resources/Images/General/DataGridLoader/DataGridLoader4.png)

To more quickly identify and resolve validation errors, select the Only Show Errors checkbox to filter the list of rows to only display rows with validation errors. Users can use the leftmost number column to identify which rows in their source data contain validation errors.

![](../../Resources/Images/General/DataGridLoader/DataGridLoader5.png)

User can proceed with [uploading](#Uploadin) valid rows, or resolve validation errors first.

To resolve validation errors:

1. Review validations errors in the Data Grid Loader.
2. Correct the errors in the original spreadsheet.
3. Copy the corrected data.
4. Select **Clear Data** (keyboard shortcut Delete or Backspace) from the Data Grid Loader.
5. Paste the updated data into the Data Grid Loader.

#### Uploading Data to CRM

After validating the data, select the Upload to CRM button to proceed with uploading the data.

![](../../Resources/Images/General/DataGridLoader/DataGridLoader6.png)

While the upload is in progress, do not close the Data Grid Loader window.

Both upload and validation errors are highlighted in red. A Status column displays the results for each row. To quickly identify records that could not be uploaded, business admin users can filter for errors by selecting the Only Show Errors checkbox.

![](../../Resources/Images/General/DataGridLoader/DataGridLoader7.png)

Additionally, if the ID field was not configured in the template, the ID field is added to the grid, enabling users to identify records in the system for later reference.

Once the upload is complete, users can select the Copy Data button to copy the entire grid, including columns and upload results. They can then paste this data into a spreadsheet as a log for the upload. Users can also correct any upload or validation errors and retry importing the data by selecting the Clear Data button and pasting the corrected data.

### Related Topics

[CRM Desktop (Windows)](../Platforms/CRMDesktopWin/CRMDesktopWin.htm)

[Importing Campaign Targets Using the Data Grid Loader](../Multichannel/ApprovedEmail/SendAE/ImportCampaignTargets.htm)

[Importing Target Lists Using the Data Grid Loader](../CampaignManager/TargetList/ImportTargetList.htm)
