Listenmenüs für die Anzeige auf der Registerkarte „Lernen“ in Personaloptimierung für ITSM konfigurieren

  • Freigeben Version: Yokohama
  • Aktualisiert 30. Januar 2025
  • 2 Minuten Lesedauer
  • Fügen Sie eine Systemeigenschaft hinzu, um sie dem Listenmenü für Coaching mit Lerninhalten in der Anwendung Coaching in Personaloptimierung für ITSM hinzuzufügen oder sie zu ändern.

    Vorbereitungen

    Wichtig:
    Diese Funktion ist mit dem Plugin „Coaching mit Lerninhalten“ (sn_coach_lrn) aus dem ServiceNow Store verfügbar. Informationen zum Aktivieren dieser Funktion finden Sie unter Personaloptimierung für ITSM für den konfigurierbaren Arbeitsbereich aktivieren.

    Setzen Sie den Zuordnungs-Anwendungsbereich auf Coaching mit Lerninhalten. Weitere Informationen zum Festlegen des Anwendungsbereichs finden Sie unter Zuordnungs-Anwendungsbereich festlegen.

    Erforderliche Rolle: admin

    Prozedur

    1. Geben Sie im Anwendungsnavigator sys_properties.list ein.
    2. Klicken Sie auf Neu.
    3. Geben Sie die folgenden Feldwerte ein.
      Feld Wert
      Suffix learning_list_menu_props
      Name sn_coach_lrn.learning_list_menu_props
      Applikation Coaching mit Lerninhalten
      Typ Zeichenfolge
      Wert
      [{
          “children”: [{
                  “conditions”: “<filter condition on table>“,
                  “label”: “<list name>“,
                  “id”: “<unique identifier for the selection path>“,
                  “selectionPath”: [
                      “<list parent name>“,
                      “<unique identifier for the selection path>”
                  ],
                  “table”: “<table name>”
              }
          ],
          “label”: “<list name>“,
          “id”: “<list parent name>“,
          “isExpanded”: true,
          “selectionPath”: [“<list parent name>“]
      }]
      wobei:
      • <children> ein Array von Objekten zum Erstellen der Liste ist
      • <conditions> die für die ausgewählte Tabelle festgelegte Bedingung ist
      • <label> der Name der Liste ist
      • <id> − Eindeutiger Bezeichner für den Auswahlpfad
      • <selectionPath> ist der Pfad zum Einrichten einer Eltern-Kind-Beziehung im Menü
      • <table> ist der Name der Tabelle für das Menüelement
      Leserollen sn_wfo_cfg_ws.user
      Schreibrollen sn_wfo_cfg_ws.admin
    4. Klicken Sie auf Absenden.
      Die konfigurierte Liste wird auf der Registerkarte „Lernen“ in Coaching im Personaloptimierung für ITSM-Manager-Arbeitsbereich angezeigt.

    Nächste Maßnahme

    Sie können den folgenden Code in das Feld „Wert“ in der Systemeigenschaft kopieren und nach Bedarf ändern.

    [{
        “children”: [{
                “conditions”: “assigned_toDYNAMICfdc474aab313001013a082c136a8dc15”,
                “label”: “All Tasks”,
                “id”: “all”,
                “selectionPath”: [
                    “learning_tasks”,
                    “all”
                ],
                “table”: “sn_lc_learning_task”
            },
            {
                “conditions”: “assigned_toDYNAMICfdc474aab313001013a082c136a8dc15^active=true”,
                “label”: “Active Tasks”,
                “id”: “active”,
                “selectionPath”: [
                    “learning_tasks”,
                    “active”
                ],
                “table”: “sn_lc_learning_task”
            },
            {
                “conditions”: “assigned_toDYNAMICfdc474aab313001013a082c136a8dc15^due_date<javascript:gs.beginningOfToday()^state!=3”,
                “label”: “Overdue Tasks”,
                “id”: “overdue”,
                “selectionPath”: [
                    “learning_tasks”,
                    “overdue”
                ],
                “table”: “sn_lc_learning_task”
            },
            {
                “conditions”: “assigned_toDYNAMICfdc474aab313001013a082c136a8dc15^state=3",
                “label”: “Completed Tasks”,
                “id”: “complete”,
                “selectionPath”: [
                    “learning_tasks”,
                    “complete”
                ],
                “table”: “sn_lc_learning_task”
            }
        ],
        “label”: “Learning Tasks”,
        “id”: “learning_tasks”,
        “isExpanded”: true,
        “selectionPath”: [“learning_tasks”]
    }, {
        “children”: [{
                “conditions”: “”,
                “label”: “All Catalogs”,
                “id”: “all”,
                “selectionPath”: [
                    “learning_catalogs”,
                    “all”
                ],
                “table”: “sn_lc_catalog”
            },
            {
                “conditions”: “sys_created_by=javascript: gs.getUserName()“,
                “label”: “My Catalogs”,
                “id”: “my”,
                “selectionPath”: [
                    “learning_catalogs”,
                    “my”
                ],
                “table”: “sn_lc_catalog”
            }
        ],
        “label”: “Learning Catalogs”,
        “id”: “learning_catalogs”,
        “isExpanded”: true,
        “selectionPath”: [“learning_catalogs”]
    }, {
        “children”: [{
                “conditions”: “active=true”,
                “label”: “All Courses”,
                “id”: “all”,
                “selectionPath”: [
                    “learning_courses”,
                    “all”
                ],
                “table”: “sn_lc_course_item”
            },
            {
                “conditions”: “authorDYNAMIC90d1921e5f510100a9ad2572f2b477fe^active=true”,
                “label”: “Internal Courses”,
                “id”: “internal”,
                “selectionPath”: [
                    “learning_courses”,
                    “internal”
                ],
                “table”: “sn_lc_content”
            },
            {
                “conditions”: “active=true”,
                “label”: “External Courses”,
                “id”: “external”,
                “selectionPath”: [
                    “learning_courses”,
                    “external”
                ],
                “table”: “sn_lc_external_content”
            }
        ],
        “label”: “Learning Courses”,
        “id”: “learning_courses”,
        “isExpanded”: true,
        “selectionPath”: [“learning_courses”]
    }]