l

Available for: Content Management Server

Task: The procedure returns a table with detailed information on the files in a folder. The file ID, format and type as well as the file name and title are listed.

Syntax:

l objIdOrPath

Function parameters:

  • objIdOrPath is the ID of the folder or its path. The path must be absolute, i.e. start with a slash.

Return value if successful: string

Necessary permissions: Only files for which the user has read permission will be returned.

Beispiel:

CM>l /
/ (2001)  total (2)
objId   class                type        name                 title
-------------------------------------------------------------------
2006    template             template    mastertemplate       mastertemplate
2050    document             document    test