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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to hide button in specific forms using Ribbon Workbench !

(0) ShareShare
ReportReport
Posted on by

Hi folks,

I want to hide a button in particular forms related to Service activity entity, as I have hidden the button but it hides in all the forms, I need to hide in some particular forms, is there anything in Workbench to do this or should I go for some other options like through process, please guide as it is urgent, thanks in advance.

Image is here

405764.Capture.PNG

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Guowei_Xu Profile Picture
    407 on at

    Hi Faisal,

    If you hide the Ribbon button, it must be hide in all the forms.

    I think you may add a enable rule to this button, and you can custom the enable rule by Java Script to fit your particular situations.

  • Verified answer
    Community Member Profile Picture
    on at

    Hi Faisal,

    You have have a visible rule with custom JS function which returns true / false based on the form name

    function IsButtonVisible(){
    
    var formName = Xrm.Page.ui.formSelector.getCurrentItem().getLabel();
    return romName == "You Form Name";
    }

    Thanks,
    Tenison


  • Verified answer
    Community Member Profile Picture
    on at

    Simple. Refer to the URL below.

    community.dynamics.com/.../186299

  • Verified answer
    Mahendar Pal Profile Picture
    45,095 on at

    If I understand your question clearly you want to hide ribbon button based on entity name correct ? you can apply entity name rule to hide it: https://msdn.microsoft.com/en-us/library/gg309418.aspx

    Hope it will help.

    Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans