Jump to content
We've recently updated our Privacy Statement, available here. ×

I've created a custom button using CSS and html in my text area. I'm looking to filter a data table when selecting that button. Any documentation on how to do this?

Cam Deatherage

Recommended Posts


You could e.g. do that using an IronPyton script (or by applying a bookmark, if that suits your use case). For IronPython scripts, you can find many examples in the IronPython scripting in Spotfire page here in the community: https://community.spotfire.com/s/article/IronPython-Scripting-in-TIBCO-Spotfire

-- for filtering, see the Filtering and Marking section

-- see https://community.spotfire.com/s/article/How-to-get-or-set-a-specific-filter-using-IronPython-script-in-TIBCO-Spotfire for an example of setting a specific filter.

General workflow:

(0. Create a Text Area)

1. Edit HTML

2. Insert Action Control

3. Select "Script" and Control Type: Link

4. Implement your IronPython Script

5. Do the styling you want of your link (e.g. so it looks like a button) 

There is a Dr. Spotfire session - Create Fancy and Stylish Buttons in Spotfire - on this general topic: 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...