web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Creating Data Maps for Multiple Entities

(0) ShareShare
ReportReport
Posted on by 2

HI, 

I have a requirement for creating data maps for multiple entity. I want to import the data to two different entities from a single CSV file. I was trying to create the data maps for the same and faced some issues while importing the data. 1067.Untitled.png . Following is the XML code i used for creating the data map. Can any one help me ASAP. What should be the value for Source Entity Name..?

<Map Name="Project and Property Map" Source="Import">
<Description>Data map created automatically using the map settings specified during an import.</Description>
<EntitiesPerFile>Multiple</EntitiesPerFile>
<EntityMaps>
<EntityMap TargetEntityName="md_project" SourceEntityName="Book1" Dedupe="Ignore" ProcessCode="Process">
<AttributeMaps>
<AttributeMap>
<SourceAttributeName>ProjectName</SourceAttributeName>
<TargetAttributeName>md_name</TargetAttributeName>
<ProcessCode>Process</ProcessCode>
</AttributeMap>
</AttributeMaps>
</EntityMap>
<EntityMap TargetEntityName="md_property" SourceEntityName="Participating" Dedupe="Eliminate" ProcessCode="Process">
<AttributeMaps>
<AttributeMap>
<SourceAttributeName>PropertyName</SourceAttributeName>
<TargetAttributeName>md_name</TargetAttributeName>
<ProcessCode>Process</ProcessCode>
</AttributeMap>
</AttributeMaps>
</EntityMap>
</EntityMaps>
</Map>

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Jason M. Cosman Profile Picture
    5,234 Moderator on at

    Hello Abhiram;

    For multiple entities that have relationships you'd want to use the Configuration Migrator to do this data imports. It's perfect for these types of data loads and it comes with the CRM SDK.

    You can read more about these at:

    technet.microsoft.com/.../dn647421.aspx

    and

    survivingcrm.com/.../configuration-migration-tool-working-smarter-metadata-entities

    I hope this helps!

  • Community Member Profile Picture
    on at

    Why do you need to import them at the same time? Why not import one after another from the same file, but to two entities?

    Alternatively, copy the file so you have Book1 and Book2, then zip them together and use the zipped file as the source to import to two entities at once (this is often used for Account and Contact data).

  • Verified answer
    Abhiram Thulasi Profile Picture
    2 on at

    Hi All,

    Thanks for your support. I got the exact issue. System was checking for the display name of the target entity, unfortunately there is two "Property" in the system ( one custom entity and another system entity). When I changed the display name of custom entity the mapping is working fine.

    Thanks and Regards,

    Abhiram 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
JS-09031509-0 Profile Picture

JS-09031509-0 3

#3
Ciprian  P Profile Picture

Ciprian P 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans