Skip to main content

IUseCASharePointNotificationCenterConfig

@spartanfx/react v1.2.2


@spartanfx/react / codeapps / IUseCASharePointNotificationCenterConfig

Interface: IUseCASharePointNotificationCenterConfig

Configuration for useCASharePointNotificationCenter.

Extends

Properties

Required

PropertyTypeDescription
serviceICATabularService<CANotificationRecord, string>Generated SharePoint-list service produced by pac code add-data-source -a shared_sharepointonline -t <ListName> -d <siteUrl>. Typically located under src/generated/services/<ListName>Service.ts.

Options

PropertyTypeDescription
choiceColumns?string[]SharePoint Choice / Lookup / Person column names that must be sent as the expanded reference object on create/update. Defaults to [schema.level] (typically ["Level"]) so the standard Level Choice column on the SharePoint Notifications list works without additional configuration. See: https://learn.microsoft.com/en-us/power-apps/developer/code-apps/how-to/sharepoint-operations
schema?Partial<INotificationCenterSchema>Schema mapping. Sensible defaults are applied when omitted — override only the columns the consumer's list renamed.

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