Create an OTB SharePoint notification - Fiks IT

Fiks IT

Everything began from nothing.

Breaking News

Post Top Ad

Responsive Ads Here

Post Top Ad

Responsive Ads Here

Tuesday, 17 January 2017

Create an OTB SharePoint notification

Hello,

Today i will show you how we can create a sharePoint notification  using the SP.UI.Notify.addNotification with javaScript :

   var nid = SP.UI.Notify.addNotification("<img src='/_layouts/15/images/loadingcirclests16.gif?rev=23' style='vertical-align:bottom; display:inline-block; margin-" + (document.documentElement.dir == "rtl" ? "left" : "right") + ":2px;' />&nbsp;<span style='vertical-align:top;'>your custom message.</span>", false);

this is the result:






No comments:

Post a comment

Post Top Ad

Responsive Ads Here