Docly Developers
Function Updated 22 Oct 2026

getFolderProps(folderPath)

Get a specified folders current properties.

See also Path traversal

Parameters

folderPathstringrequired

Absolute path to folder.

Returns

An object with the current properties for the specified folder, or null when the folder has no properties document. Throws error 1 when the path is empty or the folder does not exist (unlike getFolder, which returns null).

Example

Mixed HTML (or any text file) with inline JavaScript between hash signs.
#{
    let props = docly.getFolderProps("Test files");
    write(JSON.stringify(props));
}#