How to integrate N4V dashboards into SharePoint Online

Anonymised summary of support ticket #190537 (2023-04-26)

Symptom

N4V HTML exports cannot be directly embedded in SharePoint Online due to security restrictions. JavaScript-based interactions between N4V components are blocked when using standard embedding methods.

Environment

N4V for Webi (exported HTML components), SharePoint Online, SAP BusinessObjects BI 4.2 SP9 Patch 3

Resolution

  1. Create a dedicated document library in SharePoint Online to store N4V exports.
  2. Export N4V components from Webi as HTML files. For SharePoint Online, rename the file extension from '.html' to '.aspx' to bypass security restrictions.
  3. Create a new SharePoint page and add an 'Embed' web part.
  4. Insert an iframe tag in the embed section pointing to the .aspx file in the document library. Example: <iframe src='[SharePoint-library-path]/[dashboard-name].aspx' width='100%' height='600px'></iframe>
  5. For dashboards requiring interactivity between components:
  6. a. Create a main HTML page (renamed to .aspx) that includes all N4V components and their JavaScript interactions.
  7. b. Upload this main page along with all dependent N4V exports to the SharePoint document library.
  8. c. Embed the main .aspx page in a SharePoint page using the iframe method.

Other resolution

Note: SharePoint Online restricts direct JavaScript execution in embedded content. Using .aspx files ensures compatibility while preserving N4V interactivity.