Versions Compared

Key

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

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
     
    1. configure
     
    1. the
    displayed
    1. 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
     
    1.  → Form → Layout.
    2. From
    the 
    1. the Available
     box
    1.  box, move
    the 
    1. the Static Task Information SA
     widget
    1.  widget to
    the 
    1. the Selected
     box
    1.  box.
    Click 
    1. 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

    the

    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
     field
    1.  field appears on the right.
    2. Specify the system names of columns you need to include in the widget

    . Format them as shown
    1. in the

    example below
    1. following format.

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

    As a result, the widget has:

    • two
    These settings result in a widget with three
    • columns in the first row
    and
    • with 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 menu Image 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