document() Function

Returns property information for a document.

Syntax

document( documentId, property )

documentId: (Number) The Id of the document. This parameter accepts document objects as well. Document objects are represented by their Id number internally.

property: (Text) Information to retrieve for this document.

Returns

Text

Notes

The property parameter accepts the following case-sensitive values:

  • dateCreated
  • description
  • expirationDate
  • extension
  • folderId
  • folderName
  • Id
  • knowledgeCenterId
  • knowledgeCenterName
  • lastUserToModify
  • lockedBy
  • name
  • totalNumberOfVersions
  • pendingApproval
  • size
  • approved
  • changesRequireApproval

Examples

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

document(101,"expirationDate") returns 12/21/05 2:28 PM GMT

17.1

On This Page

FEEDBACK