91 lines
2.9 KiB
JSON
91 lines
2.9 KiB
JSON
{
|
|
"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": "<div class=\"ql-editor read-mode\"><p><br></p><p><br></p><p>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.</p><p><br></p><table class=\"table table-bordered\"><tbody><tr><td data-row=\"row-wxk1\"><strong>Content Type</strong></td><td data-row=\"row-wxk1\"><strong>Syntax</strong></td></tr><tr><td data-row=\"row-lawj\">Video</td><td data-row=\"row-lawj\">{{ Video(\"url_of_source\") }}</td></tr><tr><td data-row=\"insert-table\">YouTube Video</td><td data-row=\"insert-table\">{{ YouTubeVideo(\"unique_embed_id\") }}</td></tr><tr><td data-row=\"insert-row-below\">Exercise</td><td data-row=\"insert-row-below\">{{ Exercise(\"exercise_name\") }}</td></tr><tr><td data-row=\"row-3b6n\">Quiz</td><td data-row=\"row-3b6n\">{{ Quiz(\"lms_quiz_name\") }}</td></tr><tr><td data-row=\"row-r57s\">Assignment</td><td data-row=\"row-r57s\">{{ Assignment(\"id-filetype\") }}</td></tr></tbody></table></div>",
|
|
"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
|
|
}
|
|
]
|
|
} |