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

OnChange Event does not get triggered when a field is updated by a plug-in

(0) ShareShare
ReportReport
Posted on by 15

We have a plug-in that updates a field which triggers the OnChange event to call a JavaScript function. This works in the classic mode and also in the Unified Client Interface in an online instance. However, this does not work in the Unified Client Interface in an onpremise instance. Is this a bug or do we have to do something different for it to work in an onpremise instance?

I have the same question (0)
  • Suggested answer
    Henry J. Profile Picture
    5,237 on at

    Hello,

    I'm not aware of that particular limitation, but please be aware that Unified Interface on Dynamics 365 Customer Engagement v9.0 on-premise is a very early version of Unified Interface.
    It is by nature very limited and it has a lot of known parity gaps or even issues that have only been fixed online.

    I'm curious as to why you would want to deploy Unified Interface on-premise and not use the web client instead?
    It's important that to consider that the web client on Dynamics 365 Customer Engagement on-premise is NOT deprecated.
    This is specifically called out here:
    https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/faqs-transition-unified-interface#how-does-this-move-impact-on-premises-customer-and-what-will-happen-when-the-web-client-is-deprecated-do-web-client-forms-become-unsupported
    So the web client will still be supported for them, as long as their on-premise version is supported.
    Support lifecycle for every product is detailed here: https://support.microsoft.com/en-us/lifecycle/search

    I would advise to wait for the next on-premise version to transition to Unified Interface on-premise.

    Henry

  • Pankaj Gogoi Profile Picture
    3,177 on at

    Hi Trillium,

    Does it work if you manually change the value in the form? Can you check if the script file is loaded in the correct form in onPremise UCI.

    Best Regards

    PG

  • Trillium Profile Picture
    15 on at

    Hi,

    Thanks for your reply. We have customers who are on-premise only who may be using UCI. I guess we will wait for the next release of on-premise to see if it works with UCI.

    Thanks,

    King

  • Trillium Profile Picture
    15 on at

    Hi PG,

    The event triggers when I manually update the field, but we need it to be triggered when updated by a plug-in.

    Thanks,

    King

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 45 Most Valuable Professional

#2
iampranjal Profile Picture

iampranjal 36

#3
Satyam Prakash Profile Picture

Satyam Prakash 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans