Skip to content
Help
Go to Learnient(opens in a new tab)

Adding your own fields to people records

Custom fields add something Learnient does not already hold, such as a locker number or a cost centre. They appear on the edit forms, in the API and in CSV templates, so a field you add here becomes a column your imports can fill.

Custom fields are under Admin, then Workspace in the left-hand menu and Custom fields — not under People, even though most of them describe people.

Choosing which record the field belongs to

Section titled “Choosing which record the field belongs to”

Four tabs, and picking the wrong one is the mistake worth avoiding.

TabThe field is answered
UsersOnce per person
CoursesOnce per course
PositionsOnce per position, by whoever defines the job
Positions per userAgain for every person holding that position

Positions and Positions per user are the pair people confuse. A field on Positions describes the job and is shared by everybody doing it. A field on Positions per user is asked again of each person, so two people in the same job can answer it differently.

  1. Choose the tab for the record the field belongs to.
  2. Choose New field.
  3. Enter a Label. This is what people see on the form.
  4. Enter a Key. This is the name used in the API and as the CSV column heading, and it cannot be changed after saving.
  5. Add Help text if the label alone will not be enough.
  6. Choose a Type. The window describes each one as you pick it, so Text tells you it is a single line of up to 255 characters.
  7. Switch on Required if it must be filled in. That applies to the API and to CSV imports as well as to the form, so a required field will reject an import that leaves it blank.
  8. Switch on Available to rules if assignment rules and workflow conditions should be able to test its value. Only a field on the Users tab can decide who gets which courses.
  9. Under Where it appears, choose the Tab of the form it goes on, then under Show after pick the field it should follow. Leave Tab on Not shown on the form to keep it off the form. The field is still in the API and in CSV templates.
  10. Choose Create.

Take step 4 slowly. The key is permanent, and it is the name every integration and every spreadsheet will use.

The Type is close to permanent too. You can change it while the field is new, but once anybody has answered it the type is fixed, so a field you meant to be a date cannot be turned into one later.

Filling a custom field from your HR system

Section titled “Filling a custom field from your HR system”

A custom field on the Users tab can be filled from any HR connection, so the value comes from your HR system rather than being typed in Learnient. Open the HR connection, choose its Mapping tab, and under Custom fields choose Add custom field. Pick the Learnient custom field, then the Field in your HR system that fills it, from the fields your HR system documents and the ones seen in your own data. Fetch sample shows the value a few people would get before you choose Save changes at the top of the page.

Every sync then overwrites the field with your HR system’s value, so an edit made in Learnient doesn’t last. A value that doesn’t fit the field’s Type isn’t saved, and the sync’s run detail says so. See Mapping custom fields from your HR system.

If you keep mobile numbers in a custom field

Section titled “If you keep mobile numbers in a custom field”

Every person now has a built-in Mobile number, on Basic information under Email address, so you don’t need a custom field for it. The built-in one is checked as a real mobile number, belongs to one person only, and is the one WhatsApp opt-ins are recorded against. A number in a custom field is none of these.

To move across, put the numbers into Mobile number with Update users, using a spreadsheet with a mobile number column. See Updating users from a spreadsheet. Check a few people, then delete the custom field: its stored values are kept, and come back if you restore it. If an HR connection filled the custom field, map Mobile number on the connection instead. See Mapping a mobile number from your HR system.

A field on the Users tab can be placed after Mobile number with Show after, like any other field on the form.

Which tab for a field that should decide training

Section titled “Which tab for a field that should decide training”

Course assignment rules can only test a field on the Users tab. A field on Positions describes the job and is shared by everybody doing it, but it does not target training. So if something like a region should decide who gets which courses, add it on Users, even though it feels like part of the job.

You can still fill a Users field in once rather than person by person: an import can set it, and a signup code can set it for everyone who signs up with it, under Set on signup. See Letting people sign themselves up.

Required and Rules are the two switches above, shown back to you. Shown on is the placement, written as the form and the field it follows, such as “Advanced information › after Location”. A field with no placement reads Not on the form.

A field on the Courses tab is placed after one of the course settings, and it appears on whichever course settings tab that setting is on, such as “Availability › after Expiry date”. If a setting moves to another tab, the fields placed after it move with it.

The counter at the top shows how many of your 50 active fields are in use.

Open the field from its actions menu with Edit. To move it, choose a different Tab or Show after. To take it off the form, clear Tab so it reads Not shown on the form. Choose Save.

Answers already given are kept, and the field stays in the API and in CSV templates, so imports can still fill it. Choose a Tab again later and it comes back with those answers.

A field on Positions or Positions per user is always on the form. Each of those forms has a single section, so there is no Tab to clear. To stop asking for one, turn it off as described below.

Switch Active off and the field stops being offered on the forms and is refused if anything tries to write to it, through the API or an import as much as the form.

You can also choose Deactivate in the field’s actions menu. Deactivate this field? names the field, says it disappears from forms, the API and CSV templates, and shows under Kept that stored values stay and come back if you activate it again.

Everything already answered is kept, and comes back if you make the field active again. That makes this the way to retire a field you no longer collect without discarding the history, and a safe thing to undo if you switch one off by mistake.

Choose Delete in the field’s actions menu. Delete this field? says it is removed from forms, the API and CSV templates, and shows under Kept that stored values stay and come back if you restore the field from the deleted list. Show deleted brings removed fields back into view, with Restore on each.

Converting a field between Users and Positions per user

Section titled “Converting a field between Users and Positions per user”

If your account uses positions, a field on Users can become a Positions per user field, answered again for each job somebody holds, and back. Choose Convert to positions-per-user field or Convert to person field in the field’s actions menu.

Convert this to a positions-per-user field? lists what happens under Changes: every answer already given moves to that person’s primary position, and Available to rules is switched off if it was on. Under Removed are the answers of anyone with no primary position. Fields that describe the job itself belong on Positions instead, and conversion can’t make one.

Convert this back to a person field? says each position’s answer moves to the person who holds it. It is only possible while nobody holds more than one position.

Before you turn off Available to rules, deactivate a field, delete it or convert it to another kind of field, Learnient checks what depends on it. If anything does, a confirmation such as “Region is in use” lists it first:

  • Assignment rules to be removed: the course assignment rules built on the field, each with its course. They are removed when you confirm. Anyone who has a course only through one of those rules has it taken off, though what they have already done in it is kept, and nobody new is matched
  • Workflows that reference this field: their conditions on the field will no longer match, so check those workflows afterwards
  • Reports that include this field: listed so you know, and not changed (see Custom fields in reports for what they show afterwards)

Choose Turn off and remove rules, Deactivate and remove rules, Delete or Continue to go ahead, or Cancel to leave the field as it is.

A visibility rule set can include people by a custom field on Users, such as everyone whose Region is North. Only a field that people can’t edit about themselves can be used, so nobody can put themselves into someone’s view, or take themselves out of it. A field people can edit about themselves isn’t offered in the rule set editor.

While a visibility rule set uses a field, you can’t let people edit that field about themselves. Trying to is refused, naming the rule set: “This field is used by the visibility rule set North region, so people cannot be allowed to edit it about themselves.” Remove the field from the rule set first. See Letting someone see people outside their reporting line.

When you build a report, every active custom field you can see is offered with the other fields about the person, course or position it belongs to. A field you deactivate or delete is no longer offered.

A saved report that already includes the field is not changed, but it leaves the field out when it runs: there is no column for it, and a filter or sort on it no longer applies. Choose Activate or Restore in the field’s actions menu and it comes back in those reports, with its column, filter and sort.