Addendum, and Extra information:

More sophisticated editing of the Details-On-Demand

Go to the Edit menu, then click Properties. Go to the Data and Background tab, then HTML Details-On-Demand, and in Template: change the drop down to "Active Marker", and click "Edit".

Now you will see the HTML Template that spotfire uses to construct Details on Demand. It basically works by substituting anything spotfire finds in $() with a variable from the dataset.
The variables:
Lets consider you have a column in spotfire called "Well Proper" (fixed-length well data), and "Field", which field a cell is in.
$(Well Proper) and $(Field) are then used in the template to designate which marker was clicked by the user. These can be changed to represent a possibly more appropriate variable in your dataset. For example, if you only want to show field 15, you would replace $(Field) with 15. Or, if you named your fixed-length well column "WellFL", then you would use $(WellFL) instead of $(Well Proper).

A good place to start out is with the 'Default' template (Click the Default button). Then you can add a line like this:


Where the $(DBDIR) is the directory where the Open spotfire file is located (built in).
$(ImagesPath), is a variable added by you, to designate the location from the DBDIR where the images are.
$(ImageTag), would also be a variable added by the user, to designate the leading text in the image file name, i.e., the Image Tag.

For example, if you had opened a spotfire file in C:\Spotfire\, your images were in C:\Spotfire\Images\, and they were named like "HRT_10100ti300B02f11d1.BMP", You would make a new column with ImagesPath = "Images", and ImageTag ="HRT_10100ti300".

This method is the best for dealing with files that have images scattered in different locations and with different tags. Then you can use Spotfire's "Data", "Add Columns . . " to match up where each data point gets its images.


Also, this template won't work in Bar Chart or Pie Chart views.

by W. Buchser 2007