Geeks,
JavaScript on new interface UCI is throwing error when we use standard alert() method on BPF field OnChange event.
alert(“message”); //Old code that is failing
sometimes it takes you to infinite loop after you click Ok to come out of context.
Easy fix as suggested by Microsoft to start use below code on UCI and .then() for call back functions is optional
Continue Reading mscrmsama’s Article on their blog
D365 CE UCI JavaScript: alert() throwing error, replace with Xrm.Navigation.openAlertDialog
Geeks, JavaScript on new interface UCI is throwing error when we use standard alert() method on BPF field OnChange event. alert(“message”); //Old code that is failing sometimes it takes you to infinite loop after you click Ok to come out of context. Easy fix as suggested by Microsoft to start use below code on UCI…
Blog Syndicated with mscrmsama’s Permission
More About This Author
Array
- Dyn365CE29 June 2020Calling a RTW from ribbon button on Dynamics 365
- Dyn365CE9 June 2020Data Export Service for D365 CDS v9.1x and Azure SQL
- Dyn365CE25 March 2020D365 Set status and statusreason from custom ribbon button using JavaScript on UCI
- Dyn365CE1 November 2019D365 CE UCI JavaScript: alert() throwing error, replace with Xrm.Navigation.openAlertDialog