Skip to main content

IUseCASharePointTaskManagerConfig

@spartanfx/react v1.2.2


@spartanfx/react / codeapps / IUseCASharePointTaskManagerConfig

Interface: IUseCASharePointTaskManagerConfig

Configuration for useCASharePointTaskManager.

Extends

Properties

PropertyTypeDescription
choiceColumns?string[]Advanced hint for SharePoint reference columns. By default the hook handles status and assignedTo from the field mapping automatically. See: https://learn.microsoft.com/en-us/power-apps/developer/code-apps/how-to/sharepoint-operations
fieldMapping?ITaskFieldMappingSharePoint list field mapping. Defaults to the SharePoint Tasks list conventions (Title, Description, DueDate, AssignedTo, Status).
office365UsersService?unknownGenerated Office365UsersService connector service. When provided, the people-picker searches the directory via SearchUserV2 for richer, faster results, and only falls back to the SharePoint connector's getReferencedEntity when the directory search yields nothing. Add the connector with pac code add-data-source -a shared_office365users -c <connectionId>, which generates the service you pass here. The selected user's UPN/email is still resolved to the SharePoint person reference on write via getReferencedEntity. Example import { Office365UsersService } from './generated/services/Office365UsersService'; useCASharePointTaskManager({ service: TasksService as never, office365UsersService: Office365UsersService });

+ 12 inherited members. standard HTML/ARIA attributes (e.g. className, onClick, aria-*) are also accepted but omitted here for clarity.