Examination - Certificate Generation
From All n One's bxp software Wixi
Contents
1 Examination - Certificate generation
1.1 Overview
After a user completes an examination, you may want to generate a certificate and store it in a form. A certificate template can be created in the comms centre by creating a standard template and then this can be used as a cert.
There is a bit of setup required to to create an examination form that will generate a certificate.
1.2 Create a Template
The first step involves creating a template. There are instructions on this here: Communications_Centre_-_Templates
There are four new dynamic replacements available for the template. They will pull in either the score or pass mark in different formats
--objTest_Scores--
This will replace with the full result summary of the test e.g. Result:Pass;Score:100.00% (100 out of 100);Pass Mark:80% (80.00 out of 100);
--objTest_OverallResult--
This will pull in the pass/fail result only e.g. Result:Pass
--objTest_ScorePercentage--
this will pull the score as a percentage and points format e.g. Score:100.00%(100 out of 100)
--objTest_PassMark--
This will pull in the pass mark for the exam e.g. Pass Mark:80% (80.00 out of 100)
1.3 Create the Forms
Two forms will need to be created. The first form is the examination that the user will take. This can have any amount of questions, answers and marks.
The second form will store the certificates when they are generated. One field will have to be added to this form to store the exam ID.
1.4 Advanced Settings - Certificate Settings
There is a new tab in the advanced settings for setting up the certificate functionality. There are four fields that need to be filled in.
"Enable Certificate" is a true/flase box. Setting it to true will enable the certificte engine.
"Comms template to use for certificate" is a listing of all of the templates in the comms centre. Select the template that was created earlier.
"Form ID to store the template" is a listing of all of the forms in the system.Select the form you created earlier for storing the certificates.
At this stage, the settings will need to ba saved. When you open up the advanced settings again, the last field, "Form field to Store the ID" will contain a listing of all of the fields on the certificate storage form. Select the field you added earlier. This will contain the Exam ID.
1.5 System Use
When the setup is complete, take an exam as normal. After the exam is complete, go to the last record of the certificate storage form. There will be a CCL containing the certificate in pdf format.
