{ "accept_payment": 0, "allow_comments": 0, "allow_delete": 0, "allow_edit": 1, "allow_incomplete": 0, "allow_multiple": 1, "allow_print": 0, "amount": 0.0, "amount_based_on_field": 0, "apply_document_permissions": 1, "button_label": "Save", "creation": "2022-03-07 18:41:42.549831", "custom_css": "", "doc_type": "Course Lesson", "docstatus": 0, "doctype": "Web Form", "idx": 0, "introduction_text": "



Create lessons for your course. You can add some additional content to the lesson using a special syntax. The table below mentions all types of dynamic content that you can add to the lessons and the syntax for the same.


Content TypeSyntax
Video{{ Video(\"url_of_source\") }}
YouTube Video{{ YouTubeVideo(\"unique_embed_id\") }}
Exercise{{ Exercise(\"exercise_name\") }}
Quiz{{ Quiz(\"lms_quiz_name\") }}
Assignment{{ Assignment(\"id-filetype\") }}
", "is_multi_step_form": 0, "is_standard": 1, "login_required": 1, "max_attachment_size": 0, "modified": "2022-03-14 18:49:33.526455", "modified_by": "Administrator", "module": "LMS", "name": "lesson", "owner": "Administrator", "payment_button_label": "Buy Now", "published": 1, "route": "lesson", "route_to_success_link": 0, "show_attachments": 0, "show_in_grid": 0, "show_sidebar": 0, "sidebar_items": [], "success_url": "/lesson", "title": "Lesson", "web_form_fields": [ { "allow_read_on_all_link_options": 0, "fieldname": "chapter", "fieldtype": "Link", "hidden": 0, "label": "Course Chapter", "max_length": 0, "max_value": 0, "options": "Course Chapter", "read_only": 0, "reqd": 1, "show_in_filter": 0 }, { "allow_read_on_all_link_options": 0, "fieldname": "title", "fieldtype": "Data", "hidden": 0, "label": "Title", "max_length": 0, "max_value": 0, "read_only": 0, "reqd": 1, "show_in_filter": 0 }, { "allow_read_on_all_link_options": 0, "default": "0", "fieldname": "include_in_preview", "fieldtype": "Check", "hidden": 0, "label": "Include In Preview", "max_length": 0, "max_value": 0, "read_only": 0, "reqd": 0, "show_in_filter": 0 }, { "allow_read_on_all_link_options": 0, "fieldname": "body", "fieldtype": "Text", "hidden": 0, "label": "Body", "max_length": 0, "max_value": 0, "read_only": 0, "reqd": 1, "show_in_filter": 0 } ] }