VisualizationRelations SetPreferred Method TIBCO Spotfire 6.5 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: 14.10.7525.5058 (14.10.7525.5058)
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.
Version Information

Supported in: 6.5, 6.0
See Also