@spartanfx/react v1.2.2
@spartanfx/react / spfx / ISharePointStoreOptions
Interface: ISharePointStoreOptions
SharePoint store options
Properties
Required
| Property | Type | Description |
|---|
listTitle | string | SharePoint list title/name |
schema | INotificationCenterSchema | Mandatory schema mapping for SharePoint list columns to INotificationItem properties |
sp | any | PnP JS SPFI instance (use getSP() to create) |
Options
| Property | Type | Description |
|---|
camlQuery? | string | Optional CAML ViewXml for the load query — consistent with the other SPFx adapters. Its <ViewFields> (which must include the schema columns), <Query> (filter + sort) and <RowLimit> replace the default select / createdAt-desc / maxItems query. When omitted, the default applies. |
ensureListAndFields? | boolean | Ensure list and fields exist - provision if needed (default: false) |
maxItems? | number | Maximum items to load (default: 100) |