Document library structure
This page is for website creators and project managers who decide where documents live and how visitors find them. Exponential lets files live anywhere in the tree; the choice affects permissions, menus and upkeep. Sources: Organizing the media library and Relations and reuse.
Contents
Two places for files
| Place | Good for | Note |
|---|---|---|
| The media library (Media section) | files used by many pages: forms, logos, standard documents | in the default package the Anonymous role reads the Media section; check yours |
| Next to the page that uses them | documents that belong to one page (meeting papers below the meeting) | they take the page's section and permissions |
Either way, pages relate to File objects (a relation field, or an embed in rich text) rather than uploading a copy each time.
Publications with a landing page
For reports, plans and guidance, a Publication object is the page people find and cite; the file is attached to it. A Publication class with title, summary, publication date, reference, type, topics and related files is proposed in Content model for national government.
| Benefit | Why |
|---|---|
| An HTML summary | readable without downloading; found by search |
| A stable address | the file can be replaced without changing the address people cite |
| Several files (language versions, annexes, data) | one relation list |
| Metadata | date, type and topics for lists and filters |
Folders
Publications Publication objects, sorted by publication date
├── Reports
├── Strategies and plans
├── Guidance
└── Data
Media
└── Files
└── Publications <year> the File objects of that year's publicationsType folders for visitors; year folders in the media library for the people who maintain the files. A Publication listed under two types gets a second location.
A publications list
A template fetch lists Publication objects below the Publications folder, newest first, and a selection or tag filter narrows it (by type, topic or year). With eZ Find, facets do this for search results (Search with eZ Find and Solr). The sub-items table of the administration exports the same list as CSV for an inventory (Content model and editing, 5).
Rules
| Rule | Reason |
|---|---|
| One File object per document; never two copies | one place to correct |
Readable file names (annual-report-2025.pdf) | they appear in the download address |
| No documents in sections that visitors cannot read unless they are meant to be restricted | broken downloads |
| Check reverse relations before removing a file | pages that link to it (Reverse relation check) |
Related pages
- Documents and publications
- Metadata and tagging
- Structuring the content tree
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.