Warning when upgrading to Spotfire 10

TIBCO has deprecated the JQueryUI Javascript library in the latest Spotfire 10.0 release

TIBCO Community pages show us how to use JQuery properly

Setting a Property and set it to the max date value

#get the max date
maxDate = Document.Data.Tables["My DataTable"].Columns["My  Date"].RowValues.GetMaxValue().Value

Document.Properties["myMaxDate"] = maxDate

#get the latest date
dt = Document.Data.Tables["EV_EVENT_DV"]
rows = Document.ActiveFilteringSelectionReference.GetSelection(dt).AsIndexSet()

latestDate = dt.Columns["TR_Date"].RowValues.GetFormattedValue(rows.Last)

No comments: