How Can We Help?
Tech tutorials, Reviews, How To's
Mapping Meta Data Fields
The next step is to map the Custom Metadata Types. From the Home screen, search for Custom Metadata Types and select it. On the main window, search for “Training Field Mapping” and select “Manage Records” under actions.
On the Training Field Mappings screen, Click the New option.
On the New Training Field Mappings page, enter the data as provided in the table below for each row.
Label | Training Field API Name | Field API Name | Field Data Type | Object Name | Request Payload Attribute |
---|---|---|---|---|---|
Credential Issued | Credential_Issued | Credential_Issued__c | Boolean | Training__c | certApplicable |
Course Type | Course_Type | Type__c | Picklist | Training__c | courseType |
Expiry Date | Expiry_Date | Expiry_Date__c | Date | Training__c | expDate |
Completion Date | Completion_Date | Completion_Date__c | Date | Training__c | completionDate |
Score | Score | Score__c | Number | Training__c | courseScore |
Course ID | Course_ID | Training_ID__c | Text | Training__c | courseID |
Course Name | Course_Name | Training_Name__c | Text | Training__c | courseName |
Certification ID | Certification_ID | Credential_ID__c | Text | Training__c | certID |
Field Description
-
- Credential Issued: This is a Boolean field, storing values Yes or No. This field indicates whether for the selected Learning Path or Course, a Credential(could be a Certificate, Badge or Accreditation) is issued or not.
-
- Course Type: This field has two possible options. It can either be a Course or Learning Path. In UI this can be picked from a List of options. In API, the value for this field must only include “Course” or “Learning Path”.
-
- Expiry Date: This sets the validity expiry date for the credential issued. This must be in dd-mm-yyyy format. Any other format may result in an API Error. If the Credential issued does not have an Expiry date, you may pass “” or null in the API. If the field is not present in the API Call, then it will assumed as a Credential with no expiry.
-
- Completion Date: This date field indicates the date on which the course was completed on the LMS. The format for this filed in API is dd-mm-yyyy. This field will not be blank.
-
- Score: This optional field provides the score, (cumulative or average) achieved by the user in the Course or Learning Path. The field will have numeric float values.
-
- Course ID: This is a unique ID for the course assigned in the LMS. Course ID is a unique field for a course and a user can have only one Credential for a specific Course ID. If the Credential Data is supplied for the same user for the same Course ID, API will return a Duplicate error. This is an alpha numeric text value. This field in API cannot be blank.
-
- Course Name: This field has the name of the Learning Path or Course. This is a text field and must not be blank. Multi-year certifications with the same course name can use the Course ID to differentiate the year or version.
-
- Certification ID: This is an Alpha-Numeric field. This field is generated by the Learning Management System, on successful completion of the Course or the Learning Path.