Sales Automation Blog



             


Thursday, April 10, 2008

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, well 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, well 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
  • Well use asynchronous data export/import model, this means that well design the system, containing two parts: export into XML and this XML file import into the CRM
  • Lets code Act! data export application, well use C# to address Act Framework classes, well 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:tt{0}", cField.TableName);
            Console.WriteLine("Column Name:t{0}", cField.ColumnName);
            Console.WriteLine("Display Name:t{0}", cField.DisplayName);
            Console.WriteLine("ACT Field Type:t{0}", cField.ACTFieldType);
            Console.WriteLine("");

         }

}

  • Lets 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 = "<contact>";

    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 += "<firstname><![CDATA[" + oValue.ToString() + "]]></firstname>";

    // Last Name
    cField = framework.Contacts.GetContactFieldDescriptor("TBL_CONTACT.LASTNAME");
    oValue = cField.GetValue(cList[i]);

    if (oValue != null && !(oValue.ToString().Trim().Equals("")))
 strContactXml += "<lastname><![CDATA[" + oValue.ToString() + "]]></lastname>";
    else
 strContactXml += "<lastname>" + "N/A" + "</lastname>";

    // Salutation
    cField = framework.Contacts.GetContactFieldDescriptor("TBL_CONTACT.SALUTATION");
    oValue = cField.GetValue(cList[i]);
    if (oValue != null && !(oValue.ToString().Trim().Equals("")))
 strContactXml += "<salutation><![CDATA[" + oValue.ToString() + "]]></salutation>";

    // Job Title
    cField = framework.Contacts.GetContactFieldDescriptor("TBL_CONTACT.JOBTITLE");
    oValue = cField.GetValue(cList[i]);

    if (oValue != null && !(oValue.ToString().Trim().Equals("")))
 strContactXml += "<jobtitle><![CDATA[" + Regex.Replace(oValue.ToString(), "rn", "<BR>") + "]]></jobtitle>";

  • 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.  Well 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);

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

Labels: , , , ,

Thursday, November 29, 2007

How to Increase Sales with Automation Improvements

How to Increase Sales with Automation Improvements

 by: Diana Barnum

How popular is online shopping? And is there room for improvement? Lets check out some pros and cons of automated shopping and see.

Digital carts offer convenience for people around the globe 24 hours a day. Yet an estimated 4 percent of shoppers make purchases, up from 3.5 percent in 2003, reported by DoubleClick, an online marketing company.

And approximately 30 percent of shopping carts are abandoned, according to recent surveys by BizRate.com, a shopping search engine.

The main reasons for shopping cart abandonment are*:

  • High shipping prices (72%)

  • Comparison shopping or browsing (61%)

  • Changed mind (56%)

  • Saving items for later purchase (51%)

  • Total cost of items is too high (43%)

  • Checkout process is too long (41%)

  • Checkout requires too much personal information (35%)

  • Site requires registration before purchase (34%)

  • Site is unstable or unreliable (31%)

  • Checkout process is confusing (27%)

To decrease shopping cart abandonment and increase sales, simple minor improvements in automation can be highly effective. Here are some tips that work best for clients and workers alike of OhioHelp.net, an Ohio-based company that specializes in helping businesses worldwide with their marketing, public relations and freelance writing services.

TOP TIPS FROM OHIOHELP.NET

1. Calculate all handling charges and fees in with your price whenever possible, so that you can offer no-cost shipping. And check for specials like Flat Rate packages with Priority Shipping.

2. Dont have people pre-register, fill out lengthy forms, wait for email confirmation, find their password / user ID and figure out how to log in again and continue to fill out more detailed forms and click through a half-dozen pages. Ugh! People want to shop, buy and go. Period.

3. On EVERY page of your site, shopping cart, receipt and Thank You or other automated reply, list complete contact information. Include a specific person to follow up with, business phone number and postal address (no P.O. Box) and a direct email address like diana@ohiohelp.net (i.e. not info@ohiohelp.net). Then if the Internet connection fails, the site goes down or any number of other technical issues occurs, the shopper immediately has concrete information for follow up.

4. Set your product order numbers at one (1). In other words, when someone clicks a purchase button, have the cart say one (1) item purchased when they preview their cart instead of zero, making them select 1 again.

5. Include a no-cost gift in the shopping cart, with the receipt or in the Thank You email, especially with large purchases. Let your customers know you appreciate their business. And ask for referrals!

6. Test special product and package prices with offers on a Thank You page or with a Thank You email.

7. Accept multiple payment options when possible; credit cards, faxed and telephone orders, print checks, money orders, echecks and 3rd party solutions like Paypal. Note: many businesses use American Express.

8. Choose a progressive shopping cart software solution like ProfitAuto at http://presssuccess.com/AutoPilot for a variety of services, pricing packages and options for company growth. ProfitAuto manages not only the cart but also your leads, contacts and shoppers with automated Thank You follow up. It also has autoresponders for pre-sale and after-sale communications, digital tracking and delivery solutions, importing / exporting of lists and autoresponder series, electronic coupons, affiliate programs and more.

NO-COST TRIAL AND INFORMATION

For a 30-day no-cost trial of ProfitAuto, sign up online at http://presssuccess.com/AutoPilot . And download ebooks with loads of information to help with your business from the Freebies section of the OhioHelp.net bookstore at http://www.presssuccess.com/bookstore

So tweak your checkout process. Make your clients and your company happy. And ring up more sales. To learn more top tips and receive them on a regular basis at no charge in your email, sign up at http://ohiohelp.net today or email diana@ohiohelp.net.

* From research (Fall, 2001) by Vividence Corporation, specializing in Customer Experience Management (CEM) products and services.

--

You have permission to publish this article electronically or in print, free of charge, as long as the bylines are included. A courtesy copy of your publication would be appreciated - send to: diana@ohiohelp.net

Diana Barnum, president of http://movingaheadcommunications.com and CEO of http://ohiohelp.net. For more help with marketing, public relations and writing, email diana@ohiohelp.net or call: (614) 529-9459.

Labels: , , ,