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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Customize oob button

(0) ShareShare
ReportReport
Posted on by 22

Hi Community,

I am trying to customize an oob button such that it is visible for few users and not visible to other. I have written an JS for the same and added it to the button through ribbon work bench. The button visibility is working as expected but the default functionality of the button got overridden, i.e nothing is happening on click of the button.

Is there a way to do the same with out affecting the default functionality of the OOB button.

Thanks in Advance. 

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Satyanand,

    It’s so strange, maybe you can refer following link to hide button based on security role:

    Hide and Show Ribbon Button Based on User Security Role in Dynamics 365 v9.x – All About Dynamics 365

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • apa Profile Picture
    8,284 Moderator on at

    Satyanand, NEVER customize OOTB command bar buttons in Dynamics 365. You should always create a custom button to avoid exactly the kinds of issues you've encountered and solution layering issues.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans