VisualizationRelations SetPreferred Method TIBCO Spotfire 6.0 API Reference
Sets the preferred column relation. The relation must be a reference to a column relation in the data manager.

Namespace: Spotfire.Dxp.Application.Visuals
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public void SetPreferred(
	ColumnRelation relation
)
Exceptions

ExceptionCondition
System ArgumentException The column relation does not exist in the data manager column relations. or The column relation does not contain an expression that refers to the main table of the visualization
System InvalidOperationExceptionThe visualization does not have a data table.
See Also