Results 1 to 3 of 3

Thread: Problem in Custom Dropdown export

  1. #1
    cent Guest

    Question Problem in Custom Dropdown export

    Hi friends ,
    My problem is I already posted in thread with URL : How to make dropdown field value show proper in csv file

    But no solution yet . I attach my test CSV to demonstrate my problem .

    in CSV the value -> couldnotGettheUserInfo must be it's label of field "Could not Get the UserInfo"
    and Xpress_money --> as "Xpress Money".

    test.zip

    Thanks,
    Anes

  2. #2
    agcopley is offline Sugar Community Member
    Join Date
    Nov 2007
    Location
    Santiago, Chile
    Posts
    391

    Default Re: Problem in Custom Dropdown export

    Quote Originally Posted by cent View Post
    Hi friends ,
    My problem is I already posted in thread with URL : How to make dropdown field value show proper in csv file

    But no solution yet . I attach my test CSV to demonstrate my problem .

    in CSV the value -> couldnotGettheUserInfo must be it's label of field "Could not Get the UserInfo"
    and Xpress_money --> as "Xpress Money".

    test.zip

    Thanks,
    Anes
    You have to edit the 'custom/include/languange/<my_lang>.lang.php' file directly to allow keys with spaces for your list of values. Studio doesn't permit key=>value pairs where the key has non-alphanumeric chars

  3. #3
    r3ntg3n Guest

    Default Re: Problem in Custom Dropdown export

    I've fixed that will some include/export_utils.php edits. Here's a diff for the file:
    Code:
    301a302,310
    >                     case 'enum':
    >                         if (
    >                             isset($fields_array[$key]['options']) &&
    >                             isset($focus->field_name_map[$fields_array[$key]]['options'][$value])
    >                         )
    >                         {
    >                             $value = $app_list_strings[$focus->field_name_map[$fields_array[$key]]['options']][$value];
    >                         }
    >                         break;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 2013-01-18, 05:10 AM
  2. Problem with targetList custom Export
    By need86 in forum Developer Help
    Replies: 4
    Last Post: 2012-06-11, 12:17 PM
  3. How do I export custom dropdown?
    By jim.thornton in forum Developer Help
    Replies: 5
    Last Post: 2009-03-03, 11:21 AM
  4. Custom dropdown problem
    By scvinodkumar in forum Developer Help
    Replies: 0
    Last Post: 2009-02-04, 01:32 PM
  5. Replies: 0
    Last Post: 2008-02-20, 07:41 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
  •