Jump to content
  • How to use Notification Service in Spotfire® Using IronPython Scripting


    The Notifications Service allows for sending Notifications to the status bar. Supported by Analyst and Web Player.

    Introduction

    The Notifications Service allows for sending Notifications to the status bar. Supported by Analyst and Web Player.

    Code Sample

    # Copyright © 2020. TIBCO Software Inc. Licensed under TIBCO BSD-style license.
    from Spotfire.Dxp.Framework.ApplicationModel import NotificationService
    
    # Notification service
    notify = Application.GetService[NotificationService]()
    
    notify.AddInformationNotification("My Information Notification title","My Information Notification summary","My Information Notification details");
    
    #notify.AddWarningNotification("Warning Title", "", "")
    #notify.AddErrorNotification("Error Title", "", "")
     

     

    References

    License:  :  TIBCO BSD-Style License


    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...