Frequently Asked Question

Exported N4V html files cannot be displayed in Sharepoint
Last Updated a year ago

Symptom

  • Need4Viz charts are correctly exported in HTML format in Microsoft Sharepoint library (WARNING: in online Sharepoint, the extension of N4V HTML file exported must be .aspx)
  • The exported file connot be embedded in an Iframe in a Sharepoint page

Reason and Prerequisites

Environment:

  • SAP BusinessObjects Business Intelligence Platform all versions
  • Need4Viz : all versions

Steps To Reproduce:

  1. In a Webi report, configure a new Need4Viz chart
  2. When validated, configure the chart to export it in a Sharepoint librabry as HTML (previous MSSP configuration has already been done and works well). WARNING: in online Sharepoint, the extension of N4V HTML file exported must be .aspx
  3. The chart is correctly exported
  4. Save and close the Webi report
  5. Create a new page in the Sharepoint site and include an IFrame
  6. Source the iframe with the previously N4V html file exported
  7. An error is displayed (file cannot be found)

Cause:

  • Custom scripts need to be activated on the site to enable the display of N4V file in an Iframe.

Solution

Open the admin console of your Sharepoint (https://your_sharepoint-admin.sharepoint.com) logged as site administrator.

Select the "Active sites"

image

Select the site where are exported the N4V elements and click on "Update" the Custom Scripts :

image

Select "Allow" :

image

Now you need to re-export the N4V components (previously exported HTML file will not be viewable).

New exported file are now correctly displayed in embedded Iframe (through "incorporation" object) :

image

Additional information: https://learn.microsoft.com/en-us/sharepoint/allow-or-prevent-custom-script

Please Wait!

Please wait... it will take a second!