---
title: "Salesforce apply mapping rules"
slug: "salesforce-apply-mapping-rules"
abstract: "Overview of the Salesforce apply mapping rule in Sitecore Data Exchange Framework."
---
# Salesforce apply mapping rules

This section describes the apply mapping rule that is included with the Salesforce CRM provider for Data Exchange Framework.

<details>
<summary><h2>Target collection non-empty apply mapping rule</h2></summary>

This rule is used to ensure that the value read from the target object is a collection and that it contains at least one member.

| Expected type of the value being written to the target object | `System.Collections.ICollection` |
| --- | --- |
| Template location | *Data Exchange/Providers/Salesforce/Data Access/Apply Mapping Rules/Target Collection Non-Empty Rule* |

This template has no fields on it.

</details>