Skip to main content

Document Module

Overview

The Document Module is designed to showcase and manage documents or files through a configurable and responsive interface. This guide outlines how to create and configure a Document Module for both flat (ungrouped) and grouped document displays.


1. Document Module Creation

Click the Create a new module button to initiate the creation process. A form will appear prompting you to enter:

  • Label – A short, user-friendly name for your module.
  • Type – Select "Document" from the type options.
  • ID – Auto-filled from label (used in URL paths; must contain no spaces).

Note: The Label can be a short display name, while the Title (configured later) is more descriptive.

Once completed, click Create to proceed to the module configuration screen.


2. Configuration

General Configuration

In the General Configuration section, you can set:

  • Label – Short identifier for the module (editable).
  • Title – Descriptive name shown in the portal.
  • Item Display – How grouped documents are displayed:
    • Segmented
    • Dropdown

Example of segmented display: Segmented Display Example

Example of Dropdown display Dropdown Display Example

  • Categorize documents into groups – Toggle for grouping documents.
    • Unchecked (Flat Mode): Documents are listed directly.
    • Checked (Grouped Mode): Documents are organized into groups.

3. Flat Configuration (When 'Categorize documents into groups' is Unchecked)

When Categorize documents into groups is unchecked, the module behaves in a flat mode. You will see:

  • A button labeled Add Document
  • A list of documents added to the module if any

Adding a Document

Click Add Document to open the document form. Fill in the following fields:

  • Label – Name of the document
  • ID – Auto-filled from label (used for URL)
  • File Type – Currently only PDF is supported
  • Upload File – Select and upload the PDF file

You can add multiple documents. Each added document will appear in the list below.

Example View: Flat Document Module View


4. Grouped Configuration (When 'Categorize documents into groups' is Checked)

When Categorize documents into groups is checked, the module allows organizing documents into user-defined groups.

Adding a Group

Click the + Add Group button. A form will appear where you provide:

  • Group Title – Display name for the group
  • ID – Auto-generated from the title

After group creation, a new section appears allowing you to add documents to that group.

Adding Files to a Group

Within each group, click Add File. Fill in:

  • Label – Name of the document
  • File Type – PDF only
  • Upload File – Choose the document file

You can add multiple files before saving the group.

Group Creation Modal: Add Group Modal

Once saved, the group and its files will appear below.

Example Grouped Display: Grouped Document Module View


5. Deleting or Saving a Module

At the top of the module page, you will find buttons to:

  • Save Changes – Save all configuration updates
  • Delete Module – Remove the entire module and its contents

⚠️ Warning: Deleting a module permanently removes all files and groups associated with it.


6. Summary

FeatureDescription
Create ModuleDefine label, type (Document), and ID
Item DisplayChoose between Segmented or Dropdown view for grouped documents
Flat ModeList of documents without grouping
Grouped ModeOrganize documents into titled groups
Add/Edit/DeleteFull CRUD support for files and groups
PDF Support OnlyCurrently supports only PDF file type

7. Best Practices

  • Use URL-safe IDs with no spaces or special characters.
  • Organize documents into meaningful groups when grouping is enabled.
  • Save your progress frequently.
  • Preview your display modes (Segmented vs Dropdown) for usability.

💡 Got ideas or suggestions? Reach out to the team to request new features!