Bhubaneswar, Odisha, India
+91-8328865778
support@softchief.com

Dynamics 365- Hide button in command bar on form field value condition (Display Rule)- Ribbon workbench (Part-4)

Dynamics 365- Hide button in command bar on form field value condition (Display Rule)- Ribbon workbench (Part-4)

In this post we will see how we can only display a command button on some form field value condition. Watch my previous blogs where I explained :

  1. How to install ribbon workbench in Dynamics 365

2. How to add a button and call URL Action in Dynamics 365

3. How to trigger JavaScript function on button click in Dynamics 365

Now let us see how we can hide a button on some field value of a form in dynamics 365. Follow previous blogs to know how to add commands for a button then come to this blog as this is a continuation blog of previous blogs.

Step:1 – Configure Display Rule in Ribbon Workbench

Open Ribbon workbench and load the solution containing the entity which has the button. Select the button and navigate to Display Rule and add a new Display rule.

Click on Add Step and select Value Rule.

in the next step provide the logical name of the field you want to check and provide the value for conditional check.

Next associate the Display rule to the command.

Now Publish the ribbon workbench changes and test.

Open any account form and change the Relationship Type as “Press” then you will see the Show Message button will be displayed but if you change to any other type hew button will hide.

When PRESS is selected the button is visible.

Hope this helps

You can enroll now !We are giving 30% discount on our Internship Program

Don’t miss the chance to participate in the upcoming Internship Program which will be done using Microsoft Dot Net Web Development Full Stack Technology. The new batch will be starting from May 20, 2024.  We will have most experienced trainers for you to successfully complete the internship with live project experience.

Why to choose Our Internship Program?

Industry-Relevant Projects
Tailored Assignments: We offer projects that align with your academic background and career aspirations.
Real-World Challenges: Tackle industry-specific problems and contribute to meaningful projects that make a difference.

Professional Mentorship
Guidance from Experts: Benefit from one-on-one mentorship from seasoned professionals in your field.
Career Development Workshops: Participate in workshops that focus on resume building, interview skills, and career planning.

Networking Opportunities
Connect with Industry Leaders: Build relationships with professionals and expand your professional network.
Peer Interaction: Collaborate with fellow interns and exchange ideas, fostering a supportive and collaborative environment.

Skill Enhancement
Hands-On Experience: Gain practical skills and learn new technologies through project-based learning.
Soft Skills Development: Enhance communication, teamwork, and problem-solving skills essential for career success.

Free Demo Class Available