Skip to main content

Converting PDF Certificates into HTML

If you need to have your PDF certificate converted into HTML for use in your platform, read this article.

Written by Stephen Krzeminski

If you require a PDF converted into HTML, you can send it over to your account manager. However, we charge a fee since it is a fairly intensive process to convert a file into HTML code.

When sending the certificate, ensure it's sent as a PDF or DOC file, with all images, text, and SkyPrep placeholders included.

Note: we provide two (2) free conversions to customers who sign up for the Premium or Enterprise plans.

IMPORTANT: When sending over a template for conversion, you must use the provided placeholders shown after clicking the Documentation button in the upper-right. For example, do not use FIRST NAME LAST NAME — you should use the provided [SMART NAME] placeholder.

You can also use Custom Labels as placeholders. When a certificate is sent, whatever is in the recipient's respective field will be inserted in place of the placeholder.

The placeholders need to be in all capitals, with underscores (_) replacing spaces, and contained within square brackets ([ and ]).

For example, if you want to insert the (Address 2) field, the proper format would be [ADDRESS_2].

Some elements on the certificate are static, and some parts are variables.
The variables that get stamped based on the Course Settings include:

  • [COURSE_NAME]

  • [CREDITS]

  • [VALIDITY_LENGTH]

  • [COURSE_CATEGORY]

  • [COURSE_CODE]

  • [TYPE_OF_TRAINING]

  • [CREDITS]

  • [APPROXIMATE_COURSE_LENGTH]

Course-related dates can also be added using the following:

Time stamp included (e.g. 2:30 pm)

  • [NICE_COMMENCEMENT_DATE_WITH_TIME]

  • [NICE_ENROLLMENT_DATE_WITH_TIME]

  • [NICE_COMPLETION_DATE_WITH_TIME]

  • [NICE_EXPIRATION_DATE_WITH_TIME]

  • [NICE_CURRENT_EXPIRATION_DATE_WITH_TIME]

  • [NICE_COURSE_START_DATE_WITH_TIME]

  • [NICE_COURSE_END_DATE_WITH_TIME]

  • [NICE_ACCESS_START_DATE_WITH_TIME]

  • [NICE_ACCESS_END_DATE_WITH_TIME]

Date only:

  • [NICE_COMMENCEMENT_DATE]

  • [NICE_ENROLLMENT_DATE]

  • [NICE_COMPLETION_DATE]

  • [NICE_EXPIRATION_DATE]

  • [NICE_CURRENT_EXPIRATION_DATE]

  • [NICE_COURSE_START_DATE]

  • [NICE_COURSE_END_DATE]

  • [NICE_ACCESS_START_DATE]

  • [NICE_ACCESS_END_DATE]

You can also add Custom Course Properties to your certificates:

  • Enter the placeholder as [CUSTOM_KEY]. For example, if you have reports_to_manager as one of your keys, add [CUSTOM_REPORTS_TO_MANAGER] to the certificate.

Learner Signatures can also be added:

  • Use [CP_HANDWRITTEN_SIGNATURE]. This will insert an image version of the last Learner Signature module into the certificate.In order for the image to properly display, you will need to enter it in the code as:

<img src="[CP_HANDWRITTEN_SIGNATURE]">

Did this answer your question?