Welcome to MSDN Blogs Sign in | Join | Help

Microsoft Dynamics CRM Online Team Blog

This blog is focused on Microsoft Dynamics CRM Online (crm.dynamics.com).

News

  • The views expressed in this blog are those of the individual and do not necessarily represent those of Microsoft. This information is provided by way of general information only and should not be relied on without obtaining independent expert advice. These postings are provided "AS IS" with no warranties and confer no rights. You assume all risk for your use.
Bulk Export Tool Tip

http://www.codeplex.com/mscrmbulkdataexport

Eric recently blogged on the Bulk Export Tool available from CodePlex.

http://blogs.msdn.com/dynamicscrmonline/archive/2008/04/30/bulk-data-export-tool.aspx

This is a well written and very easy to use tool to get data out of CRM Online.  There's a slight nuance to using the Bulk Export tool, it used Unicode file encoding and it creates  few extra characters when it writes the first line. This is known as the byte order mark ( http://msdn.microsoft.com/en-us/library/ms776429(VS.85).aspx ).

The result is that opening the export file in Excel can result in all the headings to be contained in a single cell. Ditto for the data rows. In addition, the import wizard and the Data Migration Manager may have problems with it also. I had a devil of a time trying to build a map until I realized what was going on.

The best solution:

Download the source code and change the file encoding type to ASCII. Look in the file, FileHelper.cs, sub routine, ExportCSV. Change the encoding type and rebuild.

or the hack

I was able to 'fix' the file by changing the first two bytes of the file to 0's. The are initially ff fe. This caused parsing errors. The file is still encoded as unicode but it missing the byte order mark.

You can download many free hex or binary editors. I used NotePad++. ( load file, menu item - PlugIns-HexEditior.

-cheers

Posted: Tuesday, June 24, 2008 12:00 PM by JonWhite
Filed under: ,

Comments

Microsoft Dynamics CRM Online Team Blog said:

http://www.codeplex.com/mscrmbulkdataexport Eric recently blogged on the Bulk Export Tool available from

# June 24, 2008 3:06 PM

Microsoft Dynamics CRM Online Team Blog said:

http://www.codeplex.com/mscrmbulkdataexport Eric recently blogged on the Bulk Export Tool available from

# June 24, 2008 3:22 PM
Anonymous comments are disabled
Page view tracker