Skip to main content
All CollectionsUsing IT GlueManage Content
Support for embedded content in flexible assets
Support for embedded content in flexible assets
A
Written by Aiden Morris
Updated over a week ago

These instructions explain how to embed iframe code in flexible assets.

Using iframes, you can add and display web-based content that's hosted by other services, such as One Drive, Dropbox, and Lucidchart, in IT Glue. This offers you the opportunity to embed "live" content that will automatically update whenever the flexible asset is viewed.

Add a text box to a flexible asset type

Iframes require a text box field in a flexible asset, which can be added to the flexible asset type by a Manager or Administrator role.

  1. Navigate to Account > Flexible Asset Types.

  2. In the displayed list of flexible asset types, find the one you want to edit and click the pencil icon.

  3. On the next screen, scroll down, and click + New field at the bottom of the screen.

  4. Give the new field a name (such as"Network Diagram") and choose the field's attributes, selecting Textbox as the kind of field.

    Accounts___IT_Glue.png
  5. Click Save to save your changes to the flexible asset type.

Embedding iframe content in a flexible asset

To embed your third-party iframe code in a flexible asset:

  1. Make sure you follow the instructions for publishing your content that's recommended by the third-party platform. Any content will have to be published to the web first.

  2. Copy the <iframe> embed code provided by the third-party source. The example below is HTML code to embed a diagram from Lucidchart:

    Embed_Code_IT_Glue.png
  3. In IT Glue, open the flexible asset where you would like to embed the iframe code and click Edit.

  4. In the Network Diagram field, click the Embed Media icon.

  5. Paste the embed code and click the checkmark to save your changes.

    Edit_LAN___IT_Glue.png


After saving the flexible asset, the embedded HTML should be interactive. For example, you should be able to pan around the image within its window and click the + and buttons to zoom in and out.

Just to let you know, not all content will work as an iframe. This will require you to do some testing to know if the iframe content can be embedded in a useful way. If you have issues viewing your iframe content after it's published, you may have to disable third-party browser security extensions/add-ons, such as Privacy Badger.

For security reasons, IT Glue does not allow your iframe to contain any <script> tags.

Setting the frame size

If you need to enlarge the frame, check the resize options the third-party source provides. Otherwise, you can resize the frame that displays the embedded media by using standard HTML iframe properties.

Open the HTML source and look for width and height values inside the iframe tag. Change the values to get the frame size you want. For example:

<iframe width="100%" height="600px"

Save it and refresh the screen to see the frame size change.

Did this answer your question?