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

Thread: Opportunity name as dropdown list

  1. #1
    nasserff is offline Member
    Join Date
    Apr 2008
    Posts
    9

    Lightbulb Opportunity name as dropdown list

    Hi


    Is it possible to make Opportunity Name as drop down list?

    Or this is not a recommend way of doing it?



    Thank you

  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: Opportunity name as dropdown list

    Hi, nasserff

    It is possible in both 5.0 and older versions of SugarCRM, but the implementation in 5.0 is easier.
    Let me know the version you are using and I can help you.

    Best regards.
    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
    nasserff is offline Member
    Join Date
    Apr 2008
    Posts
    9

    Default Re: Opportunity name as dropdown list

    Dear andopes,

    It is nice to hear from you once again.

    I'm using SugarCE-5.0.0c

    Many thanks in advance


    Feras Nasser

  4. #4
    Join Date
    Feb 2007
    Location
    San Jose, CA
    Posts
    1,169

    Default Re: Opportunity name as dropdown list

    Hi nasseriff,

    To answer your question of whether it's recommended or not recommended to do this, I would ask you how many opportunitites you think you'll have in the system.

    From a user interface standpoint, dropdown lists work best if you have a small set of choices to choose from. If you have a larger set of records, it's tedious to have to scroll through the list; in that case, using a search from is a better approach.

    So think about how much data you're going to have to scroll through, then make your design decision based on that.
    Susie Williams

  5. #5
    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: Opportunity name as dropdown list

    Hi, nasserff

    Susie is right.

    If you have a lot of opportunities, I mean, 50 or more a dropdown list is not a good idea.
    But if you have just a couple than you could use the controller.php to define the content of the dropdown and the view.edit.php to display it into layout.

    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.

  6. #6
    nasserff is offline Member
    Join Date
    Apr 2008
    Posts
    9

    Default Re: Opportunity name as dropdown list

    Dear susiewilliams and andopes,


    Thanks for passing by , and regarding the number of opportunity in our case is approximately 5 to 10, so from what you are saying it will work fine, this is great .

    I hope if you can direct me to a thread that shows how to do those changes.

    Many thanks for this support it is really appreciated


    Feras

  7. #7
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Opportunity name as dropdown list

    I did this a couple months back by creating a new custom field called opp_name_c of type dropdown and replacing the name field in the edit view.

    To make this change work everywhere, I did the following:
    • created a custom logic hook for Opportunities that set the name field equal to the opp_name_c field. This meant I didn't have to change the name field everywhere like in the detail view, list view, subpanels and tracker.
    • I did have to modify two files that aren't upgrade safe yet. I needed to modify the quick create form in the Opportunities list view and the form used in Convert Lead. Those files were:
      • modules/Opportunities/metdata/sidecreateviewdefs.php
      • modules/Opportunities/OpportunityFormBase.php
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  8. #8
    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: Opportunity name as dropdown list

    Quote Originally Posted by clint
    [*]I did have to modify two files that aren't upgrade safe yet. I needed to modify the quick create form in the Opportunities list view and the form used in Convert Lead. Those files were:
    • modules/Opportunities/metdata/sidecreateviewdefs.php
    • modules/Opportunities/OpportunityFormBase.php
    Hi, clint.

    It is a good implementation!
    Do you know when these file will be upgrade safe?

    Best regards.
    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.

  9. #9
    nasserff is offline Member
    Join Date
    Apr 2008
    Posts
    9

    Default Re: Opportunity name as dropdown list

    Hi,


    That it is wonderful, for sure I will try to follow your lead and try to implement it, and I will get back to you as soon as I do it.


    However, is it possible to find a source/document that shows how SugarCRM works from a functionally prospective (such as how logical flow of the CRM), to be honest I'm new to SugarCRM but I find it difficult to capture the big picture of it. It might be my fault not spending so much time searching for it, but the information should be pointed out and to be clear as the sun to an extend without technical information overload. I did some reviews for the documentation (not in depth)but it is not easy to understand.

    In conclusion, it is difficult for me to customize SugarCRM without understanding how it works together in general.


    Finally, I would like to thank all who invented this wonderful platform and the supporting team for it.



    Feras Nasser

  10. #10
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Opportunity name as dropdown list

    For a functional overview of SugarCRM, I suggest
    reading through the Online Library in the Sugar University.

    For a technical overview of SugarCRM, I suggest reading through the Getting Started page in the Sugar Developer Zone.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

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. Dropdown list editor doesn't change when saved
    By jmcalderond in forum Help
    Replies: 1
    Last Post: 2008-04-25, 05:09 PM
  2. Replies: 8
    Last Post: 2008-04-08, 02:58 PM
  3. Replies: 0
    Last Post: 2008-04-07, 06:52 AM
  4. Replies: 0
    Last Post: 2008-04-05, 12:18 PM
  5. Related Dropdown List (conditioned)
    By nramirezf in forum Feature Requests
    Replies: 6
    Last Post: 2008-02-03, 11:01 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
  •