getContingentValuesOrNull

Returns possible values for the specified field, in the context of defined contingencies. This method iterates over all the field groups that the input field participates in. For each, it looks at the input feature's field values for the other fields participating in that field group. Contingencies that are satisfied by the other fields are identified, and their values for the input field are aggregated. These are returned in a ContingentValuesResult, which contains a dictionary of field group names to an array of ContingentValue objects accessed via ContingentValuesResult.byFieldGroup, specifying possible values for the input field that will satisfy a contingency in that field group. If the feature participates in multiple field groups and there are values that will satisfy all groups, they will be returned by ContingentValuesResult.allGroups.

Return

a ContingentValuesResult, or null if the ArcGISFeatureTable is not loaded or if the ContingentValuesDefinition is not loaded

Since

200.1.0

Parameters

feature

The feature.

field

The name of the field for which to get possible values.