RE: Dynamics 365 Customer Engagement Unified UI Javascript issues
Hi Henry,
For both #1 and #2 I am using Javascript functions which work correctly on the Classic UI.
For #1
I have a javascript function that triggers on the OnChange event. When I change the control to use Flip-switch instead of a checkbox, by flipping the value NO to YES or YES to NO doesnt trigger my javacscript on change function.
I cannot use a Business Rule in this case as I am expecting the functionality to work on change. With business rule i can only make it run on save.
For #2
This is also a custom javascript function that opens up a confirmation dialog box before the save action completion, takes the input from user to proceed with the save or cancel the save and then based on the input provided completes the save action or prevents the save action. I am using the Xrm.Utility confirm dialog box for this which works correctly in the classic UI.
I also tried using the Xrm.Navigation confirm dialog box but have seen the same behavior. The save action always completes irrespective of the input from the user (even before the user provides any input).
Thanks,
Swaroop