Thursday, June 14, 2012

Export a Data Import Map in Microsoft Dynamics CRM 2011 Using VB.NET

This illustration shows how to export a data import map in Microsoft Dynamics CRM 2011 in code using VB.NET.   This example will be given in SOAP (JScript) and in C# (.NET).

Ok, here is what the code look like!
In VB.NET:

Dim req As New ExportMappingsImportMapRequest()
req.ExportIds = False
req.ImportMapId = New Guid("455B72E2-9863-4984-AEF2-A26C16AFBAD6")
Dim resp As ExportMappingsImportMapResponse = DirectCast(service.Execute(req), ExportMappingsImportMapResponse)


Thats all there is to it!

I hope this helps!

No comments:

Post a Comment