Asked by:
Bulk Imort zip file using MS CRM SDK

Question
-
Hello,
Can I import data in MS CRM 2015 in zip file using bulk import using MS CRM SDK ?
I know I can do this in wizard, but I wondering, can I do the same using MS CRM SDK(c#)?
Import all files(multiple entities) in one zip file using default map.
Thanks
Saurabh
Monday, January 11, 2016 1:19 PM
All replies
-
Hello,
You definitely can do it. Recheck this article - https://msdn.microsoft.com/en-us/library/hh547396.aspx It describes import from plain csv file but I believe code can be modified to use zip file as a source.
Dynamics CRM MVP
My blogMonday, January 11, 2016 1:53 PMModerator -
Hello,
Thank you for answering.
This will require lot of code, I need to import data for 15-20 entities , this logic requires code to map entity first, then map each column.
As microsoft is already providing wizand, can we reuse any SDK API and do default mapping to import data.
Thanks,
Saurabh
Monday, January 11, 2016 2:00 PM -
As microsoft is already providing wizand, can we reuse any SDK API and do default mapping to import data.
Dynamics CRM MVP
My blog- Proposed as answer by DavidJennawayMVP, Moderator Monday, January 11, 2016 4:30 PM
Monday, January 11, 2016 2:38 PMModerator -
Hello,
Is there any OOB way to identify import sequence as we are importing multiple entities using SDK API (Zipfile). When we do bulk import using wizard it automatically identifies the sequence of import, can we reuse thet logic.
Thanks,
Saurabh
Thursday, January 21, 2016 6:49 AM -
I believe you can. All you need is .Net Reflector or other disassembler and installed version of CRM. You can get source codes using mentioned disasembler and find the way it works.
Dynamics CRM MVP
My blogThursday, January 21, 2016 7:55 AMModerator -
Hi ,
Is there a way to identify import order of entity based on dependencies or metadata or from tool provide in SqlServer.
One more clarification.
Account to Contact have 1:N relation also N:1. Is there any way to do bulk import without need of update.
Thanks,
Saurabh
Friday, January 22, 2016 1:11 PM