====== Troubleshooting puzzle images when exporting N4V elements to Excel or PDF in SAP BusinessObjects Web Intelligence ====== //Anonymised summary of support ticket #778746 (2024-04-23)// ===== Symptom ===== When exporting N4V elements (Need4Viz extensions) to Excel or PDF from SAP BusinessObjects Web Intelligence, the output displays a generic puzzle image instead of the expected content. ===== Environment ===== %%N4V FOR WEBI (Need4Viz extensions for SAP BusinessObjects Web Intelligence) with Puppeteer module on a Linux server (e.g., RedHat). The N4V server requires access to the N4VCustomElements webapp URL defined in the config.js file to generate PNG files for PDF/Excel exports.%% ===== Resolution ===== - %%Verify Puppeteer version compatibility with the installed Node.js version. If Puppeteer version is > 5.5, uninstall it and install version 5.5.0 using: `npm uninstall puppeteer` followed by `npm install puppeteer@5.5.0 --save -g`.%% - Ensure Puppeteer has the correct permissions by running a recursive `chmod 777` on the Puppeteer folder. - Install missing system libraries required by Puppeteer as per the N4V installation guide (e.g., for RedHat systems). - %%Check if the N4V server can access the N4VCustomElements webapp URL by running `curl [N4VCustomElements_URL]` from the server. If access is denied, configure network settings (e.g., proxy, firewall) to allow the connection.%% - %%If a proxy is required, configure proxy settings in the environment variables (e.g., `http_proxy`, `https_proxy`) or in the `.bashrc` file for the N4V user.%% - %%Enable debug logging by setting `LogDebug: true` in the config.js file, restart services using `pm2 start all`, and review the logs in the Need4Viz/logs folder for connection errors.%% ===== Other resolution ===== %%The N4V server must have unrestricted access to the N4VCustomElements webapp URL to generate PNG files for PDF/Excel exports. If the server is behind a reverse proxy (e.g., IBM WebSEAL), ensure the server's IP is excluded from proxy authentication requirements.%%