Results 1 to 6 of 6

Thread: How to Remove Duplicate Button

  1. #1
    art G is offline Sugar Community Member
    Join Date
    Dec 2010
    Posts
    46

    Default How to Remove Duplicate Button

    I am running Sugar 5.5.4 CE and wanted to know if there a way to remove Duplicate Button from Leads, and have it visible or usable only for certain Users?
    Can I do that in Roles? I couldn't see it there.

    Thx

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: How to Remove Duplicate Button

    There's nothing out of the box that would let you hide/show the Duplicate button based on roles. It would require custom coding to do so. Very doable though.

  3. #3
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: How to Remove Duplicate Button

    The duplicate button uis fixed in detail view file for this module.
    To remove it, you just have to open the leads detail view file, and remove the duplicate entry from buttons array.

    To have this button available just to a user set, is needed to program it manually.
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

  4. #4
    art G is offline Sugar Community Member
    Join Date
    Dec 2010
    Posts
    46

    Default Re: How to Remove Duplicate Button

    Quote Originally Posted by rafael.q.g@hotmail.com View Post
    The duplicate button uis fixed in detail view file for this module.
    To remove it, you just have to open the leads detail view file, and remove the duplicate entry from buttons array.

    To have this button available just to a user set, is needed to program it manually.
    Where do i find the file? i looked into /modules/Leads/ which file in there do i edit?

    Also what do I edit?

    Thx

  5. #5
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: How to Remove Duplicate Button

    The file could be into /modules/Leads/metadata or custom//modules/Leads/metadata (this one if exists is the used one).

    In this file there is an array with the label 'DUPLICATE'. You have to remove this entry. (Probably it is in the very begin of the document, before the fields layout)
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

  6. #6
    art G is offline Sugar Community Member
    Join Date
    Dec 2010
    Posts
    46

    Default Re: How to Remove Duplicate Button

    Quote Originally Posted by rafael.q.g@hotmail.com View Post
    The file could be into /modules/Leads/metadata or custom//modules/Leads/metadata (this one if exists is the used one).

    In this file there is an array with the label 'DUPLICATE'. You have to remove this entry. (Probably it is in the very begin of the document, before the fields layout)
    Great thanks,

    So If i remove it no one will be able to use it. IS there a way so only certain USER's can use it?

    Thx

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Remove Duplicate BTN by role
    By cff_moiseszaragoza in forum Help
    Replies: 0
    Last Post: 2011-06-22, 03:27 PM
  2. Cannot Remove Duplicate Contacts
    By GerryKey in forum Help
    Replies: 0
    Last Post: 2011-05-09, 05:29 PM
  3. Remove the 'remove' Button from MANY2MANY Subpanel
    By thyseus in forum Developer Help
    Replies: 5
    Last Post: 2011-01-25, 02:37 PM
  4. How to remove duplicate link fields
    By ldebaets in forum Developer Help
    Replies: 3
    Last Post: 2010-12-16, 06:54 PM
  5. Replies: 0
    Last Post: 2006-04-19, 04:37 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
  •