Create an IFrame widget
To create an IFrame widget, perform the following actions:
-
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.
Adding "IFrame" widget
-
-
Select the widget type - "IFrame".
-
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.
-
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 theexitCode
metric and иIP
property: -
-
Set whether to display this widget in the table and grid views.
-
Set the web-site’s content type, usually
text/html
. -
Press the
button.