Results 1 to 8 of 8

Thread: Customiztion of the field of Opportunity Name

  1. #1
    malika_gupta is offline Senior Member
    Join Date
    Mar 2011
    Posts
    34

    Default Customiztion of the field of Opportunity Name

    Hi

    I want to Customize the Text field of the Opportunity Name in the Oppoprtunities Module to DropDown. How Can I do this from the admin's login? Or Please tell me some other way of doing this.

    Its Urgent. Please Reply.

  2. #2
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Customiztion of the field of Opportunity Name

    Quote Originally Posted by malika_gupta View Post
    Hi

    I want to Customize the Text field of the Opportunity Name in the Oppoprtunities Module to DropDown. How Can I do this from the admin's login? Or Please tell me some other way of doing this.

    Its Urgent. Please Reply.
    Create your dropdown list in Dropdown Editor

    Create a file Custom/Extension/modules/accounts/Ext/custom.php

    $dictionary["Account"]["fields"]["name"][ "type"] = 'enum';
    $dictionary["Account"]["fields"]["name"][ "options"] = "THEDROPDOWNNAME";

    Then do a repair
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  3. #3
    malika_gupta is offline Senior Member
    Join Date
    Mar 2011
    Posts
    34

    Default Re: Customiztion of the field of Opportunity Name

    Quote Originally Posted by mikesolomon View Post
    Create your dropdown list in Dropdown Editor

    Create a file Custom/Extension/modules/accounts/Ext/custom.php

    $dictionary["Account"]["fields"]["name"][ "type"] = 'enum';
    $dictionary["Account"]["fields"]["name"][ "options"] = "THEDROPDOWNNAME";

    Then do a repair
    Its not working. Could you please tell me this in some other way.

  4. #4
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Customiztion of the field of Opportunity Name

    Sorry I put accounts not opportunities and wrong path

    Create a file Custom/Extension/modules/Opportunities/Ext/Vardefs/custom.php

    $dictionary['Opportunity']["fields"]["name"]["type"] = 'enum';
    $dictionary['Opportunity']["fields"]["name"]["options"] = "THEDROPDOWNNAME";
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  5. #5
    malika_gupta is offline Senior Member
    Join Date
    Mar 2011
    Posts
    34

    Default Re: Customiztion of the field of Opportunity Name

    Yes, I did that, but still it was not working.

    I created a DropDown list named OPP_NAME.

    Then I Created a file Custom/Extension/modules/Opportunities/Ext/Vardefs/custom.php


    In which I pasted the following thing.

    $dictionary['Opportunity']["fields"]["name"]["type"] = 'enum'; $dictionary['Opportunity']["fields"]["name"]["options"] = "OPP_NAME";


    And then I repaired by clicking on "Quick Repair and Rebuild" by following the path (Admin-> Repair-> Quick Repair and Rebuild)

    Still I was not able to see the change.

    Am I doing it correct?

  6. #6
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Customiztion of the field of Opportunity Name

    Well it sounds good to me

    What version of Sugar are you using
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  7. #7
    malika_gupta is offline Senior Member
    Join Date
    Mar 2011
    Posts
    34

    Default Re: Customiztion of the field of Opportunity Name

    It is SugarCRM
    Version 6.1.2 (Build 5555)

  8. #8
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Customiztion of the field of Opportunity Name

    OK u are right

    I tested it in 5.51 and works fine

    I then tested in 6.1 and it doesn't

    Sugar must have changed how it works
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Custom Field % In Module Opportunity
    By berins in forum Help
    Replies: 1
    Last Post: 2008-08-13, 10:07 AM
  2. Adding a new field to Opportunity
    By teamcmi in forum Sales Force Automation
    Replies: 1
    Last Post: 2008-02-27, 08:29 PM
  3. Replies: 4
    Last Post: 2008-01-14, 04:47 PM
  4. Opportunity field - Too Small
    By steph552 in forum Developer Help
    Replies: 1
    Last Post: 2007-04-24, 01:27 AM
  5. Custom Opportunity Field
    By creaware in forum Feature Requests
    Replies: 1
    Last Post: 2005-08-12, 01:57 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
  •