Are classic APIs like SP.UI.Notify.addNotification supposed to be used in the modern experience of SharePoint Online or are they deprecated? Is there documentation about this anywhere?

addNotification adds a notification banner showing a message to the user but the styling and position (lower left corner of the screen) seem odd. So maybe it shouldn't be used anymore?


"Office UI Fabric is the official front-end framework for building experiences in Office 365 and SharePoint." source (the source also has instructions on how to use it in SPFx web parts). Perhaps check out the MessageBar component as a replacement for the notification.

Though, I haven't seen any official documentation as to the status of sp.ui.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.