---
schema_version: "1"
id: 3b49387d788c6b547c93da81cbb56721598fa261e1c6d9b376737302d54db1b2
title: Map Context Definitions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/context_service_map_context_definitions.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.context_service_map_context_definitions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1534e3b3b3b3288afa38e5e1f2a5c46e76716b91d4a2ffaa2e7e8ada593ccc0b
description: After you create a context definition, define where the data is fetched from. Mapping data must be fetched from a data source for both the node and the attribute levels of the context definition.
products:
  - Industry Solutions
  - Cross Cloud
release: "264"
---
# Map Context Definitions

After you create a context definition, define where the data is fetched from. Mapping data must be fetched from a data source for both the node and the attribute levels of the context definition.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Developer</strong>, <strong>Enterprise</strong>, <strong>Professional</strong>, and <strong>Unlimited</strong> editions for Industries clouds where Context Service is enabled</td></tr></tbody></table>

To map a context definition, select a node and an attribute, and then select the corresponding Salesforce object of input data source to begin the process of fetching data.

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-context_service-264-0-0-production-enus/e9dc37f3-cb53-4bc1-be8b-b6873099d0be/images/icon_important.png)

Important

- Map the nodes first and then map the attributes.
- If you delete a mapping for a node, the mappings of the attributes associated with the node are also deleted.

- **[Mapping Types](https://help.salesforce.com/s/articleView?id=ind.context_service_mapping_types.htm&release=264.0.0&type=5)**  
    Mapping types specify where to retrieve data for your context definitions. You can map all context definitions to a source object. The source object can be a standard object, data model object, context definition object, or any other input data source that you choose. Map your definition automatically or manually.
- **[Mapping Intent Types](https://help.salesforce.com/s/articleView?id=ind.context_service_mapping_intent_type.htm&release=264.0.0&type=5)**  
    Context mapping connects your context structure (a logical data model) with real data. Mapping Intent specifies what you intend to do with this context mapping.
- **[View and Edit Saved Context Mapping](https://help.salesforce.com/s/articleView?id=ind.context_service_view_edit_context_mapping.htm&release=264.0.0&type=5)**  
    All your mappings are stored on the Map Data tab of your context definition.
- **[Add Context Mapping](https://help.salesforce.com/s/articleView?id=ind.context_service_add_context_mapping.htm&release=264.0.0&type=5)**  
    To make sure that your nodes and attributes are updated with the right input data, Salesforce objects, or context definition objects, create a mapping structure for your context definition.
- **[Object Field Data Types Mapping to Attribute Data Types](https://help.salesforce.com/s/articleView?id=ind.context_service_attribute_data_type_to_object_field_data_type_mapping.htm&release=264.0.0&type=5)**  
    When you map nodes and attributes in a context definition to their source data using a mapping structure, you can map the fields only when the data type of the attribute matches with the supported data type of the object's field.
- **[Clone a Context Mapping](https://help.salesforce.com/s/articleView?id=ind.context_service_clone_mapping.htm&release=264.0.0&type=5)**  
    Save time and reduce manual effort by reusing existing mappings in context definition setup. Simplify the mapping by cloning context mappings for standard objects, context definition objects, data model objects, or any other input data source.
- **[Data 360 in Context Service](https://help.salesforce.com/s/articleView?id=ind.ctx_data_360_in_context_service.htm&release=264.0.0&type=5)**  
    Combine the power of Data Model Objects (DMOs) from Data 360 with context definitions. When a context definition's node structure mirrors a DMO hierarchy in Data 360, Context Service resolves the parent-child relationship and hydrates every level in a single request.