Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Multi select import

  1. #1
    madhrishi is offline Senior Member
    Join Date
    Feb 2009
    Posts
    99

    Default Multi select import

    Hi All,
    I need to import a multi select field. I have an excel sheet saved as comma separated file. It works if i give only one value for the multiselect field. But how to input data in excel to give more than one value for the same field?

    I get the following error on import.

    NOTICE: [8] Undefined index: LBL_ERROR_INVALID_MULTIENUM on line 329 in file D:\Sugar\htdocs\sugarcrm\modules\Import\views\view .step4.php

    In the excel sheet i have something like this... the second column is multiselect.

    B Corporate,Business Defence/Government Legal

    Thanks,
    Madhu

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Multi select import

    Hi Madhu

    You need to set the multi select options into import file this way:

    option1^,^option2^,^option3

    Using the options keys (which is stored into database) instead of their values (which is displayed).

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    madhrishi is offline Senior Member
    Join Date
    Feb 2009
    Posts
    99

    Default Re: Multi select import

    I did that ... still i am getting errors... attached are the screen shots for the same ... pls help...

    Thanks,
    Madhu
    Attached Files Attached Files

  4. #4
    madhrishi is offline Senior Member
    Join Date
    Feb 2009
    Posts
    99

    Default Re: Multi select import

    any one pls ? I just need to know how to import multiselect fields ?

  5. #5
    ecrypt is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Chennai,India
    Posts
    75

    Thumbs up Re: Multi select import

    Hi Madhu,

    Just try disable the Notice error in your php.ini, if its works then we can simply do the debugging,

    Feel free to contact me for further discussions ecrypt@gmail.com

    Best
    Sen
    Best,

    Ecrypt- Sen
    ecrypt@gmail.com

  6. #6
    madhrishi is offline Senior Member
    Join Date
    Feb 2009
    Posts
    99

    Default Re: Multi select import

    Hi Sen,
    php.ini already has this line

    error_reporting = E_ALL & ~E_NOTICE

    Which means notice errors are disabled, i think. I have attached the error screen shots in the previous message. Dont they give an idea about is going wrong? I am pretty sure its something to do with the
    input file.

    Thanks,
    Madhu

  7. #7
    kodikarthi is offline Senior Member
    Join Date
    Sep 2008
    Posts
    20

    Default Re: Multi select import

    Hi Madhu,
    the same problem i am facing. I did not get the solutions. If u get the answer please post your answer else mail me.

    Karthikeyan Thirugnanasambandam
    karthikeyan.t@insoft.com
    kodikarthi@gmail.com

  8. #8
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: Multi select import

    Check this thread. This solution only applies to 5.0.* versions
    Last edited by crmsiva; 2009-03-19 at 07:09 AM.

  9. #9
    madhrishi is offline Senior Member
    Join Date
    Feb 2009
    Posts
    99

    Default Re: Multi select import

    but i am using Version 5.2.0a only. Still i am not able to import multiselect fields from excel. Is there a document explaining how to import multiselect fields? I am sure this is something to do with the way i input data in excel.... i have already attached screen shots... anyone?

  10. #10
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Multi select import

    It is very simple,
    you can see it on the screen where the 1st line is displayed.

    You must not user a csv separator "," (Comma) if you use multiselect fields if you do not use field qualifying Quotes.

    So your input.csv-file should look like
    "name","sel1^,^sel2",...
    and not like
    name,sel1^,^sel2,...
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Bug 25719 - unable to import Multi select fields
    By kotrbtho in forum Developer Help
    Replies: 6
    Last Post: 2011-03-21, 11:06 AM
  2. Different Results from Select and Multi Select
    By dtwing in forum Developer Help
    Replies: 1
    Last Post: 2008-09-26, 02:06 AM
  3. Multi select field
    By crazybeardedman in forum Help
    Replies: 1
    Last Post: 2008-02-14, 07:49 PM
  4. Multi select in the studio
    By altervisions in forum Help
    Replies: 2
    Last Post: 2007-06-20, 09:15 AM
  5. multi select not working.
    By sugarcare in forum General Discussion
    Replies: 0
    Last Post: 2006-05-27, 06:47 AM

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
  •