Skip to main content

ICATaskManagerBaseConfig

@spartanfx/react v1.2.2


@spartanfx/react / codeapps / ICATaskManagerBaseConfig

Interface: ICATaskManagerBaseConfig<TId>

Base config shared by CodeApps TaskManager adapters.

Extends

Type Parameters

TId

TId = string

Properties

Required

PropertyTypeDescription
fieldMappingITaskFieldMappingField mapping from internal task fields to data source column names.
serviceICATabularService<CATaskRecord, TId>Generated tabular service from pac code add-data-source.

Options

PropertyTypeDescription
autoRefresh?booleanEnable auto-refresh after mutations (default: true).
buckets?string[]Static list of status buckets. Provide this when the data source has no introspection capability (Dataverse choice metadata is not available at runtime via generated services).
cacheDuration?numberCache TTL for read results in ms (default: 60_000).
debug?booleanEnable verbose console logging (default: false).
odataFilter?stringOData $filter expression applied to getAll. Empty string or undefined means no filter.
orderColumn?stringOrder column name to sort by. Optional — when omitted, no $orderby is sent (the connector returns server-default order).
retryPolicy?ICARetryPolicyRetry policy for transient failures.
rowLimit?numberMaximum records per fetch (default: 5000).

Events & callbacks

PropertyTypeDescription
onError?(error) => voidError callback. Called for every operational failure.
onGetUserSuggestions?(searchText) => Promise<IUserSuggestion[]>Optional advanced people-picker override. Managed adapters provide a backend-native default when the generated service exposes enough user lookup information.
onNotify?CANotifyFnNotification callback. If omitted, hook errors surface via error state only.