Free cookie consent management tool by TermsFeed folder() Function
folder() Function
This function cannot be used with Custom Record Field Expressions. It can only be used with Offline Mobile if it is loaded at the top of the form.
For a full list of functions and their feature compatibility, explore the Appian Functions table.

Function

folder( folderId, property )

Returns a property of the requested folder. The return type will be the type of that property; for example selecting dateCreated as the property parameter returns a Date and Time value.

Parameters

Keyword Type Description

folderId

Integer

The Id number of the folder or the folder object.

property

Text

The information you need to retrieve regarding the document.

Returns

Any Type

Usage considerations

The property parameter accepts the following case-sensitive values (with their return values in parentheses):

  • changesRequireApproval (Boolean)
  • creator (Text)
  • dateCreated (Date and Time)
  • documentChildren (List of Document)
  • folderChildren (List of Folder)
  • id (Number [Integer])
  • inheritSecurityFromParent (Boolean)
  • knowledgeCenterId (Number [Integer])
  • knowledgeCenterName (Text)
  • knowledgeCenterSearchable (Boolean)
  • name (Text)
  • numberOfDocuments (Number [Integer])
  • parentFolderId (Number [Integer])
  • parentFolderName (Text)
  • pendingApproval (Number [Integer])
  • searchable (Boolean)

The documentChildren and folderChildren properties return up to the first 1000 documents or folders, respectively, that are direct children of the selected folder. Results are returned in alphabetical order by name.

Examples

You can copy and paste these examples into the Expression Rule Designer to see how this works.

folder(54,"knowledgeCenterName") returns System Knowledge Center

folder(3, "documentChildren") returns [Document:4149]; [Document:4160]; [Document:4212]; [Document:4161]

Open in Github Built: Fri, Sep 29, 2023 (07:12:16 PM)

folder() Function

FEEDBACK