isDefinitionExpressionFilterEnabled property

bool isDefinitionExpressionFilterEnabled

Indicates if feature layer definition expressions are used when taking feature layers and tables offline.

A value of true allows GenerateOfflineMapJob to use the SQL where clause in FeatureLayer.definitionExpression as a filter when generating offline geodatabases.

Applying the definition expression may reduce the number of features taken offline for display and sync.

If the value is false this could result in a larger geodatabase than is required to display the feature layer.

The default value is true.

For tables the definition expression is taken from the property ServiceFeatureTable.definitionExpression.

If GenerateOfflineMapParameters is used in conjunction with GenerateOfflineMapParameterOverrides this property is superseded.

Implementation

bool get isDefinitionExpressionFilterEnabled {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore
        .RT_GenerateOfflineMapParameters_getIsDefinitionExpressionFilterEnabled(
      _handle,
      errorHandler,
    );
  });
}
void isDefinitionExpressionFilterEnabled=(bool value)

Implementation

set isDefinitionExpressionFilterEnabled(bool value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore
        .RT_GenerateOfflineMapParameters_setIsDefinitionExpressionFilterEnabled(
      _handle,
      value,
      errorHandler,
    );
  });
}