Microsoft Windows Java ISDN Information

Computer Software Management Products

 RSS  feed      Home      
Web software.dovada.net.au

Powerful New Keyword Software
Keyword Elite - Powerful New Keyword Software Gave Me The Exact
Keywords To Earn An Extra $8,265 From Google Adwords.

SEO Elite marketing software - Norton Anti Virus - Create easy web video - Great software downloads - Music Movies Games Software


Share |


You are free to use content from this page in your blog or website, in return for a link back to this page from that blog or website.



Microsoft CRM: Data Conversion ' Import from Act


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:

? 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:

private void ShowContactsFieldsDescriptions(ActFramework framework) {

ContactFieldDescriptor[] cFields = framework.Contacts.GetContactFieldDescriptors();

ContactFieldDescriptor cField;

for(int x = 0; x < cFields.Length; x++)

{

cField = cFields[x];

Console.WriteLine("Table Name: {0}", cField.TableName);

Console.WriteLine("Column Name: {0}", cField.ColumnName);

Console.WriteLine("Display Name: {0}", cField.DisplayName);

Console.WriteLine("ACT Field Type: {0}", cField.ACTFieldType);

Console.WriteLine("");

}

}

? Let's get contact list and create the file for import instructions to MS CRM:

ContactList cList = framework.Contacts.GetContacts(null);

FileInfo t = new FileInfo("Contacts.xml");

StreamWriter stw = t.CreateText();

? Now we form export data:

for (int i = 0; i < cList.Count; i++) {

string strContactXml = "";

ContactFieldDescriptor cField;

Object oValue;

// First Name

cField = framework.Contacts.GetContactFieldDescriptor("TBL_CONTACT.FIRSTNAME");

oValue = cField.GetValue(cList[i]);

if (oValue != null && !(oValue.ToString().Trim().Equals("")))

strContactXml += "[CDATA[" + oValue.ToString() + "]]";

// Last Name

cField = framework.Contacts.GetContactFieldDescriptor("TBL_CONTACT.LASTNAME");

oValue = cField.GetValue(cList[i]);

if (oValue != null && !(oValue.ToString().Trim().Equals("")))

strContactXml += "[CDATA[" + oValue.ToString() + "]]";

else

strContactXml += "" + "N/A" + "";

// Salutation

cField = framework.Contacts.GetContactFieldDescriptor("TBL_CONTACT.SALUTATION");

oValue = cField.GetValue(cList[i]);

if (oValue != null && !(oValue.ToString().Trim().Equals("")))

strContactXml += "[CDATA[" + oValue.ToString() + "]]";

// Job Title

cField = framework.Contacts.GetContactFieldDescriptor("TBL_CONTACT.JOBTITLE");

oValue = cField.GetValue(cList[i]);

if (oValue != null && !(oValue.ToString().Trim().Equals("")))

strContactXml += "[CDATA[" + Regex.Replace(oValue.ToString(), " ", "
") + "]]";

? 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
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:

[CDATA[John]][CDATA[Smith]][CDATA[John]][CDATA[1234 W. Big River]][CDATA[Chicago]][CDATA[IL]][CDATA[123456]][CDATA[Toy Corporation]]{4F1849C3-9184-48B5-BB09-078ED7AB2DAD}

? 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);

bizUser.Url = crmDir + "BizUser.srf";

bizUser.Credentials = credentials;

Microsoft.Crm.Platform.Proxy.CUserAuth userAuth = bizUser.WhoAmI();

// CRMContact proxy object

Microsoft.Crm.Platform.Proxy.CRMContact contact = new Microsoft.Crm.Platform.Proxy.CRMContact ();

contact.Credentials = credentials;

contact.Url = crmDir + "CRMContact.srf";

CorrectXML("Contacts.xml", userAuth.UserId);

StreamReader reader = File.OpenText("Contacts.xml");

string input = null;

while ((input = reader.ReadLine()) != null)

{

string strContactId = contact.Create(userAuth, input);

Console.WriteLine("Contact {0} is created", strContactId);

log.Debug("Contact " + strContactId + " is created");

}

? Just consider in more details CorrectXML function ' it places OwnerId into XML contact tree:

private void CorrectXML(string fileName, string userId) {

File.Move(fileName, fileName + ".old");

StreamReader reader = File.OpenText(fileName + ".old");

FileInfo t = new FileInfo(fileName);

StreamWriter writer = t.CreateText();

string input = null;

while ((input = reader.ReadLine()) != null)

{

input = Regex.Replace(input, "{_REPLACE_ME_}", userId);

writer.WriteLine(input);

}

reader.Close();

writer.Close();

File.Delete(fileName + ".old");

}

? Finally, we are launching export, import, opening MS CRM and looking at the contact list, transferred from Act!

? Separate task would be Sales data from Act!, Notes etc. ' we plan to describe them in the future articles

Good luck with integration! If you want us to do the job - give us a call 1-630-961-5918 or 1-866-528-0577! help@albaspectrum.com

Andrew Karasev is Lead Software Developer in Alba Spectrum Technologies ' USA nationwide Great Plains, Microsoft CRM customization company, serving clients in Chicago, Houston, Atlanta, Phoenix, New York, Los Angeles, San Francisco, San Diego, Miami, Denver, UK, Australia, Canada, Europe and having locations in multiple states and internationally ( http://www.albaspectrum.com )


Cat 18793


NEW SEALED MICROSOFT OFFICE PROFESSIONAL 2010 ACADEMIC
ebay image$107.03
End Date: Thursday Mar-8-2012 18:38:54 PST
Buy It Now for only: $107.03
Buy It Now | Add to watch list

Microsoft Office 2010 Professional Academic Retail Box
ebay image$109.99 (1 Bid)
End Date: Thursday Feb-9-2012 11:30:43 PST
Bid now | Add to watch list

MICROSOFT Visio Premium 2010 NEW Sealed Complete NFR Software Package
ebay image$229.99 (0 Bids)
End Date: Thursday Feb-9-2012 11:30:53 PST
Buy It Now for only: $299.99
Buy It Now | Bid now | Add to watch list

Microsoft Office Home and Student 2007 Full Version 3PC Guaranteed Retail CD/Key
ebay image$89.47
End Date: Saturday Feb-25-2012 14:10:54 PST
Buy It Now for only: $89.47
Buy It Now | Add to watch list

Microsoft Office 2010 Professional Brand New
ebay image$162.50 (13 Bids)
End Date: Thursday Feb-9-2012 11:37:41 PST
Bid now | Add to watch list

Microsoft Office XP Standard - OEM - Includes Word, Excel, Outlook, Powerpoint
ebay image$39.95
End Date: Friday Mar-9-2012 18:41:40 PST
Buy It Now for only: $39.95
Buy It Now | Add to watch list

Microsoft Office Basic 2007
ebay image$90.00 (1 Bid)
End Date: Thursday Feb-9-2012 11:42:42 PST
Bid now | Add to watch list

Pre-Owned Microsoft PowerPoint, 2000 - Graphic Design Software (Windows)
ebay image$15.50 (3 Bids)
End Date: Thursday Feb-9-2012 11:42:57 PST
Bid now | Add to watch list

MICROSOFT OFFICE 2010 PRO PROFESSIONAL GENUINE NEW SEALED
ebay image$107.03
End Date: Friday Mar-2-2012 10:21:17 PST
Buy It Now for only: $107.03
Buy It Now | Add to watch list

Microsoft Office Basic 2007
ebay image$90.00 (1 Bid)
End Date: Thursday Feb-9-2012 11:44:06 PST
Bid now | Add to watch list

MICROSOFT OFFICE 2010 PRO PROFESSIONAL ACADEMIC BOX
ebay image$115.46
End Date: Wednesday Mar-7-2012 13:57:48 PST
Buy It Now for only: $115.46
Buy It Now | Add to watch list

Microsoft Office Basic 2007
ebay image$90.00 (1 Bid)
End Date: Thursday Feb-9-2012 11:45:18 PST
Bid now | Add to watch list

MICROSOFT OFFICE PROFESSIONAL 2010 FULL VERSION
ebay image$152.50 (29 Bids)
End Date: Thursday Feb-9-2012 11:48:08 PST
Bid now | Add to watch list

Microsoft Office Professional 2003 FULL VERSION
ebay image$89.00
End Date: Friday Mar-2-2012 16:10:00 PST
Buy It Now for only: $89.00
Buy It Now | Add to watch list

Microsoft Windows XP Professional with Hardware
ebay image$30.00 (17 Bids)
End Date: Thursday Feb-9-2012 12:00:30 PST
Bid now | Add to watch list

NEW SEALED Microsoft Office Professional 2010 Academic Retail Box
ebay image$107.63
End Date: Wednesday Mar-7-2012 0:59:22 PST
Buy It Now for only: $107.63
Buy It Now | Add to watch list

Microsoft Office 2010 Professional BRAND NEW Factory Sealed
ebay image$132.50 (10 Bids)
End Date: Thursday Feb-9-2012 12:02:41 PST
Bid now | Add to watch list

Microsoft Office Standard Edition 2007 in Box
ebay image$99.00 (0 Bids)
End Date: Thursday Feb-9-2012 12:03:01 PST
Buy It Now for only: $125.00
Buy It Now | Bid now | Add to watch list

Microsoft Office Student and Teacher Edition 2003 _ Free Gift
ebay image$39.99
End Date: Saturday Mar-10-2012 2:08:42 PST
Buy It Now for only: $39.99
Buy It Now | Add to watch list

Microsoft Office XP Pro with Publisher
ebay image$16.49 (7 Bids)
End Date: Thursday Feb-9-2012 12:05:55 PST
Bid now | Add to watch list

New Microsoft Office Home and Student 2010 Key Card
ebay image$87.99
End Date: Saturday Feb-18-2012 14:50:45 PST
Buy It Now for only: $87.99
Buy It Now | Add to watch list

Microsoft Office Standard 2007 Upgrade Windows PC
ebay image$75.00 (0 Bids)
End Date: Thursday Feb-9-2012 12:06:35 PST
Bid now | Add to watch list

Microsoft Office 2010 Professional Full Retail Disc
ebay image$155.00 (14 Bids)
End Date: Thursday Feb-9-2012 12:12:41 PST
Bid now | Add to watch list

Microsoft Office 2010 Professional Academic Box
ebay image$110.75
End Date: Wednesday Feb-29-2012 9:48:19 PST
Buy It Now for only: $110.75
Buy It Now | Add to watch list

Home Business Plan

Peel Away Ads Marketing And Advertising without Pop-Ups, Fly-Ins or Pop-Unders
home | Software site map | custom google search | Software articles | Privacy policy
Copyright © 2009 www.dovada.net.au