Skip to main content

getFolderChildren

@spartanfx/react v1.2.2


@spartanfx/react / codeapps / getFolderChildren

Function: getFolderChildren()

function getFolderChildren(items, folderPath): ICASharePointRawItem[];

Return the direct children for a folder path from a flat generated-service result. When asked for /, it falls back to the inferred document-library root so consumers do not have to hardcode the server-relative library path.

Parameters

items

ICASharePointRawItem[]

folderPath

string

Returns

ICASharePointRawItem[]