Kapitel 3 · Für Admins · Profilfelder

Feldtyp: Auswahl (Enum)

Eine Auswahl aus einer festen Liste — konsistent und auswertbar.

🏷️

Feldtyp: EnumProfileField.

Was es ist

Ein Dropdown mit vordefinierten Optionen (genau eine wählbar).

Wann verwenden

Wenn die Werte aus einer festen Menge kommen sollen.

Beispiele

  • Abteilung
  • Standort (Liste)
  • Karrierestufe

So legen Sie es an

So geht's konkret
  1. ÖffnenUserProfile fields.
  2. NeuFeld anlegen; Typ Auswahl (Enum) wählen.
  3. BenennenLabel (mehrsprachig) und ggf. Pflicht/Optional.
  4. SpeichernDas Feld erscheint im Profil und bei der Registrierung.

Im Zusammenspiel mit Restrictions

Profilfelder sind die Basis für zielgerichtete Sichtbarkeit. Ein konkretes Beispiel:

🔒

Eine Regel „Abteilung in [HR, Finance]“ zeigt einen Inhalt nur diesen beiden Abteilungen.

Mehr dazu unter Restriction-Operatoren und Gruppen & Rechte.

Tipps

  • Klar strukturierte Restrictions möglich (equals/in).
  • Optionsliste pflegen und stabil halten — Umbenennungen wirken überall.

Häufige Fehler

  • Optionen später umbenennen — bestehende Restrictions und Auswertungen brechen.
  • Zu viele Optionen — die Liste wird unübersichtlich.
  • Auswahl verwenden, wo Mehrfachauswahl nötig ist (dann Array).
👉

Zurück zu Profilfelder.

Chapter 3 · For admins · Profile fields

Field type: Selection (enum)

A selection from a fixed list — consistent and analysable.

🏷️

Field type: EnumProfileField.

What it is

A dropdown with predefined options (exactly one selectable).

When to use

When the values should come from a fixed set.

Examples

  • Department
  • Location (list)
  • Career level

How to create it

Step by step
  1. OpenUserProfile fields.
  2. Newcreate a field; choose type Selection (enum).
  3. Namelabel (multilingual) and required/optional if needed.
  4. SaveThe field appears in the profile and at registration.

Working with restrictions

Profile fields are the basis for targeted visibility. A concrete example:

🔒

A rule “department in [HR, Finance]” shows a piece of content only to these two departments.

More on this under Restriction operators and Groups & rights.

Tips

  • Clearly structured restrictions possible (equals/in).
  • Maintain the option list and keep it stable — renaming takes effect everywhere.

Common mistakes

  • Renaming options later — existing restrictions and analyses break.
  • Too many options — the list becomes hard to survey.
  • Using Selection where multi-select is needed (then Array).
👉

Back to Profile fields.