Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

Onchange events being removed in new UI

(0) ShareShare
ReportReport
Posted on by 4

Hi,

 

Only noticed this while comparing unmanaged layer to last managed (msdyn_SwarmingForCS in this instance), it's a Sandbox environment with only Sales Ent installed. Using the new UI, all I did was add a single field into a Main form and this bunch of XML seems to get removed...

 

 

 

 <event name="onchange" application="true" active="true" attribute="contractid">
 <InternalHandlers>
 <Handler functionName="Mscrm.contractid_onchange" libraryName="Service/Incident/Incident_main_system_library.js" handlerUniqueId="1ff26f3d-f9f4-470b-a379-bc74ce466a53" enabled="true">
 <dependencies>
 <dependency id="contractdetailid"/>
 </dependencies>
 </Handler>
 </InternalHandlers>
 </event>
 <event name="onchange" application="true" active="true" attribute="contractdetailid">
 <InternalHandlers>
 <Handler functionName="Mscrm.contractdetailid_onchange" libraryName="Service/Incident/Incident_main_system_library.js" handlerUniqueId="fde679b3-af20-4b24-ab99-13f7de54fbb1" enabled="true">
 <dependencies>
 <dependency id="contractid"/>
 </dependencies>
 </Handler>
 </InternalHandlers>
 </event>

 

 

 

Doing the same on the Classic UI doesn't.

 

I tested across another Sandbox with Customer Service installed and same thing happened. Not sure if it's by design but seemed a bit odd to just remove a bunch of events that I didn't even tough??!!?!

 

Mark

 

  • mheydon1973 Profile Picture
    4 on at
    Re: Onchange events being removed in new UI

    Only noticed in the XML when using the Compare feature. At a guess it's SLA related as refers to contractid, not using SLAs in that tenant so wouldn't notice anyway.

  • cchannon Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: Onchange events being removed in new UI

    That is odd. But not a huge shock. There is a considerable difference between how the classic and modern form editors interact with the form XML, and not all the kinks have been worked out. Are you noticing any behavioral difference, or is it only observable in the xml? It is possible that these events are just deprecated functionality that never got perfectly purged...

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 109 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 72

Overall leaderboard