Cam Deatherage Posted October 30, 2023 Share Posted October 30, 2023 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? Link to comment Share on other sites More sharing options...
Fredrik Rosell Posted October 31, 2023 Share Posted October 31, 2023 Hello!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 HTML2. Insert Action Control3. Select "Script" and Control Type: Link4. Implement your IronPython Script5. 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now