Web Items

Web Items allow you to add a button to a specific location in the UI. You can use web items to:

  • Redirect users to another location

  • Display content from other websites

  • Automate functionality

Use web items

The HTML, CSS and Javascript has to be hosted somewhere that Confluence can access. We recommend CodePen for the hosting. It’s also important to note that the hosting must serve up the matching content-type header for each file.

  1. From the main Confluence left side menu, select Settings.
    Table View
  2. Select Script Fragments, under ScriptRunner.
  3. Click on Create Script Fragment

  4. Select the Space where you want the fragment to appear. 

  5. For Fragment TypeWebItem.

  6. Select the Location that you want the item to appear in.

  7. Select either the Render External or HtmlCssJs for Rendering Mode.

    Render External links a webpage to your web item and displays it in a pop-up box where the web item is located.

    HtmlCssJs allows you to inject an HTML URL, CSS, and JavaScript into your button.

    1. If you select Render External, add your Target URL

    2. If you select HtmlCssJs, add your HTML URL, CSS URL, or JavaScript URL.

  8. Click Save Changes.


On this page