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

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

#1
Martin Dráb Profile Picture

Martin Dráb 51 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans