from Spotfire.Dxp.Framework.ApplicationModel import NotificationService
notificationService = Application.GetService[NotificationService]()
notificationService.AddErrorNotification("Error title","Error summary","Error details")
notificationService.AddInformationNotification("Info title","Info summary","Info details")
notificationService.AddWarningNotification("Warning title","Warning summary","Warning details")
2 comments:
can we hide this notification message from web player?
Yes Manu, you can put a conditional statement to check if the client is webplayer or not: http://spotfired.blogspot.com/2015/03/how-to-tell-if-spotfire-is-running-from.html
Post a Comment