notification using javascript Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/notification-using-javascript/ Microsoft Dynamics CRM . Microsoft Power Platform Fri, 19 Dec 2014 12:50:00 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/cropped-Microsoftdynamics365-blogs.png?fit=32%2C32 notification using javascript Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/notification-using-javascript/ 32 32 176351444 ( yellow ribbon ) Notification warning javascript ms crm 2013 , ms crm 2015 http://microsoftdynamics.in/2014/12/19/yellow-ribbon-notification-warning-javascript-ms-crm-2013-ms-crm-2015/ Fri, 19 Dec 2014 12:50:00 +0000 http://microsoftdynamics.in/2014/12/19/yellow-ribbon-notification-warning-javascript-ms-crm-2013-ms-crm-2015/ There are lots of new feature in MS CRM 2013 and 2015 , One of them is  a  yellow color ribbon shows warning as per the use by  javascript  Xrm.Page.ui.setFormNotification( ‘Massage to be shown’ ); //CODE function warning() {     var totalamouunt = Xrm.Page.getAttribute( “new_totalamount” ).getValue();     if (totalamouunt != null) {         Xrm.Page.ui.setFormNotification( ‘Massage to be shown’ );     } } There are more in this...

The post ( yellow ribbon ) Notification warning javascript ms crm 2013 , ms crm 2015 appeared first on Microsoft Dynamics 365 Blog.

]]>
There are lots of new feature in MS CRM 2013 and 2015 , One of them is  a  yellow color ribbon shows warning as per the use by  javascript

 Xrm.Page.ui.setFormNotification( ‘Massage to be shown’ );



//CODE


function warning() {
    var totalamouunt = Xrm.Page.getAttribute( “new_totalamount” ).getValue();

    if (totalamouunt != null) {
        Xrm.Page.ui.setFormNotification( ‘Massage to be shown’ );
    }
}
There are more in this like get notification for a field etc 
// clear a notification by using clearFormNotification() and use unique id .
Xrm.Page.ui.clearFormNotification( ‘1’);


// get notification for an field
Xrm.Page.getControl( “fieldName”).setNotification( “message” );


SOURCE : JUST2CODE.IN
Subscribe to our YouTube channel : https://www.youtube.com/user/TheRussell2012

The post ( yellow ribbon ) Notification warning javascript ms crm 2013 , ms crm 2015 appeared first on Microsoft Dynamics 365 Blog.

]]>
2818