Classification plan
This page is reserved for functional administrators (members of the GROUP_PRISTY_ADMINISTRATORS group).
This page concerns the classification plan of Pristy Espaces. Pristy Social has its own, independent classification plan, documented in the Pristy Social administration manual.
What is the classification plan
A classification plan defines:
- document natures: types of documents, each associated with a tree of destination subfolders and with metadata to fill in,
- fields: the metadata used by the document natures (text, number, date, choice list, etc.),
- locations: the destination subfolders, with their own metadata and naming patterns,
- categories: the phases of the plan, each grouping views.
This feature depends on the CLASSIFICATION_PLAN_ENABLED parameter of the application configuration. Its default value is false: until it is set to true, the Classification Plans Management entry and the choice of a plan on a workspace do not appear.
Managing classification plans
Click the Classification Plans Management entry in the Administration section of the application’s side menu.
Viewing or creating a plan
The Classification Plans page lists the plans already created (plan-<name>.json files), with their name, file, description and last modification date. For each plan, the actions Edit (opens the editor), Properties (name and description), Download and Delete are offered.
To create a new plan, click Create plan, enter a name (the plan- prefix and the .json extension are added automatically), then confirm with Create plan. The Import a plan button adds a plan from a JSON file on your computer.
Editing a plan
The plan editor offers the following tabs:
- Information: name, description and presentation text of the plan (in
Markdown), with the list of views of each category. A view that is referenced but whose file no longer exists is flagged in this tab, - Natures: list of the plan’s document natures, with their code, name, location, type, icon and categories. Create, edit, duplicate or delete a nature from this tab,
- Fields: list of the fields (metadata) available for the natures and locations of this plan. A field used by at least one nature or location cannot be deleted,
- Locations: list of destination subfolders (code, name). A location used by at least one nature cannot be deleted,
- Folder tree: the folder tree the plan can create, each nature under its location, read-only. Export as PDF downloads it in
PDFformat, - Categories: the phases of the plan, with the views offered in each,
- Dictionaries: lists of values (label and value) usable by the fields,
- Lexicons: lists of simple values, one per line,
- AI context: instructions and fields describing the workspace to the AI (see Context for the AI). This tab only appears if Pristy Core offers the workspace context for the AI (capability
ai.workspace-context).
When you create or edit a nature or a location, the fields referenced in its metadata or its naming pattern that do not yet exist in the plan are created automatically.
At the bottom of the page, several actions are available:
- Export: downloads the plan in
JSONformat, - Import: replaces the content of the plan with a
JSONfile selected on your computer (to be saved afterwards), - Reload: reloads the plan from the server, discarding unsaved changes,
- Create File / Save File: saves the plan.
If you leave the page while changes are not saved, you are asked for confirmation.
Associating a plan with a workspace
A classification plan applies to a specific workspace. This association is made from the workspace’s Modify action, not from this plan management page:
- open the edit dialog of the workspace concerned,
- select the desired classification plan in the Classification plan field,
- confirm.
In the same dialog, the Edit plan button, reserved for members of GROUP_PRISTY_ADMINISTRATORS, opens in the editor the plan saved for this workspace. Plans are shared: editing a plan changes every workspace that applies it.
The dialog also offers the Context for the AI section, described in Context for the AI.
Once a plan is associated with a workspace, all files added to this workspace (creation or import) must use this classification plan: users are automatically guided through the plan steps (nature selection, metadata entry) when they add a file.
Automatic filing and requalification on the user side
Once a plan is associated with a workspace:
- on opening: the workspace opens on the Overview tab, which shows the workspace information and the plan phases with their views. The side menu adds a Filing plan section (phases, then views),
- on upload: the Import menu lists the natures that can be filed in the displayed folder (ten at most), or “No nature to import into this folder”. Choosing a nature, the Import button or dropping a file opens the “Import with a Classification Plan” wizard (selection of the document nature, entry of the required metadata, preview of the destination folder) before completing the operation,
- on an existing file: the “Requalify” action (context menu of a file, or action bar on a selection) lets you refile a document under a nature of the plan, following the same wizard.
User-side details are described in Classification plan and Requalify a document.
Demonstration plans
Pristy Espaces provides ready-to-use plans, deposited in Pristy - Configuration/espaces by the init-demo.yaml initialization file, from the Bootstrap page of Pristy Portail:
| File | Domain |
|---|---|
plan-administration-generale.json | General administration of a local authority |
plan-entreprise.json | Business management |
plan-projet.json | Project management |
plan-association.json | Non-profit association (French 1901 law) |
plan-fonds-documentaire.json | Company document collection |
plan-rh-commun.json | Human resources, shared documents |
plan-rh-personnel.json | Human resources, personnel files |
Each plan is delivered with its views (vue-*.json files). On the Bootstrap page, one switch per plan lets you leave out that plan and its views.
These plans rely on Pristy Core content models (pristy-ged module). On a Pristy Core that does not provide them, importing a document fails. Check the installed modules before applying a demonstration plan.
The two human resources plans apply to two separate workspaces: “shared documents”, open to all employees for reading, and “personnel files”, reserved for HR managers. Personnel natures set a confidentiality level that the user cannot lower on import.
Last Update - November 5, 2026