meta data for this page
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
- Create a dedicated document library in SharePoint Online to store N4V exports.
- Export N4V components from Webi as HTML files. For SharePoint Online, rename the file extension from '.html' to '.aspx' to bypass security restrictions.
- Create a new SharePoint page and add an 'Embed' web part.
- 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>
- For dashboards requiring interactivity between components:
- a. Create a main HTML page (renamed to .aspx) that includes all N4V components and their JavaScript interactions.
- b. Upload this main page along with all dependent N4V exports to the SharePoint document library.
- 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.