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 365 | Integration, Dataverse...
Suggested Answer

Ribbon Workbench - hide a button when field is null

(0) ShareShare
ReportReport
Posted on by 65

Hi, 

I want to hide this create invitation button when two conditions is satisfied. The field boq_hubguid is empty and field contacttype = 815233. I have added following display rule but it is not working. 

pastedimage1663475985386v1.png

I have the same question (0)
  • MuhammadAnas Profile Picture
    15 on at

    Use Enable Rule to perform this action add javascript and put condition if field value is null then return false.

  • Prajwal Bhetwal Profile Picture
    65 on at

    Is it not possible to do without javascript by using value rule?

  • M.Anas Profile Picture
    35 on at

    Why you don't Formula Expression to show hide button. 

       

    hope this link will help you

  • Prajwal Bhetwal Profile Picture
    65 on at

    actually, we want to ribbon workbench to do it not by using any power fx or any javascript... hence the question title mentions ribbon workbench but thanks for your suggestion.

  • Suggested answer
    Yuri ji Profile Picture
    Microsoft Employee on at

    Hi,

    Please try adding “OrRule” to “Display Rule”.

    pastedimage1663557614729v1.png

    The button is hidden when both conditions are met:

    Web-capture_5F00_19_2D00_9_2D00_2022_5F00_11233_5F00_orgcf25b196.crm.dynamics.com.jpeg

    Web-capture_5F00_19_2D00_9_2D00_2022_5F00_11154_5F00_orgcf25b196.crm.dynamics.com.jpeg

  • Prajwal Bhetwal Profile Picture
    65 on at

    Hi Yuri ji

    Thanks for your response. It's working well.

    I also want to not display the Send Invitation button when the Contact Type = 815233 and the user does not have a role higher than BDM

    How do I check this privilege in the ribbon workbench?

  • Suggested answer
    Yuri ji Profile Picture
    Microsoft Employee on at

    Hi,

    If you want to control the display or hide of the button by “role”.

    You can refer to this link below:

    d365demystified.com/.../

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 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 156

#2
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans