Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Problem with importing companies

  1. #1
    cilla is offline Sugar Community Member
    Join Date
    Oct 2007
    Posts
    43

    Angry Problem with importing companies

    Hi!
    I have made a own multiselect dropdown, but when i import my companies and select the fields everything works except my new label field, I choose right in the import but the information dont show up when i go to company when i´m in company and select from the list it stays on the information so my problem is how to import the information so it stays after the import if you guys know what i mean.

    is there something i missed when i created the multiselect? i can select the field in the import function but the info dont saves on the company.

    regards cilla

  2. #2
    cilla is offline Sugar Community Member
    Join Date
    Oct 2007
    Posts
    43

    Default Re: Problem with importing companies

    Nobody know how to change so it works to save the information?

    /Cilla

  3. #3
    JVWay is offline Sugar Community Member
    Join Date
    Sep 2007
    Location
    Corvallis, Oregon
    Posts
    452

    Default Re: Problem with importing companies

    It does work as I have achieved what you are trying. I think that it is case sensitive so be sure that the data you are importing is exactly the same as what you have in the drop down. Also, be sure that the key and the label are correct. I believe that the data imported needs to be the same as the key value. I've always made mine the same value but I would think that's the way it would be.

    What this means is that you could have key values of 1,2,3 and label values of Red, Green, Blue. Your imported data would be 1,2 or 3 but the drop down would show Red, Green or Blue. Now there's no reason to do this as Sugar supports textual keys I'm just showing that this could be the problem and your incoming data may be of this type.

    Also, be sure you are using a CSV text file. If you are exporting from Excel or Access or something it's always a good idea to open the file in notepad++ or something and save it to get rid of any formatting that might be fouling your import.
    Jerry Way
    Business Process Administrator

    Sugar 6.1.4 Professional
    (Testing 6.1.2)
    LAMP on Centos 5
    PHP 5
    MySQL 5
    Apache 2.2

  4. #4
    wichard is offline Sugar Community Member
    Join Date
    Dec 2004
    Location
    Almelo, Netherlands
    Posts
    75

    Default Re: Problem with importing companies

    also keep in mind if it is a multiselect dropdown and you import multiple values the format will be like "key1^,^key3" this way it represents selecting key1 and key3 for the multiselect field
    Wichard Noppert
    Prudento
    Twitter

  5. #5
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Problem with importing companies

    jvway is right. You must import the key values. It's easy in English but tricky in other languages because your import file must be "translated". E.g. key value "trade fair" / en "trade fair" / de "Messe" -> I must import "trade fair". Would be easier to understand if the key values were indeed numeric as jvway says.

    rgds
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  6. #6
    cilla is offline Sugar Community Member
    Join Date
    Oct 2007
    Posts
    43

    Default Re: Problem with importing companies

    Hi guys!
    I give it a try

    I come back and tell

    /Cilla

  7. #7
    cilla is offline Sugar Community Member
    Join Date
    Oct 2007
    Posts
    43

    Default Re: Problem with importing companies

    No i have tryed it all dont work it saves everything except the value for multiselect

    here is the products_list:
    $GLOBALS['app_list_strings']['products_list']=array ( '' => '',
    'key1' => 'Affärssystem',
    'key2' => 'Arbetsbord',
    'key3' => 'Bandningsmaskiner',
    'key4' => '',

    here is my csv file:
    9696867036 Actima Montörgatan 1 302 60 HALMSTAD www.actima.se 035-214602 key1
    5509109053 Arkstäd Tylövägen 21 302 70 HALMSTAD 035-32371 key2


    i have put in company.nr at the first value and that field saves the value when i import but dont save the value for the multiselect that is last value

    anymore idea´s boys how i can manage to do his

  8. #8
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Problem with importing companies

    That looks very Swedish to me...

    Will try to replicate later today. Stay tuned. BTW - what version are you using?

    rgds
    rl
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  9. #9
    cilla is offline Sugar Community Member
    Join Date
    Oct 2007
    Posts
    43

    Default Re: Problem with importing companies

    SugarCE 5.0.0g

  10. #10
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Problem with importing companies

    Hi,

    Confirmed. Doesn't work.Tried it with an exported file so structure and content is ok.
    You need to do it directly in the database. But for this field only. Use your company no as identifier and run update accounts_cstm set...

    rgds
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Importing problem
    By dgewirtz in forum Help
    Replies: 2
    Last Post: 2007-10-12, 03:17 AM
  2. Problem with MySQL while installing
    By Yuber in forum General Discussion
    Replies: 3
    Last Post: 2006-02-27, 10:15 AM
  3. Huge problem importing contacts!
    By cornerstone in forum Help
    Replies: 0
    Last Post: 2005-12-28, 05:38 PM
  4. Problem with the Upgrade from 351 to 40
    By jalonsoad in forum Help
    Replies: 1
    Last Post: 2005-12-19, 07:10 PM
  5. Replies: 1
    Last Post: 2004-10-31, 05:59 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
  •