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
- Log onto SAC
- Open story containing images
- Export the story i.e. to PDF
- 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:
- 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:
- Access-Control-Allow-Origin: <tenant URL>
- Access-Control-Allow-Credentials: true
- After the server-side fix, in SAC append the parameter to the image URL:
- 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:
- If URL has no query params (no ? in URL): https://server.com/path/image.jpg?imageCrossOrigin=useCertifications
- If URL already has query params (already has ?): https://server.com/path/image.jpg?param=value&imageCrossOrigin=useCertifications
See Also
- KBA 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- KBA 2487011 - What information do I need to provide when opening a case for SAP Analytics Cloud?
- KBA 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- SAP Analytics Cloud Connection Guide
- SAP Analytics Cloud Get More Help and SAP Support
- Need More Help? Contact Support
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
SAP Knowledge Base Article - Public