LearningSuite icon

LearningSuite

Interact with LearningSuite API (powered by agentur-systeme.de)

Overview

This node interacts with the LearningSuite API to manage modules within courses, specifically allowing you to change module access permissions for members. It is useful in educational or training platforms where course content access needs to be controlled dynamically per user.

A common scenario is when an administrator wants to override default module access settings for a specific member, granting or restricting access to certain course modules based on their progress, subscription level, or special permissions.

For example, you can use this node to set a module's access mode to "Published" for a particular member, making it immediately available, or to "Hidden" to restrict access temporarily.

Properties

Name Meaning
Course Name or ID Optional filter to specify the course containing the module. You can select from a list of courses or provide a course ID via expression. Applies only to some operations but not directly to changing module access.
Module Name or ID Required. Select the module whose access you want to change. You can choose from a filtered list (optionally filtered by course) or specify an ID using an expression.
Member Name or ID Optional: The member (user) for whom the module access will be changed. Choose from a list or specify an ID via expression. This identifies the user affected by the access change.
New Module Access The new access mode to apply to the module for the specified member. Options are:
- On Demand
- Published
- Hidden
Additional Options Collection of optional parameters:
- Course Instance Name or ID: If specified, the access change applies to the entire course instance rather than just the module. Can be selected from a list or provided via expression.

Output

The node outputs a JSON array representing the result of the access change operation. Each item corresponds to one processed input and typically contains confirmation details or the updated state returned by the LearningSuite API.

If the API returns binary data (not indicated here), it would represent related files or media, but this node primarily deals with JSON responses about module access status.

Dependencies

  • Requires a valid API key credential for the LearningSuite API.
  • Needs network access to the configured LearningSuite base URL.
  • Uses internal methods to load options dynamically for courses, modules, and members.
  • No additional external dependencies beyond the LearningSuite API.

Troubleshooting

  • No handler for resource and operation: If you select a resource-operation combination not implemented, the node throws an error indicating no handler exists. Ensure you select supported combinations.
  • Invalid or missing IDs: Providing invalid course, module, or member IDs may cause API errors. Use the dynamic option lists or verify IDs before running.
  • API authentication errors: If the API key is invalid or missing, requests will fail. Verify credentials and connectivity.
  • Continue on Fail: If enabled, the node continues processing other items even if one fails, returning error details in the output JSON.

Links and References

Discussion