SAP Knowledge Base Article - Public

3754748 - Image not displayed in file after exporting story in SAP Analytics Cloud (SAC)

Symptom

  • When exporting story i.e. to PDF the image that is displayed on the story page is not visible in the exported file. 
  • The image used is hosted outside of SAC for example as BW XXL InfoObject, Sharepoint.

Environment

SAP Analytics Cloud

Reproducing the Issue

  1. Log onto SAC
  2. Open story containing images
  3. Export the story i.e. to PDF 
  4. Notice that the image is not exported with the rest of the story

Cause

  • CORS is partially configured on system the image is hosted on for example: BW, SharePoint.
  • HTTP response does not include Access-Control-Allow-Origin header. 
  • The browser blocks the request at the redirect step before ever reaching the actual image.

Resolution

On the BW side:

  1. The BW Basis admin needs to extend the same CORS configuration that is already applied to GetServerInfo to also cover the GetXXLValue endpoint. Specifically, the response for /sap/bw/ina/GetXXLValue must include: 
    1. Access-Control-Allow-Origin: <tenant URL>
    2. Access-Control-Allow-Credentials: true
  2. After the server-side fix, in SAC append the parameter to the image URL:
    1. Append ?imageCrossOrigin=useCertifications to the URL of the BW XXL InfoObject

On SharePoint side:

Option 1: Use the direct file URL instead of the sharing link,:  <sharepointsharingURL>?imageCrossOrigin=useCertifications

Option 2: Contact SharePoint admin to configure CORS on the SharePoint tenant to allow origin from the SAC tenant URL. Note that Microsoft 365 SharePoint CORS support may be limited.

In the SAC story designer when setting the image URL (image widget or hyperlink), append the parameter to the end of the URL:

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, System, Data, User, Unable, Access, Connection, Sac, Connector, Live, Acquisition, Up, Set, setup, Model, BW, Connect, Story, Tenant, Import, Failed, Using, Working, SAML, SSO, sapanalyticscloud, sap analytical cloud, sap analytical cloud, SAC, sap analyst cloud, connected, failure, stopped, sap analyst cloud, predictive analytics (analysis), data analysis (analytics) tools, analytics tools, sap analytics cloud, data literacy, advanced analytics, data democratization, analytics software, real time analytics, self service analytics, advanced data analytics, analytics as a service, analytics cloud / cloud analytics, saas analytics, cloud bi, enterprise planning, cloud data analytics, cloud based analytics, analytics cloud platform, modern analytics, real time analysis, cloud analytics solution(s), what is sap analytics cloud, cloud analytics tools, analytics in the cloud, cloud analytics software epm, business intelligence, sap analyst cloud,sac hot news sac kba, pdf export, ptt export, no image , KBA , LOD-ANA-UNS-EXP , Unified Story PDF/PPT/Excel/CSV Export , Problem

Product

SAP Analytics Cloud 1.0