Mapping Entity Attributes

Mapping streamlines data entry when creating new records that are associated with another record. When an entity has a entity relationship with another entity, it is possible to create new related entity records from the associated view visible on the primary entity. When the user creates a new record from an associated view, mapped data from the primary entity record is copied to the form for the new related entity record. You control what data is copied by adding new mappings in the relationship between the two entities. If a record is created any way other than from the associated view of the primary entity, data is not mapped.

For example, you might want to set up a mapping between the address fields in accounts and the address fields in contacts, so that when a user adds a contact associated with a specific account, the address fields for the contact are filled in automatically.

You can map one attribute to multiple target attributes. For example, you can map address information in an account to both the billing and shipping addresses in an order.

Mapping only applies just before a new record is created from an associated view. Users are able to make changes before saving the record and later changes to the data in the primary record are not applied to the related record.

Mapping picklists

If the attribute is a picklist, make sure that the option values are identical between the two picklists. When values are added to a picklist, the values are assigned an integer based on the order in which they are added. For two picklists to be identical, the integer values must also be identical. If they were not added in the same order, the label for the option value on the target attribute can be edited so they represent a valid mapping as long as this does not affect existing data. If you later modify either picklist, you must also remember to modify the other picklist to keep them synchronized. Any invalid picklist attribute mappings will cause the target picklist attribute to use the default picklist value.

Generate mappings automatically

It is possible to automatically create mappings for the relationship but this is usually not recommended. This process will map any mappable attributes based only on the datatype and name of the attribute. All existing mappings are removed.

Related Topics

Work with Attribute Mappings

Entity Relationships

Understanding Hierarchical Entity Relationships

Did you find the information that you need?
Yes      No 
If not, what information do you need? (optional)

© 2009 Microsoft Corporation. All rights reserved.