DIVOC
DIVOC 3.5
Search
⌃K

PDF Template Change for Vaccine Certificates via ETCD CLI

Any template-related changes can be done by updating the HTML template using ETCD CLI. Before making any change, the PDF template will look like:
Sample certificate

Example: Adding a field such as ‘nationality’ to the PDF template.

Steps to add 'nationality' to the PDF template:

  • Go to the specific path where etcd is configured.
  • Open the file to add the new field that will get displayed in the template (vim vaccineCertificateTemplate.html).
  • To reflect the change, run the updateConfigs shell script using the command: ./updateConfigs.sh. It shows "OK OK OK...." This means that etcd has been updated with the new template successfully.
  • Generate the PDF again using GET API.
Sample certificate
Creative Commons License
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.