Moodle Integration Set-Up

The SELMA-Moodle Integration serves as a connector between your Moodle instance and your SELMA instance. This allows you to sync Enrolments in a two-way connection, which allows you allows sync and creation of students

In this Section:


Pre-requisites

  • Please contact SELMA Support to enable your Moodle Integration, and grant administrator access to your Moodle Instance.

Get Started in Moodle

Follow the steps, below, to configure your Moodle instance:

Figure 1i. Navigate to Site Administration

Figure 1ii. Navigate to Server > Web Services

Figure 1iii. Navigate to Overview

Please read the next section as you make your way through the steps on the current Overview Page.


Follow Steps Outlined on the Overview Page

Please follow the steps from 1-8, as described on this page.

Reminder:

  • Skip step 4, and follow the instructions as set out in the following section of this article.
  • Jump to this section to find the functions to add in step 6 of the Overview Page.

Once you have completed each step successfully, jump to Retrieve Token and Hold, in this article.

Figure 2. Overview Page

Click the blue highlighted text to take you straight to the relevant page and perform each task.


Step 4

Define Webservices User Role

The following describes what should be done in place of step 4 on the Overview Page.

Figure 3i. Navigate to the Users Tab

Under the “Users” tab, click “Define Roles”.

Figure 3ii. Edit Webservices Role

Figure 3iii. Provide Details and Enable Role Assignments

Provide a “Short name” and “Custom full name“, in addition to other important details linked to the Webservices Role. You must then ensure the Webservices role has “System” checked (orange), and specify which Roles it can make assignments to from Moodle (red).

Figure 3iv. Search For and Enable Permissions

Enable Permissions/Capabilities for the Webservices Role.
NOTE: This is Step 4, as outlined in the Overview Page.

Search for and enable the following permissions/capabilities:
  • enrol/manual:enrol
  • gradereport/user:view
  • moodle/course:enrolreview
  • moodle/course:managegroups
  • moodle/course:view
  • moodle/course:viewparticipants
  • moodle/grade:viewall
  • moodle/role:assign
  • moodle/site:accessallgroups
  • moodle/site:viewuseridentity
  • moodle/user:create
  • moodle/user:viewdetails
  • moodle/user:viewalldetails
  • moodle/user:update
  • report/completion:view
  • webservice/rest:use
  • moodle/course:viewhiddencourses (to be able to hide courses in SELMA)

Assign System Roles

Figure 4i. Click “Assign System Roles”

Figure 4ii. Select System Role

Figure 4iii. Select User

Select the User you have created previously, to assign the “Webservices” Role to.


Step 6

Add Functions (End-Points)

The following lists the Functions (i.e. End-Points) you should add to the Service for step 6:

  • core_completion_get_course_completion_status
  • core_course_get_courses
  • core_group_add_group_members
  • core_group_create_groups
  • core_group_get_course_groups
  • core_user_create_users
  • core_user_get_users
  • core_user_update_users
  • core_webservice_get_site_info
  • enrol_manual_enrol_users
  • gradereport_user_get_grade_items

Click for more detailed information about setting-up Web Services in Moodle.


Retrieve Token and Hold

Once you have completed all the steps outlined on the Overview Page, you will have a token to use later in SELMA.

  • Please save your token somewhere secure, for use in SELMA.

View the Next article

Please see the next article in this Manual, Integrations – Moodle Set-Up (In SELMA), for steps to be completed in SELMA.

Related Articles

Student Portal

Paid feature that grants students to review their info, upload submissions and download documents. In this Section: Portal Configuration Only Users assigned with the Role: Primary User can enable Portal settings. Figure 1i. Navigate to Settings > Portal Admin Figure 1ii. Toggle Student Portal Please note: the Portal Configuration area allows you to enable multiple …

Contact Portal (For Contacts)

Please send the following article to the Stakeholder/Contact who is working with your organisation. How to Enrol Students Figure 1. Invite to Portal Click the portal invitation link in your primary email inbox. Then, follow the instructions, and set-up a password via the “Forgot Password” option. Figure 2. Enrol Students Click the link “Enrol Students” on the top navigation …

Xero Integration Setup

The SELMA-Xero integration enables seamless synchronisation of financial data between SELMA and Xero. This integration allows you to automatically create and manage invoices, sync contacts, and track payments across both systems. Setup & Configuration 1. Connect to Xero This is the first step to establish the integration between SELMA and Xero. 1. Click “Connect to …