Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

SimpleOne provides several comprised widgets for displaying read-only information on user queries, incidents, problems, requests, and change request forms. One of them is the Static Task Information widget.

This widget retrieves information from the current record. By default, the following fields are displayed:

  • State
  • Number
  • Assigned User
  • Updated at
  • Created at


Info

The Static Task Information widget does not display empty fields. If the Assigned User is not yet defined, the field will be hidden.

Widget appearance


You can reorder widgets and fields using the Form Layout functionality.

To learn how to change the order of fields within the Static User Information widget, refer to the next section.

Configuring widget set of fields


Tip

Role required: admin.

To change the set of displayed fields, complete the following steps:

  1. Navigate to Portal Structure → Widgets.
  2. Open the record titled Static Task Information.
  3. In the Server Script field, find the line 

    Code Block
    languagejs
    themeEclipse
    titleServer Script
    <![CDATA[const columnNames = [


  4. Add or delete column names in the lines below.

    Info

    Please note that the script requires the system column names in a single quote marks, like 'assigned_user' for the Assigned User column. 

    Tooltip
    onlyIcontrue
    appendIconinfo-filled
    iconColorblue
    linkTextHow to get system name

    To get the system name of the column of the ITSM Task table, complete the following steps:

    1. In the page address, enter a path like this:

      Section

      {your-instance.com}/list/itsm_task


    2. In the hamburger menu, select Configure → Table.
    3. In the Related Lists area, open the Columns tab.
    4. Using the search boxes or the Condition Builder, find the column you need.
    5. Copy the system name from the Column Name column.



  5. Click Save or Save and Exit to apply changes.

Adding a widget to custom ITSM essence


To add the Static Task Information widget to a custom ITSM table, extended from the ITSM Task table, perform the following steps:

  1. Open the custom table form.
  2. In the hamburger menu, select Configure → Form → Layout.
  3. From the Available box, move the Static Task Information widget to the Selected box.
  4. Click Save.

Table of Contents
absoluteUrltrue
classfixedPosition
printablefalse