test

Warning when upgrading to Spotfire 10

TIBCO has deprecated the JQueryUI Javascript library in the latest Spotfire 10.0 release

TIBCO Community pages show us how to use JQuery properly

Notifications (Error, Warning or Info)

Notifications are useful for your scripts to tell the user what went wrong or even debug. Enjoy!

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:

Manu Mohan.c said...

can we hide this notification message from web player?

Jose Leviaguirre said...

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