Dynamics 365 添加页面提示信息 AddNotification
/* 说明:表单提醒信息。 */ function NotificationAlert(AlertType, AlertId, AlertString) { var notificationsArea = window.parent.document.getElementById('crmNotifications'); if (notificationsArea == null) { if (USER_LANGUAGE_CODE == 2052) { alert('未能找到提醒信息显示控件,请联系系统管理员咨询!'); } else { alert('Unable to find remind information display control, please contact the system administrator for consultation!!'); } return; } switch (AlertType) { case "Critical": notificationsArea.control.AddNotification(AlertId, 1, 'source_' + AlertId, AlertString); break; case "Warning": notificationsArea.control.AddNotification(AlertId, 2, 'source_' + AlertId, AlertString); break; case "Info": notificationsArea.control.AddNotification(AlertId, 3, 'source_' + AlertId, AlertString); break; default: notificationsArea.control.SetNotifications(null, 'source_' + AlertId); break; } AlertType = "None"; }
1.AlertType=Critical

2.AlertType=Warning

3.AlertType=Info

浙公网安备 33010602011771号