Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Hide options displayed on click of plus button in Activities subgrid

Posted on by 10

Hi All,

This is working for me except `phonecall', 'email' and 'task' buttons.

       $("#AddtaskButton").remove();

       $("#AddemailButton").remove();

       $("#AddphonecallButton").remove();

Do you know what's especial with this activities. The rest of  activities remove correctly from the (+) menu, but these three I don't know why not working.

Thank you for your response.

  • Suggested answer
    Carlo Velasco Profile Picture
    Carlo Velasco 787 on at
    RE: Hide options displayed on click of plus button in Activities subgrid

    Hi Carlos

    The code that you are using is highly unsupported.

    The best way is to use XRMToolbox with Ribbon Workbench plugin.

    https://www.xrmtoolbox.com/

    https://www.xrmtoolbox.com/plugins/RibbonWorkbench2016/

    There are several 3rd party blogs on the web with recommendations on how to use this solution to hide buttons.

  • Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Hide options displayed on click of plus button in Activities subgrid

    Hi,

    Why are you trying to hide using unsupported code?

    You can use ribbon workbench to hide buttons. If requirement is to hide from specific entity where subgrid is added then you could utilize display rule/Enable rule to hide those buttons.

    If found helpful, Please mark my answer verified.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans