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 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
In CRM 2011 after UR18 I'm using the following java script code for show the notification message.
var notificationsArea = Sys.Application.findComponent('crmNotifications'); notificationsArea.AddNotification('mep2', 2, 'source', "Warning Message");
The problem is already one notification is placed on the notification area with some HTML message. Now I'm trying to show the new one using the above code snippet. the notification will appeared as I expected.But the old HTML message shows the raw html.How can I fix this issue?In this attachment image earlier inside the span its shows link.After implement second warning message its showing raw html content like span details
This is internal crm method and unsupported. You should avoid doing this and use alert instead. If you stil want to go with this, try below blog reference and see if it works.
Hope this helps.
@ravi kashyap Thanks for your reply. But the problem is if I use like this
var notificationsArea = document.getElementById(‘crmNotifications’);
notificationsArea.AddNotification('mep2', 2, 'source', "Warning Message");
It will throws the error like AddNotification object can't support kind of error.
Okay. Then MS must have changed something in the internal function itself. Sorry I don't have anything else to suggest regarding this method. As suggested above, you can use the normal alert if that fits your requirement.
Business Applications communities