Skip to content

adm_report_folders_v

Folder reporting view showing hierarchy, content counts and status information.

Group: Administrative reporting

Category: Folders - Folder hierarchy and organization analysis

  • Folder hierarchy analysis
  • Content organization review

The view contains 17 columns providing comprehensive information:

Column NameDescription
folder_idPrimary key of the folder.
parent_folder_idForeign key to the parent folder (null for root folder).
folder_nameName of the folder (single path segment).
folder_pathFull hierarchical path of the folder.
descriptionOptional description of the folder purpose.
is_system_folderY if the folder is managed by the system.
created_dateTimestamp when the folder was created.
created_byUser who created the folder.
updated_dateTimestamp when the folder was last updated.
updated_byUser who last updated the folder.
deleted_flagY if the folder has been soft-deleted.
deleted_dateTimestamp when the folder was soft-deleted.
deleted_byUser who soft-deleted the folder.
folder_statusA single label for the folder, in priority order: DELETED if the folder is in the trash, else SYSTEM if ADM manages it, else ACTIVE. A deleted system folder reads as DELETED, so read deleted_flag and is_system_folder when both matter.
direct_child_foldersCount of immediate child folders that are not in the trash. Takes no account of who is asking, so it can be higher than the number of children the current user may see.
direct_documentsCount of documents directly in this folder, excluding trashed ones but INCLUDING archived ones - so it is not the number a user would see listed in the folder, and it takes no account of who is asking. Count adm_my_documents_v grouped by folder_id for that.
folder_depthNumber of path segments: the filesystem root is 0, /users and /groups are 1, a user or group home is 2.

Description: Comprehensive reporting view for folders showing hierarchy, content counts, and status information for easy inspection of the folder structure. ADMINISTRATIVE SCOPE: no ADM user-access filter is applied - every row in the instance is returned regardless of who is querying. For a session-scoped interface use adm_my_folders_v.

  • Folder depth calculation
  • Content counts
  • Hierarchy visualization
  • System vs user folders

Other views in the Folders category: