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 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

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