Skip to main content

Notifications

Announcements

No record found.

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

  • Verified answer
    Abhiram Thulasi Profile Picture
    Abhiram Thulasi 2 on at
    RE: Creating Data Maps for Multiple Entities

    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 

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Creating Data Maps for Multiple Entities

    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).

  • Suggested answer
    Jason M. Cosman Profile Picture
    Jason M. Cosman 5,234 on at
    RE: Creating Data Maps for Multiple Entities

    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!

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,883 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,569 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans