<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Qlik Sense - If a story/sheet/image/pdf export does not work and custom themes are used in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-If-a-story-sheet-image-pdf-export-does-not-work-and/ta-p/1778467</link>
    <description>&lt;H4&gt;Environment&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Qlik Sense&amp;nbsp;All versions&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Description&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;In Qlik Sense, when if you export some stories to PDF/PPTX you might sometime have some issue like image no appearing.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the Printing logs doesn't help to figure out the issue it might be needed to add a feature in the Printing config file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Resolution&lt;/H3&gt;
&lt;DIV class="lia-message-template-resolution-zone"&gt;
&lt;P&gt;Modify the printing config file to get more details in the&amp;nbsp;System_Printing_rwr.txt log.&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-message-template-resolutionSub-zone"&gt;
&lt;OL&gt;
&lt;LI&gt;Edit C:\Program Files\Qlik\Sense\Printing\&lt;STRONG&gt;printing.exe.config&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Add below setting in file&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;!-- 
=====================================
    Sense rendering configuration
=====================================
--&amp;gt;​
&amp;lt;add key="webrenderer-args" value="-l=trace" /&amp;gt;&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Save and close the file.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Restart Qlik Sense services.&lt;/LI&gt;
&lt;LI&gt;Repeat on each node that has a running Qlik Sense Printing service.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Troubleshooting&lt;/H3&gt;
&lt;P&gt;You will now have more information in log SERVERNAME_System_Printing_rwr.txt &lt;BR /&gt;&lt;BR /&gt;In the below example, we do see there is a custom Theme (XTheme) and the format is invalid, and after that there is a timeout:&lt;/P&gt;
&lt;DIV class="code panel"&gt;
&lt;DIV class="codeContent panelContent"&gt;
&lt;PRE&gt;[2021-01-27 10:26:19.013001] successfully downloaded resource from GRPC, size in bytes: 59396, url: https://qlik.net/extensions/XTheme/Cond_Regular.ttf 
[2021-01-27 10:26:19.013966] PaintHandler::OnResourceLoadComplete url=https://qlik.net/extensions/XTheme/Cond_Regular.ttf  bytes=59396 response_status=OK 
[2021-01-27 10:26:19.068861] CefOnPaintReceivedTask img=worker_1_3w_imgidx_002_navid__rid_bdcc1e7a49dd43b5b2f0cf37074e3b3c state=WATERMARKED INVALID 
[2021-01-27 10:26:19.068868] CefOnPaintReceivedRwrCefTaskPixelWatermark::~CefOnPaintReceivedRwrCefTaskPixelWatermark 
[2021-01-27 10:26:19.089326] CefOnPaintReceivedTask img=worker_1_3w_imgidx_002_navid__rid_bdcc1e7a49dd43b5b2f0cf37074e3b3c state=WATERMARKED INVALID 
[2021-01-27 10:26:19.089331] CefOnPaintReceivedRwrCefTaskPixelWatermark::~CefOnPaintReceivedRwrCefTaskPixelWatermark 
[2021-01-27 10:26:42.461485] it timeout for js_timeout_counter=1 img=worker_1_1w_imgidx_000_navid__rid_3a88eaeb2d1d4b60a2c5d323195d325e &lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In this example, the problem is coming from some box-shadow and/or margin and/or padding containing in this Theme.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since the theme is the source of the issue, the solution if the you want to keep the dashboard style is to overwrite the problematic style entry with a following entry with increased specificity (more detailed CSS tag matches).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance, if the box-shadow element is the one causing the issue, you could add to the theme CSS the second section below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;.qv-object .qv-inner-object {

border: 1px solid lightgray;

box-shadow: 1px 1px 5px lightgray;

}

.printing-snapshot-content-v2 .qv-object .qv-inner-object,

.printing-live-content .qv-object .qv-inner-object {

-webkit-box-shadow: none;

-moz-box-shadow: none;

box-shadow: none;

}

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is an example which may work or may not work, you will need to analyze which styles causes export issues, box-shadow is one candidate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The workaround is always based on this approach though, regardless of the style. The "side-effect" is that the exported PDF/image won't have the box shadow style.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt; that&amp;nbsp;&lt;SPAN&gt;Printing is not guaranteed to work with custom themes (Qlik Sense does not provide printing support for custom themes).&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2022 19:01:03 GMT</pubDate>
    <dc:creator>Benoit_C</dc:creator>
    <dc:date>2022-05-10T19:01:03Z</dc:date>
    <item>
      <title>Qlik Sense - If a story/sheet/image/pdf export does not work and custom themes are used</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-If-a-story-sheet-image-pdf-export-does-not-work-and/ta-p/1778467</link>
      <description>&lt;H4&gt;Environment&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Qlik Sense&amp;nbsp;All versions&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Description&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;In Qlik Sense, when if you export some stories to PDF/PPTX you might sometime have some issue like image no appearing.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the Printing logs doesn't help to figure out the issue it might be needed to add a feature in the Printing config file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Resolution&lt;/H3&gt;
&lt;DIV class="lia-message-template-resolution-zone"&gt;
&lt;P&gt;Modify the printing config file to get more details in the&amp;nbsp;System_Printing_rwr.txt log.&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-message-template-resolutionSub-zone"&gt;
&lt;OL&gt;
&lt;LI&gt;Edit C:\Program Files\Qlik\Sense\Printing\&lt;STRONG&gt;printing.exe.config&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Add below setting in file&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;!-- 
=====================================
    Sense rendering configuration
=====================================
--&amp;gt;​
&amp;lt;add key="webrenderer-args" value="-l=trace" /&amp;gt;&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Save and close the file.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Restart Qlik Sense services.&lt;/LI&gt;
&lt;LI&gt;Repeat on each node that has a running Qlik Sense Printing service.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Troubleshooting&lt;/H3&gt;
&lt;P&gt;You will now have more information in log SERVERNAME_System_Printing_rwr.txt &lt;BR /&gt;&lt;BR /&gt;In the below example, we do see there is a custom Theme (XTheme) and the format is invalid, and after that there is a timeout:&lt;/P&gt;
&lt;DIV class="code panel"&gt;
&lt;DIV class="codeContent panelContent"&gt;
&lt;PRE&gt;[2021-01-27 10:26:19.013001] successfully downloaded resource from GRPC, size in bytes: 59396, url: https://qlik.net/extensions/XTheme/Cond_Regular.ttf 
[2021-01-27 10:26:19.013966] PaintHandler::OnResourceLoadComplete url=https://qlik.net/extensions/XTheme/Cond_Regular.ttf  bytes=59396 response_status=OK 
[2021-01-27 10:26:19.068861] CefOnPaintReceivedTask img=worker_1_3w_imgidx_002_navid__rid_bdcc1e7a49dd43b5b2f0cf37074e3b3c state=WATERMARKED INVALID 
[2021-01-27 10:26:19.068868] CefOnPaintReceivedRwrCefTaskPixelWatermark::~CefOnPaintReceivedRwrCefTaskPixelWatermark 
[2021-01-27 10:26:19.089326] CefOnPaintReceivedTask img=worker_1_3w_imgidx_002_navid__rid_bdcc1e7a49dd43b5b2f0cf37074e3b3c state=WATERMARKED INVALID 
[2021-01-27 10:26:19.089331] CefOnPaintReceivedRwrCefTaskPixelWatermark::~CefOnPaintReceivedRwrCefTaskPixelWatermark 
[2021-01-27 10:26:42.461485] it timeout for js_timeout_counter=1 img=worker_1_1w_imgidx_000_navid__rid_3a88eaeb2d1d4b60a2c5d323195d325e &lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In this example, the problem is coming from some box-shadow and/or margin and/or padding containing in this Theme.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since the theme is the source of the issue, the solution if the you want to keep the dashboard style is to overwrite the problematic style entry with a following entry with increased specificity (more detailed CSS tag matches).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance, if the box-shadow element is the one causing the issue, you could add to the theme CSS the second section below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;.qv-object .qv-inner-object {

border: 1px solid lightgray;

box-shadow: 1px 1px 5px lightgray;

}

.printing-snapshot-content-v2 .qv-object .qv-inner-object,

.printing-live-content .qv-object .qv-inner-object {

-webkit-box-shadow: none;

-moz-box-shadow: none;

box-shadow: none;

}

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is an example which may work or may not work, you will need to analyze which styles causes export issues, box-shadow is one candidate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The workaround is always based on this approach though, regardless of the style. The "side-effect" is that the exported PDF/image won't have the box shadow style.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt; that&amp;nbsp;&lt;SPAN&gt;Printing is not guaranteed to work with custom themes (Qlik Sense does not provide printing support for custom themes).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 19:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-If-a-story-sheet-image-pdf-export-does-not-work-and/ta-p/1778467</guid>
      <dc:creator>Benoit_C</dc:creator>
      <dc:date>2022-05-10T19:01:03Z</dc:date>
    </item>
  </channel>
</rss>

