Skip to content

Custom attributes

Custom attributes let system administrators define additional data fields. These fields can be linked to objects (entities) in the CLS and then used to filter, sort, search, and report on them. Custom attributes can also be grouped into sets.

The following entities can have custom attributes:

  • Assessment Events
  • Catalogue Items
  • Content Providers
  • Courses
  • Disciplines
  • Enrolments
  • Group Types
  • Groups
  • Learning Event Sessions
  • Learning Events
  • Marking Project marks
  • Modules
  • Organisation Units
  • Organisations
  • Other Learning Data
  • Positions
  • Questions
  • Resources
  • Stimuli
  • Tags
  • Tenants
  • Test Attempts
  • Tests
  • Token Orders
  • Users

A special use is data collection from users when they self-enrol — see Self enrolment question sets below.

Custom attributes can be reached at Settings > Custom Attributes.

Custom Attributes screen

Manage custom attributes

The Custom Attributes screen is divided into Custom Attributes, Custom Attribute Sets, and Inactive Attributes and Sets.

Manage custom attributes tabs

  1. Select a tab to display a list (for example, Custom Attributes).
  2. Select Search for Taxonomy and enter search words. You can further refine the search by selecting Type and choosing a custom attribute type.

    Search and filter custom attributes

  3. Select the icons under Actions to edit (pencil) or inspect (eye) the item.

Export custom attribute set

Custom attribute sets have an additional download icon under Actions that exports them to disk.

Export icon on custom attribute sets

Add a custom attribute

Navigate to Settings > Custom Attributes and select Add Custom Attribute.

Add Custom Attribute menu

To add a custom attribute:

  1. Enter a Name and Identifier.
  2. Enter information about the attribute if desired.
  3. Select the checkbox to disable this custom attribute if desired.
  4. Select the Custom Attribute Type. Each type displays different fields — see Types of custom attributes below.
  5. Select the arrow next to Linked Objects and select the object where the custom attribute will appear. For example, Users makes it appear on user forms and reports. You can choose multiple objects.
  6. Enter the caption for the field in this entity.
  7. Select the checkbox if this field is mandatory for this object.
  8. Select the checkbox if this field is inactive for this object.
  9. Select the minus icon to remove an object from the list.
  10. Select Save Custom Attribute.

    Add Custom Attribute form

Types of custom attributes

Custom View

Custom View lets custom pages be displayed wherever custom attributes can be shown. It can also serve as a data store for information from those custom pages.

Note

A custom page is generally built by a Janison developer. Contact the Janison customer services team to find out more.

  1. Select Custom View as the type.
  2. Select a previously constructed Custom Page.
  3. Enter the Button Text.
  4. Add the Linked Objects (for example, Catalogue Item).

    Custom View form

  5. Select Save Custom Attribute.

    Save Custom View

Note

For the custom attribute to be used in a catalogue item, it must be linked to a custom attribute set.

The button appears in a sub-section of Metadata of the catalogue item.

Custom View button on catalogue item

List

Allows a value to be selected from a dropdown list.

  1. Select List from the dropdown.
  2. Select which of the elements below you want to display as options.
  3. Select Multiple items if multiple items can be selected (displayed as checkboxes).

Under Elements:

  1. Enter text for the Name.
  2. Add an Identifier. Optionally add a Value.
  3. Use the icons to delete an element or drag it to a new position.

    List custom attribute form

After attaching to the User object with caption Geographical region, updating a user includes a new dropdown:

List custom attribute in use

Boolean

Displays a checkbox.

  1. Select Boolean from the dropdown.

After attaching to the User object with caption Post Graduate Education?:

Boolean custom attribute form

Boolean custom attribute in use

String

Allows the free entry of text, optionally restricted by a regular expression.

  1. Select String from the dropdown.
  2. Enter the maximum number of characters allowed.
  3. Enter the regular expression to validate the input.

    String custom attribute form

After attaching with caption Hobbies:

String custom attribute in use

Selection

Similar to List but with simpler setup. No separate identifier/value text and no control over display.

  1. Select Selection from the dropdown.
  2. Enter each text selection on a new line in Elements.

    Selection custom attribute form

After attaching with caption Expertise:

Selection custom attribute in use

Selection with other

Same as Selection but lets the user enter a value not defined in Elements.

  1. Select Selection with other from the dropdown.
  2. Enter the elements for the dropdown.

    Selection with other form

Selecting Other gives the opportunity to enter text.

Selection with other in use

Memo

Similar to String but provides a larger text entry area. Maximum length can't be set.

  1. Select Memo from the dropdown.

    Memo custom attribute form

After attaching with caption More details about family background:

Memo custom attribute in use

Integer

Allows entry of whole numbers within a defined range.

  1. Select Integer from the dropdown.
  2. Enter the smallest allowable number (inclusive) in Min value.
  3. Enter the largest allowable number (inclusive) in Max value.

    Integer custom attribute form

After attaching:

Integer custom attribute in use

Float

Allows entry of any rational number (numbers with decimal points).

  1. Select Float from the dropdown.
  2. Enter the smallest allowable number (inclusive) in Min value.
  3. Enter the largest allowable number (inclusive) in Max value.
  4. Enter the number of decimal places.

    Float custom attribute form

After attaching with caption Coffees per day (average):

Float custom attribute in use

Date

Allows a date to be entered from a date picker.

  1. Select Date from the dropdown.

    Date custom attribute form

After attaching with caption Date started position:

Date custom attribute in use

Image

Allows an image to be uploaded. Supported file extensions: jpg, png, gif.

  1. Select Image from the dropdown.
  2. Enter the Width and Height in pixels.
  3. Enter the Alt Text to be displayed.
  4. Enter the Max File Size in kilobytes.

    Image custom attribute form

After attaching with caption Upload a photo:

Image custom attribute in use

Edit a custom attribute

Navigate to Settings > Custom Attributes. Select the pencil icon next to the custom attribute you want to edit. The next screen is similar to the Add form.

Edit custom attribute

Add a custom attribute set

Navigate to Settings > Custom Attributes and select Add Custom Attribute Set.

Add Custom Attribute Set

Export a custom attribute set

Custom attribute sets can be exported to a zip file to move them to a different site. Navigate to Settings > Custom Attributes > Sets tab.

Sets tab

Locate the required set and select the download icon under Actions.

Export download icon

The file is saved to your local machine.

Import a custom attribute set

Navigate to Settings > Custom Attributes > Import Custom Attribute Set.

Import Custom Attribute Set menu

Browse to your import file and select Import.

Import file form

Self enrolment question sets

Custom attribute sets containing one or more custom attributes can be used to collect information from users when they self-enrol in a catalogue item. These are referred to as question sets.

Question sets could be used to:

  • Gather dietary requirements for a training session.
  • Collect geographical location or age range of enrolees.
  • Find out how learners are discovering your courses.

To create a question set, create a custom attribute set and add one or more custom attributes. The custom attributes don't need to be linked to any objects.

Custom attribute set example

Add questions to a catalogue item

Navigate to the catalogue item, enter edit mode, and open the Self Enrolment Settings section. In the Enrolment Question Set dropdown, select your question set and save.

Catalogue item question set selector

Learners enrolling in the catalogue item see the questions.

Learner enrolment questions

Add questions to a learning event

Open the learning event and select the edit icon in the Attendee Questions section. Select the Attendee Question Set and save.

Learning event attendee question set

Note

Learners are only presented with question sets if the Self Enrolment Method doesn't involve auto-enrolment. For example, if set to No approval, enrol and launch immediately, learners bypass the question set and go straight to the learning asset.

Reporting on enrolment question sets

To view the data collected, create a report using Enrolment as the entity.

Report entity selection

Example output:

Report output

See Customisable Reports for more.

Settings

This page is itself the Settings documentation for custom attributes. All options are configured at Settings > Custom Attributes.