Versions Compared

Key

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

Display widgets on records and tables forms to gain more functionality or for any other purpose.

To add a widget to a form, follow the steps below:

  1. Configure widget displayability before adding it to layout.
  2. Configure the options schema.

After all preparations are done, you can

description

PaneltitleTo

add a widget to a form. For this,

follow

please complete the steps below:

  1. Open the form you want to add a widget to.
  2. In the hamburger menu, select Configure →
Form
  1. Form → Layout.
  2. Add a
desired
  1. widget to
a
  1. form layout
.Configure the Widget options schema
  1. .
  2. Click Save to apply changes.

Configure a widget


Firstly, you need to configure a specified widget to make it available for adding. For this, please follow instructions provided in the Widgets Displaying article.

Add a widget to a form layout


On the form appeared, select a widget you want to add:

  1. Click on a desired widget from the Available box.
  2. Drag-and-drop or use form buttons to move the widget to the Selected box.
    Image RemovedImage Added

  3. Define a

    place of a

    widget position on the form with Image Modified

    or

    or Image Modified

     buttons

    buttons. Use

    the

    splitter elements to

    combine

    create the form structure

    .
    Image Removed

    . You can also drag-and-drop items between heapselect fields, and within a single field, instead of using buttons.

    Info

    See Form Layout to learn more about form layout configuration.

    Image Added

Configure the options schema


Use the Widget properties form Instance window to specify the widget options. Click on the widget while configuring the layout to call this window.

Image Added

Tip

See Portal widget option to learn more about widget configuring when adding a widget to a page or to a form.


Panel
titleTo configure the widget options schema, follow the steps below:
  1. In the
Options
  1. Schema Option Values field, enter the widget
attributes separated by a comma
  1. options in JSON format.
  2. Specify the desired

attribute
  1. widget option values, otherwise, the default values will be applied

.
  1. :


    Code Block
    languagejs
    titleJSON Example
    {
        "tableName": "itsm_incident",
        "condition": "state!=10"
    }


    Info

    The widget of each type has the following common Attributes

 along
  1.  along with the set of private attributes specified.

    See Portal

Widgets and Box widgets to
  1. SimpleTags and Box widgets to learn more.


  2. Click Save to apply the changes and leave the form configuration view.
Image Removed



Table of Contents
classfixedPosition