CRMJettyBack to crmjetty.comContact us
Menu
Docs / Guides

CRMJetty Portal

Works with
Docs / Dynamics 365

Dynamics 365 Customer Portalv6.3.0

Docs / Salesforce

Salesforce Customer Portalv6.3.0

Docs / Business Central

Business Central Portal

Guides / Widgets

How to Embed External Content with an IFrame

3 min readUpdated
Short answerIn Page Builder, add the IFrame widget to a grid and select its Settings icon. Paste the iframe embed code into Embedded Code, select Save, then publish the page.

The IFrame widget embeds another web page inside a portal page. Use it to show content from an external source, such as a map, a form, a booking tool or another web application, without portal users leaving the portal.

Before you start

Add the IFrame widget

  1. In the page layout editor, select the IFrame widget. It is added to the grid.
  2. Select the Settings icon on the widget. The configuration panel opens.
  3. In Embedded Code, paste the iframe embed code.
  4. Optionally, set the widget settings in the table below.
  5. Select Save.
  6. Publish the page.
IFrame widget configuration panel with iframe embed code pasted into Embedded Code and the HTML Class, HTML ID and Card View settings
IFrame widget configuration panel with iframe embed code pasted into Embedded Code and the HTML Class, HTML ID and Card View settings
IFrame widget configuration panel with iframe embed code pasted into Embedded Code and the HTML Class, HTML ID and Card View settings
Setting What it does
Embedded Code The iframe embed code of the content you want to show.
HTML Class Adds custom CSS classes to style the widget.
HTML ID Adds a unique ID. The portal adds the prefix custom- automatically.
Card View Displays the IFrame widget in a card-style layout.

To remove the widget, select its Delete icon in the page layout editor.

Important: Embed content only from sources you trust, and use https:// URLs. Content in an iframe runs from the other site, outside your portal’s control.

Tip: To set the size of the embedded content, change the width and height values in the embed code before you paste it.

When to use another widget

To show Use
A YouTube or other video The Video widget. See How to Embed Videos in a Portal Page.
A Power BI report The Power BI widget. See How to Embed Power BI Reports in the Portal.
Your own HTML, CSS and JavaScript A custom widget. See How to Build Custom Portal Widgets.

Troubleshooting

The IFrame widget is blank or shows a “refused to connect” message: The external site does not allow other sites to embed it. Check the site’s embed options, or link to it with a Button widget instead. See How to Add Buttons to a Portal Page.

Did this solve it?No, contact support