Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
The function "Alert.show" is working fine in Google Chrome but it's giving an error at runtime (as shown in the image) while executing in IE.
Xrm.Page.ui.setFormNotification("This Request is Rejected.", "INFORMATION") (CRM 2016)
alert("Error in '" + status + "' :" + e);
You can directly use alert("Your message") in Html to embed in CRM. Alert library is not needed.
Thanks for the reply.
But my requirement is to resolve the error and I do not want to place notification on form.
Thanks for the suggestion Vignesh.
I need to use Alert library is to customize the name of the button in the pop-up and now I have implemented the functionality but it is not working in IE only.
I dont know if these links helps you, but kindly look into it
This code should work in IE.
Please check the below prerequisites.
1. Added Alert.js in the form library at the TOP Level.
2. Parameter required for Alert.show method are correct and valid.
As per the error mentioned in your screenshot, it seems that you have not provided the required parameter to Alert.show method.
Thanks you Jayesh
I resolved the issue before your comment but yes you are right, I didn't specified it at the TOP level.
Glad you have resolved it.
Business Applications communities