How to deploy Puppeteer WebKit manually
To deploy Puppeteer manually for Bold Reports®, download the Chromium package for your operating system, extract it, and copy the folder into the wwwroot\puppeteer\Win64-901912 folder of the ASP.NET Core sample.
Puppeteer provides a high-level API to control Chrome or Chromium-based browsers. Bold Reports® needs this executable file to export data visualization report items. Without it, data visualization report items are not available in exported documents.
If you installed the build offline or skipped the packages during the build installation, install the Puppeteer Chromium packages manually from the following download links.
| Operating System | Download Link |
|---|---|
Windows 32-bit |
https://storage.googleapis.com/chromium-browser-snapshots/Win/901912/chrome-win.zip |
Windows 64-bit |
https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/901912/chrome-win.zip |
linux |
https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64/901912/chrome-linux.zip |
Installation for Windows:
When the download completes, extract the zip file, copy the chrome-win folder for Windows from the extracted location, and paste it in the following deploy location.
Install Location:
Place the copied chrome-win folder in the following location.
{Deployed Location}\Bold Reports\Embedded Reporting\Samples\ASP.NET Core\wwwroot\puppeteer\Win64-901912
Example:
C:\Users\Public\Documents\Bold Reports\Embedded Reporting\Samples\ASP.NET Core\wwwroot\puppeteer\Win64-901912\chrome-win\chrome.exe
Installation for Linux:
step 1 : When the download completes, extract the zip file, copy the chrome-linux folder for Linux from the extracted location, and paste it in the following deploy location.
Install Location:
Place the copied chrome-linux folder in the following location.
{Deployed Location}\Bold Reports\Embedded Reporting\Samples\ASP.NET Core\wwwroot\puppeteer\Win64-901912
Example:
C:\Users\Public\Documents\Bold Reports\Embedded Reporting\Samples\ASP.NET Core\wwwroot\puppeteer\Win64-901912\chrome-linux\chrome
step 2 : Run the following commands.
| Commands | Details |
|---|---|
sudo chmod -R a+rwx {application hosted path} |
Enable the executable permission for application hosted path, (example: sudo chmod -R a+rwx /var/) |
sudo apt-get install -y libgbm1 libxshmfence1 libx11-xcb1 libxcomposite1 libxcursor1 libxdamage1 libxi6 libxtst6 libnss3 libcups2 libxss1 libxrandr2 libasound2 libpangocairo-1.0-0 libatk1.0-0 libatk-bridge2.0-0 libgtk-3-0 |
Necessary dependencies for Puppeteer Installation |