Results 1 to 5 of 5

Thread: Leads Import

  1. #1
    nsilva is offline Junior Member
    Join Date
    Mar 2007
    Posts
    3

    Default Leads Import

    I just started using Sugar CRM. Im having problems importing my leads from a tab delimited file.
    When go into the import tool, it reads the file and lets me pick what information I want to map in which
    column of the table, then when I click Import.

    I get a screen saying

    Import Step 3: Confirm Fields and Import
    Print Print Help Help
    Import Started:
    Sun Mar 25 2007 21:12:01 GMT-0500 (Eastern Standard Time)..................

    At the beguinning the dots move, showing some kind of activity, then after a while they stop moving and nothing
    else happens. I have try doing it multiple times with no luck.

    Im importing around 30,000 records; I thought that maybe the amount of records was causing the problem, and tried only with a few, no luck! In addition, I tried a comma delimeted file, nothing either..
    This is a sample of how the contacts look like:
    Contacts


    Operating system type and version: Ubuntu Server 6.06
    Sugar Suite version 4.5.1b
    Webserver Apache 2.0.55
    » PHP version 5.1.2
    » MySQL server version 5.0.22
    Last edited by nsilva; 2007-03-26 at 01:53 AM.

  2. #2
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: Leads Import

    Hi,
    There will be lots of causes to make the import process stop.

    1. Increare the max. memory in php.ini. The Import function consumes lots of memory.
    2. Increate the max. execution time in php.ini. It might have timed out.
    3. Change the database type from InnoDB to MyISAM if you don't mind. InnoDB runs 10 times slower than MyISAM in Import.
    4. Split the csv file into smaller chunks and run Import several times.
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

  3. #3
    nsilva is offline Junior Member
    Join Date
    Mar 2007
    Posts
    3

    Default Re: Leads Import

    Do you see a problem if I just do it directly in SQL. I know some of the fields will not get populated such as owner of the record, date....

    But is there a potential problem with this approach?

  4. #4
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: Leads Import

    Quote Originally Posted by nsilva
    Do you see a problem if I just do it directly in SQL. I know some of the fields will not get populated such as owner of the record, date....

    But is there a potential problem with this approach?
    The only concern I have is that the "id" field is not populated if you use SQL directly. The "id" is used to identify each record, and should be unique throughout a SugarCRM instance. If you are able to populate the id field in advance, the SQL approach would not be a problem.
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

  5. #5
    efgroup is offline Sugar Community Member
    Join Date
    Feb 2006
    Location
    SW Texas
    Posts
    16

    Default Re: Leads Import

    I just got through setting up an import module in Visual FoxPro that hits the leads table plus an additional leads add on table that we added in to Sugar.

    When we import leads, we wanted them auto assigned to our telemarketers and a particular campaign.

    We use VFP tables and databases as the master repository of leads, then load leads per 'production job' into Sugar CRM.

    I did this with odbc from VFP over the internet into a mySql instance in a shared services server.

    some things you have to prep for:

    1. leads id value - thats no problem on our side, as we can generate the id's before the sql insert
    2. campaigns id - if for a new campaign, create it first in Sugar, grab the ID, use it on the leads import
    3. assigned_to_id - this is the id in the users table - so if you are adding in new users for a particular campaign, do that FIRST before you import leads - then grab that ID value, put into the vfp table.

    In speedtests today, was able to import about 40K records in about 55 minutes.

    I hate tab delimited with a passion.

    Wintel Box running VFP import -> odbc ->internet ->odbc->mysql db

    Warmest Regards [Bill]
    ----
    Wililam Sanders / Electronic Filing Group (We Sling Data!)
    Custom SW Dev for VFP/SQL/mySql
    Targeted Marketing Consulting and Integration
    see http://efgroup.net/dotnetconversion for more info

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Leads Mass Import?
    By charterit in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2007-03-15, 02:58 PM
  2. Replies: 4
    Last Post: 2006-07-05, 11:39 AM
  3. Categorize Leads Upon Import
    By eSolutions in forum Help
    Replies: 4
    Last Post: 2005-10-23, 10:39 PM
  4. Failed/Spotty Import of Leads
    By DCHARRISON in forum Help
    Replies: 0
    Last Post: 2005-09-03, 10:49 PM
  5. Replies: 1
    Last Post: 2005-08-06, 06:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •