/
Certificates (with Expiry) for EO PDR's

Certificates (with Expiry) for EO PDR's

This article describes the steps for introducing certificates with expiry for EO PRD's.

Step-by-step guide

  1. Remove all Registration Rules for Students for the PDR courses for which you want to introduce certificates (with expiry).  You are removing the rules from Edit --> Page Attributes.
  2. Add certificate rules to the PDR
    1. Make sure the certificate is on the server. (Remote into the server and add it into the right folder Example C:\MarineLMS\TestCMG\CertificateTemplates) 
    2. Information about Certificate Rules: /wiki/spaces/CMD/pages/5432405514
    3. Create the certificate:
      1. createCertificate -- Usage: createCertificate [OrgPath] [ShortId] [DisplayName] [TemplateFileName]
    4. Set the validity of the certificate 
      1. setCertificateValidityDuration -- Usage SetCertificateValidityDuration [organization path] [base certificate short Id] [integer value for Validity Duration (or null)] 
    5. Add the certificate rule to the course:
      1.  addCertificateRule -- Usage addCertificateRule [course path] [certificate expression separated]

  3. Award certificates to all latest completed registrations via client command reEvaluateCertificateRulesForLatestCompletedRegistration
    1. reEvaluateCertificateRulesForLatestCompletedRegistration [coursePath] [batchSize: optional, default Core.OfferingRuleEvaluatorBatchSize]
    2. If a registration has been completed longer than the expiry date of the certificate, check that the certificate is awarded (but expired right away).
    3. Make sure all latest completed registrations have a certificate
      1. getRegistrationCompletionRules [course path]
        addRegistrationCompletionRule [course path with or without path variations] [expression separated]
  4. Add all registration rules (which takes the certificate expiry into account). Check that the registration completion rules match the certificate rules. 
  5. Re-evaluate all registration rules so if someone did have an expired certificate they would get re-registered
    1. reEvaluateOfferingRulesByCoursePathMatch [RuleType (Registration, Instructor, All)] [coursePath] [terminalElement] [logOnly: optional, default false] [batchSize: optional, default Core.OfferingRuleEvaluatorBatchSize]


Make sure people who have completed the course were awarded a certificate and that people are getting registered in the course when you run reEvaluateOfferingRulesByCoursePathMatch. 


Any questions talk with Stefan and John.


NOTE: Certificates using Date Completed rather than Date Awarded

Filter by label

There are no items with the selected labels at this time.