Results 1 to 6 of 6

Thread: Convert Lead Process - Need to Remove Custom Fields

  1. #1
    jjwdesign's Avatar
    jjwdesign is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Orlando, FL
    Posts
    503

    Default Convert Lead Process - Need to Remove Custom Fields

    Concerning the CovertLead action, I've got a couple of custom fields that are showing up on Account portion and Contact portion that I would like to exclude from that multisectional form. I looked through the studio, but there doesn't seem to be any easy way to exclude these fields from the ConvertLead view. Does anyone know of an easy way to exclude these custom fields from this view?

    See screen shot from:
    index.php?module=Leads&action=ConvertLead&record=. ..

    Thanks, Jeff
    Attached Images Attached Images  
    SugarForge Projects:
    JJWDesign Google Maps
    JJWDesign Tools and Reports

    Follow my blog postings at JJW Design.

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Convert Lead Process - Need to Remove Custom Fields

    not without cutting some code ... what's the business case for removing them?

  3. #3
    jjwdesign's Avatar
    jjwdesign is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Orlando, FL
    Posts
    503

    Default Re: Convert Lead Process - Need to Remove Custom Fields

    It's mainly to trim down the unneeded and make the convertion process faster and easier. I'm not sure why some custom fields are showing and others are not. I figured there must be a variable definition for this somewhere, maybe not.
    SugarForge Projects:
    JJWDesign Google Maps
    JJWDesign Tools and Reports

    Follow my blog postings at JJW Design.

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Convert Lead Process - Need to Remove Custom Fields

    It usually tries to match up the names. I suppose one way you could trick into ignoring the custom fields without getting into the code would be to purposely introduce a mismatch in the names of the fields between the two modules. Just a theory.
    Regards,

    Angel Magaña
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    jjwdesign's Avatar
    jjwdesign is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Orlando, FL
    Posts
    503

    Default Re: Convert Lead Process - Need to Remove Custom Fields

    Angel, thanks for the suggestion. That makes sense. I can probably prefix the names, but it will make my custom package a bit more complex.
    SugarForge Projects:
    JJWDesign Google Maps
    JJWDesign Tools and Reports

    Follow my blog postings at JJW Design.

  6. #6
    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: Convert Lead Process - Need to Remove Custom Fields

    Alternatively you can comment these lines on modules/Accounts/AccountFormBase.php, modules/Contacts/ContactFormBase.php and modules/Accounts/OpportunityFormBase.php:

    PHP Code:
        if (method_exists($contact'convertCustomFieldsForm')) $contact->convertCustomFieldsForm($form$tempAccount$prefix); 
    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Use Convert Lead with custom fields via vardefs
    By doyleyboy in forum Developer Help
    Replies: 2
    Last Post: 2009-03-20, 12:18 PM
  2. Remove custom fields from Convert Lead -> Account.
    By Trondheim in forum Developer Help
    Replies: 0
    Last Post: 2009-01-15, 09:49 PM
  3. Custom fields and convert lead
    By hubdigital in forum Help
    Replies: 12
    Last Post: 2007-06-27, 04:42 PM
  4. Convert Lead & custom Fields
    By sacramentojoe in forum Help
    Replies: 0
    Last Post: 2007-06-06, 09:46 PM
  5. Replies: 1
    Last Post: 2006-07-03, 02:34 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
  •