Create an IFrame widget

To create an IFrame widget, perform the following actions:

  1. Open a widgets window:

    • in the end view press the button on the breadcrumbs panel;

    • in the standard view of the parent object, hover over an object and press the icon.

      widgets
      Adding "IFrame" widget
  2. Select the widget type - "IFrame".

  3. Select the object, metrics and properties that are passed to the web site that should be displayed in the widget. By default, the window select an object, where you are trying to create the widget.

  4. Put the web-site URL in the Source field.

    You can pass the following variables to the source web-site URL:

    • {{id}} - ID of the object, connected to the widget;

    • {{userId}} - ID of the current user;

    • {{userLogin}} - username of the current user;

    • {{userEmail}} - email of the current user;

    • {{property.property_name}} - metric in the entity connected to the widget,

    • {{metric.widget_name}} - metric in the entity connected to the widget.

    The following example displays the page with the URL example.com to which the system passes the object’s ID and values of the exitCode metric and и IP property:

  5. Set whether to display this widget in the table and grid views.

  6. Set the web-site’s content type, usually text/html.

  7. Press the Add button.