Versions Compared

Key

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

Widgets contain client and server logic, template, and styles, and for the real interaction, it is required to place an implemented widget on a specified object. In SimpleOne, you can place a widget on a record form or on a portal page.

Displaying a widget on a record form

...

Forms. generally, display a set of fields of various types, occasionally split for the sake of clarity. Forms also can include widgets

...

Info

For example, you are creating a widget to be displayed on records of all tables of the ITSM Task type (for example, Incidents, Change Requests, Problems, and so on). These tables are child tables for the ITSM Tasks table.

So, when you are creating a widget, select the ITSM Tasks table in the Table ID field and mark the Inheritance checkbox, and the widget will be available on records of all the tables child for the ITSM Tasks table (including this table itself).


Displaying a widget on a portal

...

Отображение виджетов на портале:

  1. Выбрать страницу портала, для которой необходимо настроить отображение какого-либо виджета (т.е. Page Column).
  2. Перейти на связанный список Widget Instances и создать новую запись, заполнив поля.

page

...

To place a widget on a portal page, use the Widget Instances. These elements help to define a specific location for the widget according to the portal column specified and to customize the widget options with the option schema.

  1. Navigate to Portal Structure → Page Columns.
  2. Choose a page column where the widget should be located.

      To create a widget instance, follow the steps below:

        1. Use a search bar in the title area or a Condition Builder to narrow down the selection.
      1. When the desired column is found, click on it and scroll down to the Related Lists area.
      2. In the Widget Instances tab, click New to create a new widget instance record
      3. Navigate to Portal Structure → Widget Instances.
      4. Click New and fill in the form.
      5. Click Save or Save and Exit to apply changes.
      Note

      You can also reach the Widget Instance form directly; for this, navigate to Portal Structure → WIdget Instances.

      The Widget Instance form

      FieldMandatoryDescription
      WidgetNClick the magnifier icon, and select a Widget you want to display from the list.
      ActiveNSelect this checkbox to make this widget instance active or inactive.
      PublicNIf selected, then this widget instance can be displayed on the Self-Service Portal.
      Page Column IDNClick the magnifier icon, and select a Portal Column you want to add a widget to. This field will be pre-filled if you reach this form from the Widget Instances related list.
      OrderN

      This field specifies the order of widgets location in a portal column.

      Fill in this field with the integer number to display the widgets by the value of this field increases. 

      When displaying a simple widget in a column, the order value does not matter.

      Option Schema ValuesNFill in the field with widget options overridden if it is necessary.

      ...