.. include:: /Includes.rst.txt .. _feature-1791880552: ============================================================= Feature: Custom fields in exports, imports, reports and mails ============================================================= Description =========== The custom fields of employees go wherever employee data goes. The employee export takes them as columns ``cf:``, headed by the field's label and filled with the option labels in the exporter's language. The employee import recognises a field's column by its key or its label in English or German, reads choices by their labels and checks every value in the preview. Reports with one row per employee, such as the attendance summary, offer the fields as optional columns with the parameter ``customFields``, each only to those who read its data category: HR every field, managers no personal ones. Mails to employees fill ``{{employee.custom.}}`` with the value the recipient may read, in the recipient's language, and leave it empty otherwise. Impact ====== Packages reach the fields through the contract ``PersonCustomFields`` of the core; a report of a package offers them by implementing ``PersonRows`` and naming the employee in ``employeeId`` of its rows. Packages contribute placeholders by implementing ``PlaceholderProvider``. .. index:: API, package:adsum-core, package:adsum-reporting