Skip to main content

ISharePointTreeViewFieldMapping

@spartanfx/react v1.2.2


@spartanfx/react / spfx / ISharePointTreeViewFieldMapping

Interface: ISharePointTreeViewFieldMapping

Field mapping for the SharePoint TreeView adapter.

Properties

PropertyTypeDescription
id?stringItem id field. Default 'Id' (lists) / 'ID' (libraries via render stream).
label?stringDisplay label field. Default 'Title' (list) / 'FileLeafRef' (library).
parentId?stringParent reference field for 'parentId' mode — typically a self-lookup column on the list. Required in 'parentId' mode.
parentIsLookup?booleanWhether parentId is a lookup column (expanded to read its Id). Set false for a plain number/text column. Default true.
path?stringPath field for 'path' mode. Default 'FileRef' (document library).