Create components in CADRE/REMS

Background

CADRE is using the Resource Entitlement Management System (REMS) tool for managing access rights to resources. As explained in the previous developer guide sections, CADRE also runs a REMS frontend website. At the moment all administrative actions such as creating organisations, licenses, workflows, forms, resources, and catalogue items are done using the REMS frontend service.

The functionality to create items within REMS remains the same, refer to the documentation within the forked REMS repository for a guide on how to add resources. The eventual goal will be to include all of this functionality into the main application in the future release of CADRE v2.0.0. Within this page, we note the exception cases where additional set-up is required for intended funcitonality on CADRE.

Autofill DSR Fields

Certain form fields within CADRE can be autofilled by the application itself, but this autofill feature requires additional configuration when creating the form and the form elements themselves. Once correctly set-up, metadata will tell the CADRE frontend to trigger the autofilling of form elements with the desired information.

Autofilled User Form Fields

Create a new form on the hosted REMS instance

Create Form

Create a form field

Create field

Set the field id as an allowlisted identifier to enable autofilling

Set Allowlist Identifier

After saving the form and adding it to a catalogue item, requesting the said catalogue item in CADRE will have autofilling form fields

View Autofilled Form in CADRE

Set DSRs to Require Projects

CADRE uses the REMS categories for resources to check if a project is required by the organisation before allowing submission of the form. Within this section, we'll show how to create the 'Project Required' category and how to add it to a catalogue item so it can then be reflected on the CADRE frontend.

Required Projects Form

Check that the 'Project Required' category exists under manage categories

Navigate to Manage Categories

Project Required Category

[Optional] Create the 'Project Required' category

Create Category Button

Creating the 'Project Required' Category

Add the category to a catalogue item

Edit the Catalogue Item

Edit the Catalogue Item's Categories

Request resource to confirm that it requires project linking before submission

Review that the resource requires project linkage