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 inquiries, incidents, problems, requests, and change requests forms. One of them is the Static User Information widget.
This widget retrieves information from the record referenced in the Caller field. By default, the following fields are displayed:
- Business Phone
- Mobile Phone
- Timezone
- Location
- Department
- Unit
- Work Schedule
Info |
---|
The Static User Information widget does not display empty fields. That is, if some fields in the Employee record are not filled, they will be hidden. |
Widget appearance
- User name – click on the user name to open a relevant record in the Employee table.
- Job title.
- Fields with available information.
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:
- Navigate to Portal Structure → Widgets.
- Open the record named Static User 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 'business_phone' for the Business Phone 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 Employee table, complete the following steps:
- Navigate to Organization → Employees.
- In the hamburger menu , select Configure → Table.
- 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.
Tip |
---|
You can also change the fields order by moving lines with their system names in the Server Script field. |
For example, we want to hide the phone numbers and add the name of the employee's manager. To do that we perform the steps described below. In the Server Script field, we make the following edits:
- deleting lines containing column names 'business_phone' and 'mobile_phone'
- adding a new line containing the system column name 'manager' from the Employee table
Section | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Adding widget to custom ITSM essence
To add the Static User 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 , select Configure → Form → Layout.
- From the Available box, move the Static User Information widget to the Selected box.
- Click Save.
Table of Contents | ||||||
---|---|---|---|---|---|---|
|