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