Results 1 to 5 of 5

Thread: Imported Lists and Drop-Down Menus

  1. #1
    Altstatten is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    26

    Default Imported Lists and Drop-Down Menus

    Is there a wildcard of some sort so that when importing a list, all of the variations in a field will be imported and not just the ones listed in the drop-down associated with that field?
    Phillip Crum
    Chief Idea Officer
    MarketingMeasure/Sir Speedy Printing and Marketing Services
    Dallas, TX 75229
    pcrum@MarketingMeasure.com
    http://www.MarketingMeasure.com

  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: Imported Lists and Drop-Down Menus

    Hi Phillip

    I have never tried it before but I believe there is no way to do this.
    When importing a dropdown/radion button field the Import functionality try to match the imported value to the available options.
    So I suggest you to update the values of that field into file to be imported accordingly to dropdown list.
    You can add new options if required.

    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
    Altstatten is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    26

    Default Re: Imported Lists and Drop-Down Menus

    Sounds to me like there's two options.

    1. If I have a jillion different variables in a field to be imported, then I have to input those jillion variables into my drop-down so the import will go smoothly, or...

    2. Know enough about importing the db directly into the MySql file and avoid #1.

    Yes?

    And thanks for taking the time to answer my question. I appreciate it.
    Phillip Crum
    Chief Idea Officer
    MarketingMeasure/Sir Speedy Printing and Marketing Services
    Dallas, TX 75229
    pcrum@MarketingMeasure.com
    http://www.MarketingMeasure.com

  4. #4
    mrmmm is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    71

    Default Re: Imported Lists and Drop-Down Menus

    If you go with #2, you will have problems down the line. For example, when you try to edit a record whose dropdown value does not exist in the dropdown list, the value will automatically change to the "default" for that dropdown.

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

    Default Re: Imported Lists and Drop-Down Menus

    mrmmm is right - it's the same. Non existing values don't show. But with a little bit of fiddling you should be able to put them into /custom/include/language/en_us.lang.php in the following format:

    $GLOBALS['app_list_strings']['list_your_dropdown']=array (
    'v1' => 'value1',
    'v2' => 'value2',
    );

    Best would be to create the dropdown first the normal way with one value only and then extend it. The values you get from your existing list with a simple 'group by'

    Hope that helps...

    PS: don't forget that you have to import the 'v1' and not the 'value1' but they may be the same
    __________________________
    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

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Data from drop down lists not merging
    By DN667 in forum Help
    Replies: 1
    Last Post: 2009-02-04, 11:18 AM
  2. Replies: 2
    Last Post: 2008-04-12, 07:37 AM
  3. Can't create custom drop down lists
    By FRLaurent in forum Help
    Replies: 2
    Last Post: 2008-02-12, 10:13 AM
  4. Problem reverting edit view to single select drop down lists
    By yabulurie in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2007-05-20, 10:17 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
  •