Use iFrame to Embed Analytics Content into an Application or Web Page

You can embed your analytics content into an application or web page by adding the target analytics content's URL into an application or portal's iFrame. For example, you can use this method to embed analytics content into Microsoft Teams.

Note:

If you need an integrated way to embed analytics content, then use the JavaScript embedding framework. This method provides greater flexibility than the iFrame embedding method. See Typical Workflow to Use the JavaScript Embedding Framework with Oracle Analytics Content.
Before you perform this task, confirm that you've registered the domain that you want to embed your analytics content into as a safe domain. See Register an Application as a Safe Domain.
If you need to manually build the URL, for example to create a URL that includes parameters, be sure to properly escape any characters. All special characters in the URL need to be URL-encoded. For example, use %2C to encode commas and %20 to encode spaces.
  1. On the Home page, click Navigator, and then click Catalog.
  2. Locate the item that you want to embed and click Actions. Click Open.
  3. Go to the browser's address bar and copy the item's URL. These are examples of URLs:
    • Report - http://example.com/analytics/saw.dll?PortalGo&path=%2Fshared%2FRevenuehttp://example.com/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FSaled%2FSales%20by%20Brand

    • Dashboard - http://example.com/analytics/saw.dll?Dashboard&PortalPath=%2Fshared%2FSales%2F_portal%2FQuickStart&page=Top%20Products

    • Workbook - http://example.com/ui/dv/home.jsp?pageid=visualAnalyzer&reportmode=full&reportpath=%2Fshared%2FMySalesWorkbook

    • Canvas - https://example.com:8080/ui/dv/?pageid=visualAnalyzer&reportmode=full&reportpath=%2F%40Catalog%2Fusers%2Fadmin%2FOAC%20Demo%20Samples%2FCost%20Management%20Analytics%20copy&canvasname=canvas!2.

      For Oracle Analytics Cloud, see Share a Workbook URL with a Specific Canvas Selected in Visualizing Data and Building Reports in Oracle Analytics Cloud.

      For Oracle Analytics Server, see Share a Workbook URL with a Specific Canvas Selected in Visualizing Data in Oracle Analytics Server.

  4. Alternatively, manually build and then copy the URL to insert into an iFrame.
    This is an example of how to construct a URL containing parameters:
    https://example.com/ui/dv/ui/project.jsp?pageid=visualAnalyzer&reportmode=full&reportpath=%2F%40Catalog%2Fshared&p1n=pCustomerSegment&p1v=Corporate&p2n=pCity&p2v=Bristol%2CCardiff%2CAustin
  5. Open the target application or portal, locate an iFrame, and paste the analytics content's URL into it.