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 :
Customer experience | Sales, Customer Insights,...
Answered

Trigger the ribbon button on change of a field on the form

(0) ShareShare
ReportReport
Posted on by 1,023

Hi, 

I have a requirement to trigger the ribbon button on change of a field on the form. Please let me know the step by step if this can be achieved ?

Thanks.

I have the same question (0)
  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello James,

    Why do you need to "trigger the button" on the change of the field when you can just call the JavaScript that sits behind the button?

  • yify Profile Picture
    1,023 on at

    Hi Andrew,   I agree your point.  We have ABC ribbon  button on the Form that performs couple things.

    We have a requirement to add the same ABC button in PCF  and up on clicking it should perform same things as ABC button. So, I am thinking the way to achieve this is by configuring the PCF to a field on the form and on change of the field to call the ABC button so that I dont have to rewrite  all the  JS to TS files in PCF.

    Please let me know your thoughts.

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    You can try reusing your JavaScript code as is in the code of your PCF - butenko.pro/.../

  • yify Profile Picture
    1,023 on at

    Thanks Andrew, this is very helpful.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 55 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 37

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans