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 :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

How to trigger OnChange event when the field is updated through Plugin

(0) ShareShare
ReportReport
Posted on by 35

Hi all

I have registered on change event on a field and I am updating that field using the plugin, but the onchange event is not triggering even when the field is updated.

Can anyone help me with this?

I have the same question (0)
  • Suggested answer
    Pankaj Gogoi Profile Picture
    3,177 on at

    Hi,

    The onChange event usually occurs when the data in a form field has changed and focus is lost. This event also occurs when data changes on the server are retrieved to update a field when the form is refreshed, such as after a record is saved.

    When the plugin is triggered? Once the form is saved and refreshes, the field value will be changed which should trigger the onChange. You can try using the fireOnchange,

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/attributes/fireonchange

    Best Regards,

    PG

  • Ria roy Profile Picture
    35 on at

    Hi Pankaj,

    Thanks for your response.

    I need to call the onchange event without refreshing the form when the field is updated through the plugin.

  • Pankaj Gogoi Profile Picture
    3,177 on at

    when you save the form, your plugin is triggered and after save the form reloads. Are you updating this field from another form.

    In order for the OnChange event to trigger, the field should know something changed else it will not trigger.

    You can shift the onChange logic to the plugin code.

    Best Regards

    PG

  • Ria roy Profile Picture
    35 on at

    I am refreshing the form using onchange event because the update in the plugin doesn't call refresh event.

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
11manish Profile Picture

11manish 36

#2
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 32

#3
ManoVerse Profile Picture

ManoVerse 30 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans