Custom attributes¶
Custom attributes are extra fields that you add to the records in Janison Insights. You link each one to the kind of record it belongs on, such as users, organisations, assessment events, tests or items. You can then use it to filter, sort, search and report on those records.
You can also group custom attributes into sets. This page covers what you can add, how to add a custom attribute or a set, and how to batch edit values.
What you can add¶
You manage custom attributes at Settings > Custom Attributes. Select Actions to add or import one of the following:
- Add Custom Attribute adds one field. See Add a custom attribute.
- Add Custom Attribute Set groups custom attributes so they appear together on a discipline's tests, items or test sections. See Add a custom attribute set.
- Add Psychometric Data Set groups custom attribute sets that record psychometric data for tests, items and test sections. You attach it to a discipline. See Disciplines.
- Add Other Data Set groups custom attribute sets that hold extra data about users.
- Import Custom Attribute Set, Import Psychometric Data Set and Import Other Data Set each upload a set from an XML file. The file comes from exporting the set on another Insights site.
Below the search bar, tabs sort what's already been added: Custom Attributes, Sets, PDS for psychometric data sets, ODS for other data sets, and Inactive.
Types of custom attribute¶
When you add a custom attribute, you choose its Type. The type decides what the field looks like on a form and what people can enter in it, such as text, a number, a date or a choice from a list. You can't change the type after you save.
The Type list has these 13 options, in this order. Each links to what the type looks like and how to set it up.
| Type | Used for |
|---|---|
| List | A drop-down list where each element can have a name, an identifier and a value. |
| Boolean | A checkbox giving a true or false value. |
| String | A free-text field, optionally restricted by length or a regular expression. Used for most metadata fields. |
| Selection | A drop-down list without identifiers or values per element. |
| Selection with other | A drop-down list with an additional 'Other' free-text option. |
| Memo | A larger free-text field, plain or rich text, with an optional word limit and default text. |
| Integer | A numeric text field accepting whole numbers, with optional lower and upper limits. |
| Float | A numeric text field accepting whole and decimal numbers, with optional lower and upper limits and rounding. |
| Date | A date field with a date picker. |
| Image | An image upload field (.png, .jpg, .jpeg or .gif). |
| Selection from system entity | A drop-down listing system entities, built by the system from the settings you choose. |
| Custom View | Access to a custom page from a specified location, or a data store for responses to custom-page forms. |
| Date Time | A date and time field with date and time pickers. |
Add a custom attribute¶
- On the Custom Attributes page, select Actions > Add Custom Attribute. The New Custom Attributes page opens.
- Fill in the main settings. They're the same for every type.
- Choose the Type and fill in the fields for that type. See Custom attribute types.
- Under Linked Objects, choose each kind of record the field appears on. See Link the custom attribute and save.
- Select Save.
The main settings are:
- Name identifies the custom attribute in lists. The label people see beside the field is the caption you enter when you link it.
- Identifier fills in from the name as you type. You can change it, and it must be unique.
- Description is optional.
- Hint Text is an optional note about the custom attribute. People filling in the field don't see it.
- Inactive switches the custom attribute off. Tick it if the field isn't ready to use yet.
You can link a custom attribute straight to most kinds of record, including users, organisations, assessment events, tests and items. It's then available on every record of that kind.
Test sections aren't in the Object list. To put a custom attribute on test sections, add it to a custom attribute set and attach the set to a discipline. Use a set for tests or items too when the fields belong to one discipline only.
Add a custom attribute set¶
A custom attribute set shows several custom attributes together, as one section on a test, an item or a test section. Create the custom attributes first. A set can only hold custom attributes that are active.
- On the Custom Attributes page, select Actions > Add Custom Attribute Set. The New Custom Attribute Sets page opens.
- Fill in the main settings, as for a custom attribute.
- Under Custom Attributes, add each custom attribute and set its options.
- Drag the rows into the order people should see.
- Select Save.
Two of a set's main settings work differently from a custom attribute's. The set's Name is the heading of its section on the test, item or test section. Its Hint Text shows as a message above the set's fields.
The Custom Attributes section has these parts:
- Select Custom Attribute lists the active custom attributes. Choose one.
- The + button adds it to the table.
- Caption is the label people see beside the field. Leave it empty to use the custom attribute's name.
- Hint Text is help for the person filling in the field. It shows when they hover over the hint icon beside the field.
- Mandatory means the field must be filled in.
- Inactive hides the field in this set.
- The remove icon takes the custom attribute out of the set.
- The move icon drags the row up or down.
The remove icon shows only until you save the set. After that, tick Inactive on a row to stop its field appearing.
To use the set on tests, items or test sections, attach it to a discipline. Open the discipline and add the set under Test Custom Attribute Sets, Question Custom Attribute Sets or Test Section Custom Attribute Sets. See Disciplines.
Change or stop using a custom attribute¶
To find a custom attribute or a set, choose its tab or select Search for Taxonomy, which searches names and identifiers. Each row has an icon to view it and an icon to edit it. A set also has an icon that exports it as an XML file.
To stop using a custom attribute or a set, edit it and tick Inactive. It moves to the Inactive tab, its field no longer appears on records, and it can't be added to a set. The values already saved are kept. To bring it back, clear Inactive.
Batch edit custom attribute values¶
Batch edit sets the same value in a custom attribute for several users at once. It works for string custom attributes linked to Users. This example records a first aid certificate for 4 staff.
First, create a string custom attribute and link it to Users. See Add a custom attribute. Its details page lists Users under Linked Objects.
Next, turn on batch edit for the custom attribute. Select Settings > User Settings and expand List View. Tick Batch Edit beside the custom attribute, then select Save Settings. Batch Edit is greyed out for every other kind of field.
Then, on the Users list, tick each user to change. Select the button named after the custom attribute, such as Set First Aid Certification Status.
Enter the value and select Ok. It replaces any value those users already had.
The value now shows on each user's page.
Settings¶
Administrators control custom attributes in these places.
Roles (Settings > Roles) — sets which roles can open the Custom Attributes page and add, change and delete what's on it. It also sets which roles can edit the values in each custom attribute set.
User Settings (Settings > User Settings) — chooses which custom attributes linked to Users appear on user forms, views and the Users list. Batch Edit is in its List View section. See User settings.
Disciplines (Author > Disciplines) — attaches custom attribute sets and psychometric data sets to a discipline's tests, items and test sections.








