Benutzen sie die linke oder die rechte Maustaste, um zur jeweils vorherigen bzw. nachfolgenden Änderung zu gelangen.
erste | letzte ![]() |
| Änderungen von: | |
| bis: | |
| Typ: | |
erste | letzte ![]() |
Der digitale Personalakt ist der wichtigste Anwendungsfall des DM-Moduls: Jeder Mitarbeiter erhält pro Mandant eine identische, vordefinierte Ordnerstruktur in einem Dokumenten-Repository (üblicherweise Alfresco). Die Dokumente sind im HR-Expert unter dem Reiter "Dokumente" der Person sichtbar und können zusätzlich über konfigurierbare Teilansichten (Aktion dm_folderExplorer) für Endbenutzer freigegeben werden – z.B. eine Nur-Lese-Sicht auf die eigenen Gehaltszettel.
Vier Bausteine wirken zusammen:
Repository (DmRepository): der physische Ablageort. Zwei Typen: DB (Ablage in der Webdesk-Datenbank) oder
The digital personnel file is the most important use case of the DM module: every employee gets an identical, predefined folder structure per client in a document repository (usually Alfresco). The documents are visible in HR-Expert under the person's "Documents" tab and can additionally be exposed to end users through configurable partial views (action dm_folderExplorer) – for example a read-only view of one's own payslips.
Four building blocks work together:
DmRepository): the physical storage location. Two types: DB (storage in the Webdesk database) or CMIS_ALFRESCO (Alfresco via CMIS). Ein Repository gehört einem Mandanten (oder ist mandantenlos bei Einzelmandant-Systemen) und hat einen unveränderlichen Root-Pfad – eine nachträgliche Änderung würde bestehende Dokumente unsichtbar machen.
DmMetaStructure): die Vorlage der Ordnerstruktur. Sie ist an eine Entitätsklasse gebunden (für den Personalakt: HrPerson) und besteht aus einem Baum von Metafoldern.
DmMetaFolder): ein Knoten der Vorlage mit Name, Beschreibung, Ordnernamen-Makro (Velocity) und Berechtigungen. Das Makro des Wurzel-Metafolders erzeugt den personenspezifischen Ordnernamen, z.BA repository belongs to a client (or is client-less on single-client systems) and has an immutable root path – changing it later would make existing documents invisible.
DmMetaStructure): the template of the folder structure. It is bound to an entity class (for the personnel file: HrPerson) and consists of a tree of meta folders.
DmMetaFolder): one node of the template with name, description, folder name macro (Velocity) and permissions. The macro of the root meta folder produces the person-specific folder name, e.g. ${HrPerson.getPerson().getLastName()}_${HrPerson.getPerson().getFirstName()}. Untergeordnete Metafolder haben meist fixe Namen Child meta folders usually have fixed names ("VerträgeContracts", "Lohn- und GehaltsverrechnungPayroll", "SonstigeMiscellaneous", ...).DmRepositoryMetaStructure): verbindet pro Mandant genau eine Metadaten-Struktur mit einem Repository und legt den Eltern-Ordnerpfad innerhalb des Repositories fest.
Repository-Rootpfad + Eltern-Ordnerpfad der Zuordnung + Makro-Ergebnis des Wurzel-Metafolders + fixe Unterordner
Die Verknüpfung Person ↔ Ordner wird nicht über den Pfad, sondern über einen persistenten Entity-Link gespeichert. Jeder erzeugte Ordner merkt sich außerdem seinen Ursprungs-Metafolder – daran erkennt das System Systemordner (aus der Vorlage erzeugt, durch Benutzer weder umbenennbar noch löschbar) und unterscheidet sie von frei angelegten Benutzerordnern darunter.
The full path of an employee folder is therefore:
repository root path + mapping parent folder path + macro result of the root meta folder + fixed subfolders
The person ↔ folder association is not stored as a path but as a persistent entity link. Every generated folder also remembers its originating meta folder – this is how the system recognizes system folders (generated from the template, neither renamable nor deletable by users) and distinguishes them from freely created user folders below them.
Under Repositories (dm_showRepositories / dm_editRepository): Name, Mandant und Typ wählen. Bei choose name, client and type. For CMIS_ALFRESCO:
Under Edit metadata structure (dm_editMetaDataStructure):
HrPerson. Diese Bindung ist nachträglich nicht änderbar.
Für Neueinrichtungen erzeugt der Mandanten-Setup-Assistent auf Wunsch Alfresco-Site, Repository, Zuordnung und Erstpropagierung in einem Durchgang.
Die Mitarbeiterordner entstehen über drei Mechanismen, die sich ergänzen:
dm_folderExplorer-Konfiguration – wird die Struktur bei Bedarf erzeugt bzw. eine unvollständige Struktur automatisch repariert.
propagateMetaStructure (oder per Knopf im Struktur-Editor): erzwingt die Vorlage für alle Entitäten der zugeordneten Mandanten. Die Propagierung legt fehlende Ordner an, benennt Ordner um, wenn sich das Makro-Ergebnis geändert hat (z.B. nach Namensänderung der Person), verschiebt Ordner bei geänderter Vorlagen-Hierarchie und entfernt Ordner entfallener Metafolder – letzteres nur, wenn sie keine Dokumente mehr enthalten.
Der Reiter Dokumente an der Person (verfügbar bei lizenziertem DM- und WF-Modul) zeigt links den Ordnerbaum, rechts die Dokumententabelle:
Beim Löschen bzw. Historisieren einer Person wird der Personalakt-Ordner mitbehandelt: beim Historisieren per Soft-Delete (Umbenennung mit Lösch-Suffix), beim endgültigen Löschen per Hard-Delete – sofern dies nicht über die DM-Option "DM-Daten beim endgültigen Löschen behalten" unterbunden ist.
Die konfigurierbare Aktion dm_folderExplorer macht Ausschnitte des Personalakts im Webdesk-Portal zugänglich. Es gibt zwei Konfigurationstypen:
HrPerson. This binding cannot be changed afterwards.
For new installations, the client setup wizard can create the Alfresco site, the repository, the mapping and the initial propagation in one pass.
Employee folders come into existence through three complementary mechanisms:
dm_folderExplorer configuration is opened – the structure is created on demand, and an incomplete structure is repaired automatically.
propagateMetaStructure (or via the button in the structure editor): enforces the template for all entities of the mapped clients. Propagation creates missing folders, renames folders when the macro result has changed (e.g. after a person's name change), moves folders when the template hierarchy changed, and removes folders of deleted meta folders – the latter only if they no longer contain documents.
The Documents tab on the person (available with licensed DM and WF modules) shows the folder tree on the left and the document table on the right:
When a person is deleted or historicized, the personnel file folder is handled as well: soft-delete (rename with a deletion suffix) on historicization, hard-delete on final deletion – unless prevented by the DM option "keep DM data when hard-deleting a person".
The configurable action dm_folderExplorer makes portions of the personnel file accessible in the Webdesk portal. There are two configuration types:
appCtx.getBean('HrPersonService').getPerson(entity) (im Kontext stehen the context provides entity = angemeldete logged-in PoPerson, currentUser und and appCtx).Dazu kommen die allgemeinen Optionen Nur Lesen (für Selfservice-Sichten empfohlen), Ordnerbaum standardmäßig anzeigen und Standard-Seitengröße. Die Aktion bietet Breadcrumbs, Upload (sofern nicht readonly), Versionsverwaltung, Anzeige verknüpfter Entitäten und ZIP-Download ganzer Ordner (Ordner-Berechtigungen werden dabei berücksichtigt).
Für jede Konfiguration gilt: Der Benutzer sieht seinen eigenen Ausschnitt – die Wurzel wird zur Laufzeit über das Skript und die Metadaten-Struktur auf den konkreten Ordner der eigenen Person aufgelöst und bei Bedarf erzeugt.
Wie kommen die Gehaltszettel in den Personalakt? Über das PS-Modul (Aktion ps_editSalaryAccounting) in Kombination mit der Split-PDF-Konfiguration des DM-Moduls:
In addition there are the general options Read only (recommended for self-service views), Display folder tree by default and Default page size. The action offers breadcrumbs, upload (unless read-only), version management, display of linked entities and ZIP download of entire folders (folder permissions are respected).
For every configuration: the user sees their own portion – at runtime the root is resolved via the script and the metadata structure to the concrete folder of the user's own person, and created on demand if necessary.
How do payslips get into the personnel file? Through the PS module (action ps_editSalaryAccounting) combined with the DM module's split-PDF configuration:
dm_editSplitPdfConfiguration) beschreibt, wie das Sammel-PDF zerteilt wird: Start-/Ende-Erkennungstexte, ein regulärer Ausdruck zur Extraktion der Personalnummer je Seite und ein Velocity-Ausdruck für den Dateinamen der Einzeldokumente (mit documentIdentifier und referenceDate).
Lohnzettel $year).
Zusammen mit einer readonly dm_folderExplorer-Teilansicht auf den Metafolder "Lohn- und Gehaltsverrechnung" ergibt sich der geschlossene Kreis: Abrechnung hochladen → splitten → verteilen → Mitarbeiter sieht nur die eigenen Gehaltszettel.
Zwei Ebenen wirken zusammen:
Jeder Dokument-Download läuft zusätzlich durch eine zentrale Prüfung: Aktionsberechtigung des Benutzers, Ordner-Berechtigung (siehe oben) und – für über Entity-Links zugeordnete Dokumente – modulspezifische Autorisierungs-Resolver (z.B. für HR-Personendokumente, Gehaltsabrechnungen, Reisekosten, Workflow-Anhänge). Ohne greifende Regel wird der Zugriff verweigert. Diese Prüfung ist über die DM-Option "Dokument-Autorisierung aktiviert" steuerbar.
propagateMetaStructure für die betroffene Zuordnung laufen lassen – er ergänzt fehlende Ordner strukturschonend. Seit Version 4.64 repariert auch der dm_folderExplorer unvollständige Strukturen beim Zugriff selbst.
bindFoldersToMetaStructure verknüpft vorhandene Ordnerbäume mit einer Metadaten-Struktur (initial oder wiederholt).
convertAlfrescoObjectsToDmObjects wandelt generische Alfresco-Ordner/-Dokumente in DM-verwaltete Objekte um (mit Test- und Statistik-Funktion).
deleteDocumentsFromMetaFolders löscht Dokumente eines Metafolders älter als X Jahre/Monate, protokolliert ins Lösch-Log.
documentIdentifier and referenceDate).
Lohnzettel $year).
Combined with a read-only dm_folderExplorer partial view on the payroll meta folder, the circle closes: upload the statement → split → distribute → each employee sees only their own payslips.
Two layers work together:
Every document download additionally passes a central check: the user's action permission, the folder permission (see above), and – for documents associated via entity links – module-specific authorization resolvers (e.g. for HR person documents, salary statements, travel expenses, workflow attachments). Without a matching rule, access is denied. This check is controlled by the DM option "document authorization enabled".
propagateMetaStructure job for the affected mapping – it adds missing folders without disturbing the structure. Since version 4.64 the dm_folderExplorer also repairs incomplete structures on access.
bindFoldersToMetaStructure job links existing folder trees to a metadata structure (initially or repeatedly).
convertAlfrescoObjectsToDmObjects job converts generic Alfresco folders/documents into DM-managed objects (with test and statistics functions).
deleteDocumentsFromMetaFolders job deletes documents of a meta folder older than X years/months, logging to the deletion log.
Related pages: Document Management Module (overview).
| Mime Type | text/xml | ![]() | text/xml |
| Datei-name | ![]() | ||
| Größe (in Bytes) | 13945 | ![]() | 13084 |
|
Version 1 von Gabriel Gruber
am 15.08.26 14:57:40 Name: Digitaler Personalakt Variante: main - en Status: Veröffentlichung | ![]() |
Version 2 von Gabriel Gruber
am 15.08.26 14:58:34 Name: Digital Personnel File Variante: main - en Status: Veröffentlichung |