ls

Verfügbar für: Content Management Server

Task: The procedure returns a table with information on the files in a folder.

Syntax:

ls 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: table string

Necessary permissions: Only files are listed for which the user has read permission.

Example:

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