Versions Compared

Key

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

The View Form Urgency Field Editor widget provides information about the is a portal widget, in which the caller can see 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 edit it.

Info

The Urgency can only be changed if the ticket state is Registered, Assigned, Authorization, In Progress, Information Needed, Postponed, External Processing

You can specify if the phone number and the warning message should be displayed. You can also edit the texts and translations for the widget.

This widget is related to the urgency Urgency column of the the Incidents (itsm_incident) and Requests (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) tables and the tables extended from them.


Widget appearance


  1. Tooltip A tooltip that explains  contains the funcionality of Urgency to the user. definition of urgency.
  2. Current ticket urgency.
  3. The button that allows users to change the ticket urgency.

The Change button opens selection of Click Change to set a new value for the ticket urgency:.

If the urgency is set to If the Very High , the users see additional option is selected, a warning message appears:

The Specify the phone number is defined by the value of in the system property itsm.notification.contact.phone.


Add widget to a portal page


To place a widget on a portal page, use the Widget Instances (sys_widget_instance) table. These elements define a specific location of widgets according to the portal column specified, and customize the widget options with the option schema.

To configure widget displaying, complete the steps below:

  1. Navigate to Portal Structure → Widget Instances.
  2. Click New to create a new widget instance record.
  3. Fill in the fields.
  4. Select the "View Form Urgency Field Editor" in the Widget field.
  5. Enter the widget options in JSON in the Schema option values
  1. field.
  2. Specify Order, select the Active and Public checkboxes.
  3. Click Save or Save and Exit to apply the changes. 

Schema option values of View Form Urgency Field Editor widgetYou can configure the following options for the widget:

OptionDescriptionPossible values
phoneSelect Specify if the phone number should be displayed when the urgency Urgency is set to Very High.true, false
isShowWarningSelect Specify if the warning message should be displayed when the urgency Urgency is set to Very High.true, false
sourceMessageSpecify the source message displayed in the warning message before the phone number."
  • To change the translations, add Custom warning message for urgency widget
" if you want to change translation, "
  • To use the default message, add Сontact us in any available way to confirm the information
" if you want to use the default value


Code Block
languagexmljs
titleExample of schema option values for View Form Urgency Field Editor Widget
{"phone": "true", "isShowWarning": "true", "sourceMessage": "Custom warning message for urgency widget"}


Table of Contents