Labels

Change the URL of the Collaboration Panel

1
2
3
4
5
6
7
8
9
import clr
clr.AddReference ( "System" )
import System
from System import Uri
import Spotfire.Dxp.Application

for panel in Application.Document.ActivePageReference.Panels:
 if panel.Title == "Collaboration":
  panel.Url = Uri ( "http://www.google.com" )

This script will change the URL of the Collaboration Panel for the active page.

No comments:

Post a Comment