Introduction
The Web Page panel is a tool that allows you to view web pages in Spotfire. To configure the Web Page Panel, you can enter a URL to a web page that Spotfire will show in the Web Page panel. The script that allows to configure or change the URL of the Web Page Panel/Collaboration Panel.
The below script configures or changes the URL pf specified Web Page Panel/Collaboration Panel.
Code sample
# Copyright © 2017. TIBCO Software Inc. Licensed under TIBCO BSD-style license. import clr import System from System import Uri clr.AddReference ( "System" ) import Spotfire.Dxp.Application from Spotfire.Dxp.Application import PanelTypeIdentifiers for panel in Application.Document.ActivePageReference.Panels: if (panel.TypeId == PanelTypeIdentifiers.CollaborationPanel): if (panel.Title == "Web Page"): panel.Url = Uri ( "http://www.google.com/"" )
References
- API Reference: Spotfire Analyst
- API Reference: CollaborationPanel Class
- API Reference: Page.Panels Property
- API Reference: PanelTypeIdentifiers Class
- API Reference: Panel.Title Property
License: TIBCO BSD-Style License
Recommended Comments
There are no comments to display.