Skip to main content

ISharePointStoreOptions

@spartanfx/react v1.2.2


@spartanfx/react / spfx / ISharePointStoreOptions

Interface: ISharePointStoreOptions

SharePoint store options

Properties

Required

PropertyTypeDescription
listTitlestringSharePoint list title/name
schemaINotificationCenterSchemaMandatory schema mapping for SharePoint list columns to INotificationItem properties
spanyPnP JS SPFI instance (use getSP() to create)

Options

PropertyTypeDescription
camlQuery?stringOptional 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?booleanEnsure list and fields exist - provision if needed (default: false)
maxItems?numberMaximum items to load (default: 100)