Best Software Act! is very popular CRM for small and mid-size organization. This system attracts business owner by its low price, plus system is very easy to use. However if your business is growing you should reach the moment to implement more advanced CRM solution. Natural question is – how do we convert the data from Act! to new CRM solution and the mapping of your objects for conversion. You would probably like to avoid operator data entry with potential numerous errors and mistypes. Assuming that you are IT specialist, we’ll give you technical side of Act to MS CRM data migration
This system attracts business owner by its low price, plus system is very easy to use. However if your business is growing you should reach the moment to implement more advanced CRM solution. Natural question is – how do we convert the data from Act! to new CRM solution and the mapping of your objects for conversion. You would probably like to avoid operator data entry with potential numerous errors and mistypes. Assuming that you are IT specialist, we’ll give you technical side of Act to MS CRM data migration:
First you need to download Act! SDK from Best Software website
Install Act! SDK on the computer, where you plan to do programming
We’ll use asynchronous data export/import model, this means that we’ll design the system, containing two parts: export into XML and this XML file import into the CRM
Lets code Act! data export application, we’ll use C# to address Act Framework classes, we’ll need these libraries:
using Act.Framework; using Act.Framework.Activities; using Act.Framework.Companies; using Act.Framework.ComponentModel; using Act.Framework.Contacts; using Act.Framework.Database; using Act.Framework.Groups; using Act.Framework.Histories; using Act.Framework.Lookups; using Act.Framework.MutableEntities; using Act.Framework.Notes; using Act.Framework.Opportunities; using Act.Framework.Users; using Act.Shared.Collections;
To connect to Act! database:
ActFramework framework = new ActFramework(); framework.LogOn("Act Username", "password", "SERVER”, "Database");
Now we need Act field names to map them with the fields in the MS CRM:
This is only portion of the data, that could be transferred into CRM, the whole list of fields is too long for small article, but your could design the whole list of desired fields. Please, pay special attention to replace <BR> HTML tag – this is required for text data transfer into CRM
Next is import application creation. We will not describe here connection to MS CRM details – please read Microsoft CRM SDK if you need this examples. We’ll concentrate on the nature of the import.
The XML export file should look like this:
<contact><firstname><![CDATA[John]]></firstname><lastname><![CDATA[Smith]]></lastname><salutation><![CDATA[John]]></salutation><address1_line1><![CDATA[1234 W. Big River]]></address1_line1><address1_city><![CDATA[Chicago]]></address1_city><address1_stateorprovince><![CDATA[IL]]></address1_stateorprovince><address1_postalcode><![CDATA[123456]]></address1_postalcode><description><![CDATA[Toy Corporation]]></description><ownerid type="8">{4F1849C3-9184-48B5-BB09-078ED7AB2DAD}</ownerid></contact>
Reading, parsing and MS CRM object creation look is relatively simple:
Microsoft.Crm.Platform.Proxy.BizUser bizUser = new Microsoft.Crm.Platform.Proxy.BizUser();
ICredentials credentials = new NetworkCredential(crmUsername, crmPassword, crmDomain);
Andrew Karasev is Chief Technology Officer at Alba Spectrum Technologies ( http://www.albaspectrum.com ), serving Microsoft Great Plains, CRM, Navision to mid-size and large clients in California, Illinois, New York, Georgia, Florida, Texas, Arizona, Washington, Minnesota, Ohio, Michigan