Creating a web widget
You can embed an external URL within a widget and save the widget independently as a web widget. When you preview or publish the widget, it displays the website or web application within the widget itself and not in a separate browser window. You cannot add widget-level filters or save this widget as a template. For the dashboard-level filters to work, you need to specify the filter names in the URL. You must enter the filter name within curly brackets in the URL at an appropriate location, based on the URL syntax.
Before you begin
- If you want to set a background image for the web widget, then ensure that the image is already available on your computer.
- Ensure that the website does not have any IFrame restrictions and can be embedded within
Designer tool and other websites. To view the IFrame
restrictions, you must check the response header of the external URL. If the
Network tab displays any of the following options, then the website cannot be
embedded:
X-Frame-Options: deny X-Frame-Options: sameorigin X-Frame-Options: allow-from https://example.com/
- You can add URLs that start with
http
orhttps
only.For example,
http://www.example.com
- If you want to add one or more dashboard-level filters to the widget, then you must specify the filter names in the URL itself. You must be aware of the valid filter parameters that can be used to filter the website.
About this task
After you log in to the Dashboard Designer, you can create web widgets by using any of the following options on the landing page:
- Click CREATE COMPONENTS, then in the Create Components page, click WIDGETS.
- Click the Expand
icon to open the left navigation pane of Dashboard Designer, and click .
Procedure
To embed a website or web application in a widget, complete the following steps:
Results
What to do next
- Publish the web widget.
For more information, see Publishing custom widgets.
- Use the web widget in a dashboard and set master-listener or drill-down relation.
For more information, see Creating a dashboard.