web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to hide the menu items of "Disqualify" button in Lead entity, CRM 2016 on premise

(0) ShareShare
ReportReport
Posted on by 37

HideMenu.PNG

Try to use Ribbon Workbench, but unable to figure out how to do it. Thanks.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    Hi,

    These values are dynamically added based on the status reasons for the disqualify status.

    You'll need to edit the Status Reason attribute on the Lead and remove the values you don't want.

    Hope this helps

  • Charlie Chen179 Profile Picture
    37 on at

    Hi Scott,

    The requirement is to keep the option in OptionSet.Is there any other solution than removing any?

    Thanks a lot.

  • ashlega Profile Picture
    34,477 on at

    Hi Charlie,

     Scott is the ultimate expert in everything-ribbon-workbench, so he may have other suggestions.. but, it seems, you'll need to create a custom button, hide the default one, and, probably, use javascript(customrule) to disqualify the leads. Or you can use a dialog as mentioned in the post below, but I'd rather do it with javascript(can be combined with a workflow.. add a hidden field, set it to true, then call Xrm.Page.data.save from javascript.. and register that workflow on save)

    community.dynamics.com/.../238496

  • Verified answer
    Community Member Profile Picture
    on at

    Hi Charlie,

    if you are "open" to "unsupported solution" you could try to manipulate dom to hide these options.

    In this case, please let me know cause I can help you.

    If you found the answer helpful, please mark as Verified 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Verified answer
    ScottDurow Profile Picture
    21 on at

    Yes - the only option is to hide the standard button and create your own button.

    The options are created dynamically and so can't be hidden using Ribbon customisations.

    Using DOM manipulation wouldn't be a good idea because the Unified Client is coming and has a completely different DOM!

  • Charlie Chen179 Profile Picture
    37 on at

    Hi Alex,

    You have good point. If I have to put too much effort on hiding the option, I'd rather reduce the options directly.

    Thanks.

  • Charlie Chen179 Profile Picture
    37 on at

    Thanks Scott,

    I think such a requirement doesn't deserve so much effort.

    By the way, what is Unified Client?

    We're using 2016 on premise.

    Thanks,

  • Albert_ Profile Picture
    458 on at

    Can you explain more about this?

    or give a reference link about this?

    best regards.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans