Collaboration Pannel

from Spotfire.Dxp.Application.Collaboration import CollaborationPanel
from System import Uri

#need to go through all pannels to find out which one is the cp
for aPanel in Application.Document.ActivePageReference.Panels:
   if type(aPanel)==CollaborationPanel:
      aPanel.Visible=True      #open collaboration panel
      aPanel.Url=Uri("http://spotfired.blogspot.com/?m=1") 


To update all collaboration panels from all pages

#updates all collaboration panels from all pages
from Spotfire.Dxp.Application.Collaboration import CollaborationPanel
from System import Uri

for aPage in Document.Pages:
   for aPanel in aPage.Panels:
      if type(aPanel)==CollaborationPanel:
         aPanel.Visible=True      #open collaboration panel
         aPanel.Url=Uri("http://spotfired.blogspot.com/?m=1")
Previous
Next Post »