Unibandh · Help centre
Recording planSign in
Unibandh · School management for Indian schools · Home
    Help centre/Documents & certificates/Lesson 7

    Design templates with placeholders and live preview

    Create a template from the built-in layout, edit its page, blocks, signatures, custom fields or ID-card options, save and preview the PDF, and set the default.

    Open /documents/templatesRecording script
    10 min8 stepsOwner, Admin, PrincipalDemo: sign in as Principal

    Before you start

    Finish first: Issue a certificate (single or bulk)

    Steps

    0 of 8 done
    1. You should see: Header "Document templates — Layouts with {{placeholders}}; issued documents keep the layout they were issued with." One card per type (ID card, Bonafide certificate … Custom document) with Built-in preview and your templates (Default badge, language badge, Edit, Make default, archive icon). Right: New template.

      Open /documents/templates
    2. You should see: The editor opens, pre-filled with the built-in layout for that type: left the settings, right the Preview (sample data) and the Placeholders list.

    3. You should see: Changing anything shows "Unsaved changes" in the sticky bar.

      Turn off Print letterhead when you print on pre-printed letterhead paper.

    4. You should see: The Placeholders card lists every path with its meaning (student.*, class, section, guardian.*, father.name, mother.name, staff.*, school.*, year, issuedOn, serialNo, validUntil, custom.<key>).

    5. You should see: Up to 12 custom fields; the issue page shows them under "Details for this document".

    6. You should see: Up to 10 fields; the back text prints in CR80 mode.

    7. You should see: Toast "Template saved"; "Saved" in the sticky bar. While editing, "The preview shows the last saved version."

    8. You should see: The Issue page offers the template with "(default)".

      Open /documents/issue

    What you have now

    • A school-specific template, in your language, used by default when issuing that document type.

    If something goes wrong

    A field error like "layout.blocks: …" after Save
    A block is empty or too long (headings 200 characters, paragraphs 4000). Fix the block and save again.
    Bengali or Hindi text prints as boxes
    Set the template Language to Bengali or Hindi so the matching Noto font is used.
    Background image missing in the preview
    Use a public https PNG or JPEG link; other formats are skipped.
    "Permission denied — Only owners, admins and the principal can edit templates."
    Front office cannot edit templates.

    Related guides

    • Issue a certificate (single or bulk)
    • Generate and print ID cards
    Generate and print ID cardsNext: Prepare the DigiLocker issuer settings