Sub-flow › Manage Supplementary Resources
🎬 Simulate: SUC-CCM-13 · 4 scenarios
Background: Course Editor β€” Supplementary panel (SCR-CCM.02)
Course Introduction to Financial Literacy
β€Ί
Default anchor context Module 1 › Lesson 2 — Key Concepts
Supplementary Resources 2
NameTypeAttach to
TVET Policy Overview Rich Text Course-wide
ILO Competency Framework v2.pdf Document Module 1 › Lesson 2 — Key Concepts
Entry Details

TVET Policy Overview

Rich Text

Remove this supplementary resource?

Screen Flow (SUC-CCM-13):

Spec notes

Identity

SUC-CCM-13 Β· Screen: SCR-CCM.02 (Content Editor β€” Supplementary list view + Item editor panel) β†’ opens SCR-CCM.30 (Supplementary Resource Picker, dialog)

ReturnUrl context

Current returnUrl: /author-course/
Fallback: / when returnUrl is empty.
Propagation: Finish β†’ returnUrl. Cancel β†’ returnUrl + &sub_cancelled=1.

Sub-flow context

SUC-CCM-13 Β· Invoked by (Backoffice Portal): UC-CCM.01 β€” Author Course Content.
Precondition: user has edit rights on the course (owner or co-author); the course is in an editable state (new draft or draft returned for revision).
Trigger: user clicks the Supplementary row in the Course Outline, or "Add Supplementary" in a content item's Supplementary sub-section (anchor pre-selected in that case).
Success: the resource is attached at the chosen anchor (specific content item or course-wide); if newly uploaded, it is registered in the course asset library; saved as part of the course version on publish submission.
Cancel (AF 5A): no attachment is created; any newly uploaded resource is not rolled back and remains in the library.

Screen spec: SCR-CCM.02 (panel, fields/actions 19, 20, 22, 23, 37, 38)

  • Regions: Supplementary list view, Item editor panel
  • open_supplementary_list (action 22) β€” triggers SUC-CCM-13-M-1
  • select_supplementary_entry (action 23) β€” triggers SUC-CCM-13-M-1
  • add_supplementary (action 19) β€” opens SCR-CCM.30 Β· triggers SUC-CCM-13-M-2
  • remove_supplementary (action 20) β€” enabled only when an entry is selected Β· shows confirmation before delete (AF 1A) Β· triggers SUC-CCM-13-A-1A-1
  • supplementary_resource_title (field 37) β€” text Β· read-only Β· data_ref: CourseDraftResource.title
  • supplementary_anchor (field 38) β€” enum, required, editable, default course_wide Β· data_ref: CourseDraftItem.id / course-wide

Screen spec: SCR-CCM.30 (dialog)

  • Regions: Tab navigation, Library tab, New resource tab, Anchor selector, Footer actions
  • active_tab (field 1): required Β· enum [from_library, upload_new] Β· default from_library (upload_new if library empty)
  • type_filter (field 2): optional Β· enum [all, html, external_link, image, video, document] Β· visible on Library tab
  • library_search (field 3): optional Β· text Β· max_length 100 Β· visible on Library tab
  • col_resource_title (field 4): read-only Β· data_ref: CourseDraftResource.title
  • col_resource_type (field 5): read-only Β· enum [html, external_link, image, video, document] Β· data_ref: CourseDraftResource.type
  • col_added_at (field 6): read-only Β· date Β· data_ref: CourseDraftResource.added_at
  • library_empty_state (field 7): read-only Β· shown when library has no resources
  • resource_type_cards (field 8): read-only Β· 5 cards (html, external_link, image, video, document) β€” selecting one reveals the inline creation form
  • anchor_item_id (field 9): required Β· enum (Course-wide + eligible content items) Β· default computed from call context Β· data_ref: CourseDraftItem.id Β· hidden when opened from a content item editor context (AR-3)
  • Action select_resource_type β€” triggers SUC-CCM-13-AF-3A-1
  • Action attach β€” enabled when a resource is selected Β· triggers SUC-CCM-13-M-6
  • Action cancel β€” always enabled Β· triggers SUC-CCM-13-AF-5A-1