Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Merged branch "DOC0001218" into parent

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

This widget retrieves information from the current task record. By default, the following information is displayed:

  • State
  • Date and time of last update
  • Priority
  • Creation time
  • Assignment group
  • Assigned user
  • Contact type
  • Service

For more information on the displayable fields, read the Configure the widget fields section.

Widget appearance


  1. State
  2. Date and time of last update
  3. Fields with available information. You can  configure  the displayed displayable fields and their layout.

Add the widget to a form


To add the Static Task Information SA widget to record forms of a specific table, complete the following steps:

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

Configure the widget fields 
Anchor

config

configSTISA

config

configSTISA


The fields displayed in the the Static Task Information SA widget  widget are organized into rows and columns. The rows can rows can have different number of columns. Each  Each row, regardless of the number of the columns it has, takes the full width of the widget. If  If a field has no value, the not set placeholder is displayed in the corresponding column.

To change the displayed fields and their layout, complete the following steps:

  1. In the burger menu of the form where the widget is located, go to Configure → Form → Layout.
  2. In the Selected box, select the widget you need to configure. А window with the Schema option values
  3.  field
  4.  field appears on the right.
  5. Specify the system names of columns you need to include in the widget in the following format.

    Code Block
    languagejs
    titleSchema option values
    {
        "fields": [
            ["priority","
  6. contact_type","service"],
  7. sys_created_at"],
            ["assignment_group","assigned_user"],
            ["contact_type","service"]
        ],
    }
  8. Click Save.

As a result, the widget has:

    three
  • two columns in the first row with
  • the Priority, Contact type and Service
  • the Priority and Created at fields.
  • two columns in the second row with the Assignment group and Assigned user fields.
  • two columns in the third row with the Contact type and Service fields.

Configure widget height


You can set the minimal height of the widget in pixels. Notably, the minimal height cannot be less than the height of displayed elements.
To set the minimal height, complete the following steps: 

  1. Navigate to a table record showing the widget.
  2. In the burger menuhamburger menu icon.pngImage Added, select Configure  Form → Layout.
  3. In the Selected box, click the widget name to open the Widget instance window.
  4. In the Schema option values field, set the minimal height of the widget using the minHeight property as shown below.
    Code Block
    titleSchema option values
    {
        "minHeight": "600px",
        "title": "Task",
        "column": "state",
        "colorMap": [
            {"color": "#0086E5", "value":"1"},
            {"color": "red", "value":"-1"}
        ],
        "excludedStates": ["-2","7"]
    }
  5. Click Save to apply the changes.

Table of Contents
absoluteUrltrue
classfixedPosition
printablefalse