Spotfire – Show / Hide Details Panel (Toggle the details-on-demand panel on\off)

Show / Hide Details Panel (Toggle the details-on-demand panel on\off) :

if (Document.ActivePageReference.DetailsOnDemandPanel.Visible == False):
Document.ActivePageReference.DetailsOnDemandPanel.Visible = True
else:
Document.ActivePageReference.DetailsOnDemandPanel.Visible = False

show_hide_details

 

Steps in detail:

  1. Insert Text Area
  2. Edit Text Area
  3. Click on ‘Insert Action Control’. You can find this in Text Area title bar
    • Action Control dialog is displayed
  4. Select ‘Script’, by default ‘Actions’ will be selected.
  5. Fill in the ‘Display Text’
  6. Select Link for ‘Control Type
  7. Click on ‘New’ to create new script
    • ‘New Script’ dialog box is displayed
  8. Fill in the script details as shown in above image

 

 

Leave a Reply