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 inquiriesuser queries, incidents, problems, requests, and change requests request forms. One of them is the Static Task Information SA widget.
This widget retrieves information from the current record. By By default, the following fields are information is displayed:
- State
- Number
- Assigned User
- Updated at
- Created at
Info |
---|
The Static Task Information widget does not display empty fields. That is, if the Assigned User is not yet defined, the field will be ignored. |
- Date and time of last update
- Priority
- Creation time
- Assignment group
- Assigned user
- Contact type
- Service
Widget appearance
Image Modified
- State
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
Tip |
---|
Role required: admin. |
To change the set of displayed fields, complete the following steps:
- Date and time of last update
- Fields with available information. You can configure the displayed 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, perform the following steps:
- Open the table form.
- Navigate to Portal Structure → Widgets.
- Open the record named Static Task Information.
In the Server Script field, find the line
Code Block language js theme Eclipse title Server Script const columnNames = [
Add or delete column names in lines below.
Info Please note that the script requires the system column names in single quote marks like 'assigned_user' for the Assigned User column.
Tooltip onlyIcon true appendIcon info-filled iconColor blue linkText How to get system name To get the system name of a column of the ITSM Task table, complete the following steps:
In the page address, enter a path like this:
Section {your-instance.com}/list/itsm_task
- In the hamburger menuImage Modified, select select Configure → TableForm → Layout.
- In the Related Lists area, open the Columns tab.
- Using the search boxes or the Condition Builder, find the column you need.
- Copy the system name from the Column Name column.
- Click Save or Save and Exit to apply changes.
Adding widget to custom ITSM essence
- From the Available box, move the Static Task Information SA widget to the Selected box.
- Click Save.
Configure the widget fields
The fields displayed in the Static Task Information SA widget are organized into rows and columns. The rows can have different number of columns. Each row, regardless of the number of the columns it has, takes the full width of the widget. If a field has no value, the 'not set' placeholder is displayed in the corresponding column.
To change the displayed fields and their layoutTo add the Static Task Information widget to a custom ITSM table, extended from the ITSM Task table, perform the following steps:
Open the custom table form.- In the hamburger menu Image Removed, select of the form where the widget is located, go to Configure → Form → Layout.
- From the Available In the Selected box, move select the Static Task Information widget you need to the Selected box.configure. А window with the Schema Option Values field appears on the right.
Specify the system names of columns you need to include in the widget. Format them as shown in the example below.
Schema option values[[
"priority"
,
"contact_type"
,
"service"
],[
"assignment_group"
,
"assigned_user"
]]
These settings result in a widget with three columns in the first row and two columns in the second row.
- Click Click Save.
Table of Contents | ||||||
---|---|---|---|---|---|---|
|