Skip to content

adm_report_documents_v

Document reporting view showing metadata, ownership, status and file information.

Group: Administrative reporting

Category: Documents - Core document analysis and reporting

  • Document analysis
  • Ownership tracking
  • Status monitoring

The view contains 30 columns providing comprehensive information:

Column NameDescription
document_idPrimary key of the document.
document_nameName of the document file.
folder_idForeign key to the folder containing the document.
folder_pathFull hierarchical path of the containing folder.
document_pathFull path of the document including folder structure.
current_folder_nameName of the current folder containing the document.
file_mime_typeMIME type of the document file.
latest_version_idForeign key to the latest version of the document.
latest_version_numberVersion number of the latest document version.
latest_file_sizeFile size of the latest version in bytes.
latest_file_size_kbFile size of the latest version in kilobytes (rounded to 2 decimal places).
latest_file_size_mbFile size of the latest version in megabytes (rounded to 2 decimal places).
legal_hold_flagY if the document is on legal hold, which makes the delete APIs refuse it. Independent of archived_flag and deleted_flag: a document on legal hold is otherwise an ordinary, readable document.
archived_flagY if the document has been archived.
archived_dateTimestamp when the document was archived.
archived_byUser who archived the document.
deleted_flagY if the document has been soft-deleted.
deleted_dateTimestamp when the document was soft-deleted.
deleted_byUser who soft-deleted the document.
retention_delete_dateDate when the document should be deleted per retention policy.
retention_categoryRetention category assigned to the document.
user_ownerUsername of the user owner if stored in /users/ folder.
group_ownerGroup name of the group owner if stored in /groups/ folder.
owner_typeType of owner: USER, GROUP, or NONE.
created_dateTimestamp when the document was created.
created_byUser who created the document.
updated_dateTimestamp when the document metadata was last updated.
updated_byUser who last updated the document metadata.
document_statusA single label derived from three INDEPENDENT flags, in priority order: DELETED, then ARCHIVED, then LEGAL_HOLD, else ACTIVE. Only the highest-priority condition shows, so a document that is archived AND on legal hold reads as ARCHIVED. Read deleted_flag, archived_flag and legal_hold_flag directly whenever more than one condition matters.
retention_statusRetention policy status: NO_RETENTION, RETENTION_PENDING, or RETENTION_EXPIRED.

Description: Comprehensive reporting view for documents showing all key metadata, ownership, status, and file information in a user-friendly format. 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_documents_v.

  • File size calculations (bytes/KB/MB)
  • Document status categorization
  • Retention status
  • Owner type classification

Other views in the Documents category: