8 shots · about 1 min 38 s of finished video · lesson 7 of Documents & certificates
Record as
Principal (demo_principal)
Sign in at /demo on a demo-mode build
Screens
/documents/templates /documents/templates/[id] /documents/issue
Length
1 min 38 s
narration at ~150 words/min + screen time
Status
Not yet recorded
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.
| # | Screen | Action (on screen) | Must be visible | Voice-over | ~s |
|---|---|---|---|---|---|
| 1 | /documents/templates | Open Documents → Templates. | 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. | You never have to design a template: every type has a built-in layout. Create one only when you want your own wording, signatures or language. | 14 |
| 2 | /documents/templates/[id] | In New template, choose the Type, a Name (for example Bonafide (Bengali)), the Language (English, Hindi, Bengali; this selects the PDF font) and click Create and edit. | 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. | Choose the type and language. The editor opens with the built-in layout already filled in, so you only change what you need. | 13 |
| 3 | /documents/templates/[id] | Set the page: Name, Language (PDF font), Page size, Orientation, Title, Watermark text, Background image URL, Signatures (comma-separated, max 4), and tick Print letterhead (off for pre-printed stationery), Verification QR code and Default template for this type. Callout: Turn off Print letterhead when you print on pre-printed letterhead paper. | Changing anything shows "Unsaved changes" in the sticky bar. | These settings control the page: size, title, watermark, who signs it and whether the letterhead is printed. | 11 |
| 4 | /documents/templates/[id] | In Content, edit the blocks: Heading, Paragraph (with alignment), Label / value rows and Space; use the arrows to reorder, the bin to remove, and the + Paragraph / + Heading / + Label / value rows / + Space buttons to add. Write placeholders such as {{student.name}}, {{classSection}}, {{student.sonDaughter}}, {{guardian.name}} or {{custom.purpose}}; add a fallback with {{student.bloodGroup|—}}. | 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>). | Placeholders are filled from the student, the school and the issue itself. Empty values print as a dash, or as the fallback you give after the vertical bar. | 15 |
| 5 | /documents/templates/[id] | In Custom fields, add the questions asked at issue time (key, Label, Required), for example key purpose, label Purpose. Use them as {{custom.purpose}} in the text. | Up to 12 custom fields; the issue page shows them under "Details for this document". | Custom fields are the questions the office answers when issuing, such as the purpose of a bonafide. | 11 |
| 6 | /documents/templates/[id] | For an ID card template the editor instead shows the ID card card: Orientation (Portrait 54 × 86 mm / Landscape 86 × 54 mm), Accent colour, Heading, Fields on the card (Class, Admission no., Roll no., Date of birth, Blood group, Guardian, Phone, Address, Employee no., Designation, Valid until), Photo, QR code, QR contains (Verification link, or Admission / employee no. for scanners) and Back of card text. | Up to 10 fields; the back text prints in CR80 mode. | ID-card templates have their own options: orientation, colour, which fields appear and the text on the back of the card. | 12 |
| 7 | /documents/templates/[id] | Click Save & preview. The preview on the right reloads with sample data; click Reload any time. | Toast "Template saved"; "Saved" in the sticky bar. While editing, "The preview shows the last saved version." | Save to see the result with sample data. The preview always shows the last saved version. | 10 |
| 8 | /documents/issue | Back on Templates, click Make default so Documents → Issue picks it automatically, or the archive icon ("Archive this template? Documents already issued keep their layout.") to retire it. | The Issue page offers the template with "(default)". | Make it the default so it is picked automatically when issuing. Archiving hides it without affecting documents already issued. | 12 |
After the video is published
Add its YouTube id under documents-templates in src/lib/help/videos.ts, with a chapters map of step number → seconds. The lesson page then shows the video and a “Watch this step” link on every step. See the video production guide.