Facebook News
My church has a community for young adults which I am a part of. I was put in charge of announcements which includes emailing out upcoming events & schedule (who is teaching, in-class announcements, leading prayer, etc.) to the leadership team weekly. Emailing some info weekly isn’t too hard right? Well, what about the rest of the group? Wouldn’t it be nice to share with everyone?
Change Filter Value Across Multiple Tables and Schemes
This script will allow you to set all of your filters of a certain type (Radio Button in this example) to a specific value or Document Property. Combine this with a dropdown list linked to a Document Property and your users can filter with your custom drop down across the document.
Replace Data Table with Flat File Source
This script enables you to swap out your data table for a file that you have either on your local machine or a network share. This can be useful if you have multiple files for different users or code environments that you want to switch between on demand. Provided your column names and types are the same there should not be any noticeable change to your visualizations other than the data itself. This can be done similarly with an information link data source (InformationLinkDataSource(Guid)) or other such data sources created through the Spotfire.Dxp.Data.Import Namespace.
Replacing the Data Table of your Visualization
This script is designed to swap between two different data tables within the same visualization. However, it can be utilized to replace the data table with a new one you’ve created/pulled from somewhere or just simply reorder and redesign your table with the column, sort, and column width options.
Reset Markings and Filters in Spotfire
I wrote this script to clear out my markings and filters when I am setting new values or switching views. This avoids the necessity to click in white space to reset your marking if you’re using details visualizations driven by your markings. This can also be used as a general purpose reset button for your users in which you could include Document Property changes as well.
Logging Usage in Spotfire
This is a script I wrote to help with tracking the usage of our Spotfire analyses. Originally I was utilizing the System library to get the UserName of the user. However, I found that when the user accesses Spotfire through the Web Player this variable shows up as the web player server. Utilizing the mini-hack of programmatically creating a bookmark you can find out the username as well.