feat: added is_scorm_chapter and scorm_details fields used for tracking SCORM Data Model

feat: added is_scorm_chapter and scorm_content to track cmi.suspend_data for resuming scorm chapter
This commit is contained in:
FahidLatheef
2025-01-21 16:23:23 +05:30
parent a28227ad75
commit 70b2a11cb7

View File

@@ -11,7 +11,11 @@
"column_break_3",
"lesson",
"chapter",
"course"
"course",
"section_break_uoob",
"is_scorm_chapter",
"column_break_wskp",
"scorm_content"
],
"fields": [
{
@@ -68,11 +72,36 @@
"fieldtype": "Data",
"label": "Member Name",
"read_only": 1
},
{
"fieldname": "section_break_uoob",
"fieldtype": "Section Break"
},
{
"default": "0",
"fetch_from": "chapter.is_scorm_package",
"fetch_if_empty": 1,
"fieldname": "is_scorm_chapter",
"fieldtype": "Check",
"label": "Is SCORM Chapter",
"read_only": 1,
"search_index": 1
},
{
"fieldname": "column_break_wskp",
"fieldtype": "Column Break"
},
{
"depends_on": "eval: doc.is_scorm_chapter == 1 && doc.status == 'Partially Complete'",
"fieldname": "scorm_content",
"fieldtype": "Long Text",
"label": "SCORM Content",
"read_only": 1
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-01-17 15:54:34.040621",
"modified": "2025-01-20 22:25:36.829929",
"modified_by": "Administrator",
"module": "LMS",
"name": "LMS Course Progress",
@@ -106,4 +135,4 @@
"states": [],
"title_field": "member_name",
"track_changes": 1
}
}