Issue a reference
Open and prepare
/references/issue/:subjectType/:subjectId is a dedicated issuance page. Open it using Assign Reference in the references list. Supported types are student and employee; the ID comes from the selected person's record. Issue to one subject at a time. Verify the name in the title to avoid issuing for the wrong person. If the name fails to load, the ID appears; verify the record and access before continuing.
A correct certificate requires current source data and an enabled template of the appropriate type. Design the form separately in Reference Templates (/reference-templates).
Choose the reference type
The page displays cards for available template names. It loads enabled forms (up to 100 in the catalog request) and filters by subject type; student and employee templates are not interchangeable. Select the appropriate card. Use Change type before confirming to pick another form; previous manual values are cleared.
If the list is empty, check template status, subject type and catalog read permission. It does not mean that the person is barred from all certificates.
Data and form fields
| Field | Use |
|---|---|
| Issuing user | Current user, read-only; recorded at issuance. |
| Employee work record | Visible when the employee has more than one active work record today. Choose the relevant one; the main record is preselected if among the active records. |
| Manual fields | Defined by the chosen template. Text uses an input, long text a text area, date a DD.MM.YYYY calendar. Complete requested values. |
| Who signs | Shown for roles with multiple candidates without a design-time signatory pin. Choose a person for each displayed role. |
| Dynamic fields on the right | Fields actually defined in the document, such as editable text or a list selection. Complete them next to the preview. |
For students, variables can pull personal information, effective academic enrollment, academic data/grades, identity documents and tuition from the latest contract (base amount, discount, paid, balance, etc.). The student sequence number comes from the final educational status of the effective enrollment. Only template-selected fields with available source data are populated.
Employee variables can pull personal information, documents, employment, position, role, unit and scientific qualifications, where included in the template. Sources are employee details and employee settings. Without an explicit choice the server uses main_work, otherwise the earliest work by ID. This is not the primary teaching period from department workload settings. An explicitly selected work record must belong to the subject.
Preview and restrictions
A rendered form appears on the right. The server preview loads when the saved template or subject changes; dynamic fields affect the display through the document mechanism. Manual fields, selected work and signatories are submitted at confirmation; this page does not request a new server preview whenever these change. Therefore the preview can differ from the final PDF. Printing before issuance prints the preview and does not register a certificate.
For roles with multiple candidates the form requires a signatory selection. Options come from the template; at issuance the server further validates that the selected person is a candidate for that role in the subject's scope. Do not select an arbitrary person on error; verify the role and unit data. Complete manually entered fields marked required before confirmation; they have required indicators, but this version does not guarantee issuance is blocked for every empty manual field.
Confirm and obtain the certificate
- Check data, type, selected work (employee), manual/dynamic values and signatories.
- Select Confirm & attach. This is an actual issuance, not saving a draft. The server validates template availability and subject type, assembles the document, registers a unique ID such as
REF-2026-0001, statusissued, date, issuer, supplied values, snapshot and issued event. - A successful issuance leaves you on the page, replacing the issuance action with PDF download, Print and Back. PDF download uses the stored snapshot; browser print uses the displayed preview. For the precise final result, download the PDF or open the issued certificate from history.
- Return to the references list, turn on history of the appropriate type and verify the record. If unsure of an issuance, check history before attempting again.
The snapshot contains layout and data at issuance. Source changes do not automatically update it. If a corrected document is required, follow the institution's process; do not alter the source record solely to change the appearance of a certificate.
Example
For employment confirmation, open the employee tab and choose a fictional Anna Ivanyan. If employed in two departments, select the work entry for which proof is required. Open the enabled Employee template “Employment confirmation,” fill the intended recipient or purpose if present, choose a signatory if requested, and confirm. For example, the server assigns REF-2026-0123 (the actual number is generated). Download the final PDF and verify position and department. If incorrect, inspect the selected work record and issued snapshot; do not issue again blindly.
Permissions and troubleshooting
Student issuance uses ReferencesTablePull, ReferencePreviewAction, ReferenceIssueAction (server rights references.index and references.issue); employee issuance uses EmployeeReferenceIssueAction (references.employee-issue). The header and work entries make separate requests using students.show, employees.show and employee-works.index respectively. Reading templates and signatory candidates is bound to reference-templates.index. PDF download depends on read rights for the issued document type; see references.
Issuance and history routes support Faculty, Profession and Department. Issued certificate scope is stored at issuance from a student's academic affiliation or employee's work record. Template access does not grant issuance over inaccessible people.
- Wrong type/missing form: check subject type, enabled status and catalog access.
- Missing data: check the person, required variables and source information instead of treating the document as an ordinary word-processing file.
- Work selector absent: verify active dates; it appears only when multiple active entries exist. Check work-list read permission.
- Signatory rejected: recheck candidates for the role and recipient scope.
- Error after confirmation: do not assume issuance succeeded without confirmation and history. Check permissions, input and template state.