var formContext = executionContext.getFormContext();
formContext.ui.setFormNotification(infoMessage, /WARNING/, infoId);
var value = Xrm.Page.getAttribute(/sandm_shownotification/).getValue();
if(value == 1){
//clear error notification
formContext.ui.clearFormNotification(888);
}
//information notification
formContext.ui.setFormNotification(infoMessage, /WARNING/, 888);
}

Report
All responses (
Answers (