Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
The View Form Urgency Field Editor widget is a portal widget that provides information about the current ticket Urgency and a mechanism for editing theUrgency field of the tickets on the portal. The adminisrator can select if phone number and warning should be visible, and change translations of the the widget.
This widget is related to the urgency column of the itsm_incident and itsm_request tables. It is also available for the entities from itsm_incident_task and itsm_request_task tables.Find more information about how to place a widget to the portal in the Add Widget to Form article.
Widget appearance
- Tooltip that explains the funcionality of Urgency to the user.
- Current ticket urgency.
- The button that allows users to change the ticket urgency.
The Change button opens selection of the ticket urgency:
If the urgency is set to Very High, the users see additional warning message:
The phone number is defined by the value of the system property itsm.notification.contact.phone.
Add widget to a portal page
To add the widget to a portal page, complete the following steps:
Schema option values
- Navigate to Portal structure → Pages. Find the required page, open the task container to which you need to add the widget, open the required row and column from the related lists.
- Click New in the Widget Instances related list.
- Select the "View Form Urgency Field Editor" in the Widget field.
- Configure Schema option values. Enter the widget options in JSON.
- Specify Order, select Active and Public checkboxes if necessary.
- Click Save to apply the changes.
Schema option values of View Form Urgency Field Editor widgetYou can configure the following options for the widget:
Option | Description | Possible values |
---|---|---|
phone | Select if the phone number should be displayed when the urgency is set to Very High. | true, false |
isShowWarning | Select if the warning should be displayed when the urgency is set to Very High. | true, false |
sourceMessage | Specify the source message displayed in the warning before the phone number. | "Custom warning message for urgency widget" if you want to change translation, "Сontact us in any available way to confirm the information" if you want to use the default value. |
Code Block | ||||
---|---|---|---|---|
| ||||
{"phone": "true", "isShowWarning": "true", "sourceMessage": "Custom warning message for urgency widget"} |