CalculationSettings ValidateSettings Method TIBCO Spotfire 6.5 API Reference
Validates the suggested columns, filtering selections and marking selections with respect to the current Settings and Results. In particular this means checking for circular references. This method is meant to be called from a dialog before allowing the user to set up dependencies that would cause errors. If the implementer forgets to do this the framework will run the same check before trying to calculate but without any chance for the user to modify their choices.

Namespace: Spotfire.Dxp.Application.Calculations
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 14.10.7525.5058 (14.10.7525.5058)
Syntax

public CalculationSettingsValidationResult ValidateSettings(
	IEnumerable<DataColumn> dependentColumns,
	IEnumerable<DataFilteringSelection> dependentFilteringSelections,
	IEnumerable<DataMarkingSelection> dependentMarkingSelections
)

Parameters

dependentColumns
Type: System.Collections.Generic IEnumerable DataColumn 
Suggested dependencycolumns
dependentFilteringSelections
Type: System.Collections.Generic IEnumerable DataFilteringSelection 
Suggested DataFilteringSelection:s
dependentMarkingSelections
Type: System.Collections.Generic IEnumerable DataMarkingSelection 
Suggested DataMarkingSelection:s

Return Value

Type: CalculationSettingsValidationResult
A CalculationSettingsValidationResult object containing any errors or warnings that was the result of the check. These can then be displayed to the user so they can modify their choices.
Version Information

Supported in: 6.5, 6.0, 5.5, 5.0, 4.5
See Also