Skip to content
Kamoorjdocs
Documentation

Export template editor

Variables, layout and signatories.

On this page

Purpose and entry

Open /export-templates/editor/:id?kind=header or ?kind=footer to edit a particular partial. Adding from the library uses new in place of the ID. The library tab determines the kind, not the editor. To simplify editing, the partial appears as the body of a single preview sheet, but only its sections are saved. It does not define an entire document or the formats of future exports.

Working with the layout

  1. In the template properties, enter a multilingual name, such as «Шапка вуза / University letterhead / Բուհի վերնագիր». At least one nonempty translation is required. Set a background color or image if needed.
  2. Insert a row with one, two or three columns. Add blocks from the palette to its cells.
  3. Select a block, cell or row in the preview to change properties in the inspector. Duplicate or remove individual elements. The toolbar supports undo and redo.
  4. Add and format variables in the text editor. Verify literal translations and preview language.
  5. Save. If layout validation fails, correct the indicated elements. Return to the list to activate the newly saved template.

The preview in this mode is schematic, not linked to a particular student or learning plan. Real-record preview and version comparison are hidden. Verify final output using a test export.

Partial elements

Element Purpose
Rich text and variables Titles, institutional details and labels
Image For example an approved logo
Table Static grid for institutional details
Date Current date with the selected format
Signature Signature area
Divider, spacer, group Layout and visual separation
Input and select Dynamic elements available from the shared editor

A partial has no student or employee subject and its sections cannot bind to datasets (binding.source = none). The module's dynamic content table is hidden. Student/employee photos and performance summaries are also unavailable in this export palette. Use a corresponding content export template for data linked to particular records.

Variables

The global partial catalog is deliberately limited because the same partial can serve multiple modules.

Key Output
university.name Institution name
university.abbreviation Abbreviation
university.address Address
university.website Website
university.email Email address
university.phone Phone number
employee.by_role_scope Name of employee selected by role
role.name Name of the selected role
signatory.attribute Signatory detail: position, position abbreviation, academic position, department, scientific degree or title

Institution details come from the institution record. Signatory variables require selecting a role (role_id); the signatory detail variable additionally requires an attribute. The role name is translated from the role catalog, independently of whether an employee is found. Legacy separate signatory attribute keys remain supported for existing templates; the new palette uses the unified setting.

Signatory

Select a role and, if necessary, pin an employee from the available candidates. A global partial has no record subject, so global role assignments matter in ordinary global exports. If an employee is not pinned and a role has several eligible holders, the export form can request a signatory selection. Use the same role and consistent employee selection to ensure the name and attributes refer to the same person. These printed details are not an electronic signature.

Example

Create a three-column header: approved logo on the left, university.name and university.address in the center, university.website and university.phone on the right. In a footer, add a date, signature area, Rector role name, the employee variable for that role and a position attribute.

Preview every language and check long names and addresses. Save the header and footer separately and activate them in their respective lists. Generate a test PDF and XLSX in the intended operational module and verify the image, text wrapping, institutional details and selected signatory.

Limits and access

Saving requires creation or editing permissions for the corresponding partial kind. Uploading and deleting media requires the appropriate kind's rights. The editor has no organizational scopes. Status is managed in the list, not through a separate publish-version button in the editor.

The server validates the partial layout, including allowed variables and binding sources. The global editor creates partials in the generic context; other application workflows can create contextual partials. An existing partial's context is immutable because it defines valid variables. Do not insert arbitrary module data keys into a global partial.

Implementation references

Updated Nov 27, 2026