How to add document to course
  • 13 Jan 2025
  • 1 Minute to read
  • Contributors
  • Dark
    Light

How to add document to course

  • Dark
    Light

Article summary

To widen the scope of supported entities under Courses, we have introduced support for Documents. Documents are nothing but external links, which can be part of a course. To configure a document as part of a course, incorporate the below code in the Course Content JSON:

{
    uid": "github:doc",
    "type": "document",
    "title": "Document for test",
    "url": "https://github.com/MicrosoftLearning/AZ500-AzureSecurityTechnologies/blob/master/readme.md",
    "icon_url": "https://learn.microsoft.com/en-us/training/achievements/describe-cloud-compute.svg",
    "duration_in_minutes": 23,
    "number_of_children": 8,
    "clid": "",
    "description": "Testing document type entity"

}

Under type, please ensure that document is mentioned and that the value for the field URL is the link to the document that is supposed to be opened by the attendee.