<?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>topic Re: How to insert HTML tags in HTML reports by variable in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1654060#M27264</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i think this should be discussed with R&amp;amp;D as lack of compatibility between v16 and 17+.&amp;nbsp;&lt;BR /&gt;If values of variables, formulas etc are passed on template differently in those versions then any attempt of migration will not be successful. Ehat do you think?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;lech&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2019 12:39:28 GMT</pubDate>
    <dc:creator>Lech_Miszkiewicz</dc:creator>
    <dc:date>2019-12-04T12:39:28Z</dc:date>
    <item>
      <title>How to insert HTML tags in HTML reports by variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1652672#M27224</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I want a generate list like this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Apple&lt;/LI&gt;&lt;LI&gt;Banana&lt;/LI&gt;&lt;LI&gt;Orange&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I created a variable to include a message in the body of the email.&lt;BR /&gt;SET vList = = Concat (Aggr ('&amp;lt;li&amp;gt;' &amp;amp; MYFIELD &amp;amp; '&amp;lt;/li&amp;gt;', MYFIELDAGGR));&lt;/P&gt;&lt;P&gt;In the HTML report, I created the following structure:&lt;BR /&gt;&amp;lt;ul&amp;gt; %% vList %% &amp;lt;/ul&amp;gt;&lt;/P&gt;&lt;P&gt;In NP 16 it worked perfectly, generating the list, like above.&lt;/P&gt;&lt;P&gt;In NP 19 april, in the output file, the tags &amp;lt;li&amp;gt;;&amp;lt;/li&amp;gt;, were converted to &amp;amp;lt;li&amp;amp;lt;/&amp;amp;&lt;/P&gt;&lt;P&gt;Does anyone know how to prevent NP when generating the HTML file to do this conversion?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 20:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1652672#M27224</guid>
      <dc:creator>MarcoRaymundoKeyrus</dc:creator>
      <dc:date>2020-03-17T20:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert HTML tags in HTML reports by variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1652777#M27227</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/76806"&gt;@MarcoRaymundoKeyrus&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this. If you use the variables inside the report itself using the list tags it works :&lt;/P&gt;
&lt;P&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;ul&amp;gt;&lt;BR /&gt;&amp;lt;li&amp;gt;%%vQuarterMinusTwo%%&amp;lt;/li&amp;gt;&lt;BR /&gt;&amp;lt;li&amp;gt;%%vHyperlink%%&amp;lt;/li&amp;gt;&lt;BR /&gt;&amp;lt;li&amp;gt;%%vSalesman%%&amp;lt;/li&amp;gt;&lt;BR /&gt;&amp;lt;/ul&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="list in NPrinting report.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24680iA025D17E26EC0929/image-size/medium?v=v2&amp;amp;px=400" role="button" title="list in NPrinting report.PNG" alt="list in NPrinting report.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 17:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1652777#M27227</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2019-11-29T17:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert HTML tags in HTML reports by variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1653637#M27246</link>
      <description>&lt;P&gt;Thanks Frank!&lt;/P&gt;&lt;P&gt;Your approach solves when the variable results in a row.&lt;BR /&gt;My variable results in more than one line, something like:&lt;BR /&gt;=Concat (CITY, ',') -&amp;gt; City_1, City_2.&lt;BR /&gt;I need to use show the result as an HTML list using the &amp;lt;ul&amp;gt; &amp;lt;li&amp;gt; tags.&lt;BR /&gt;I tried with the variable (qlikview) and as an expression (nprinting), in both nprinting converts the characters "&amp;lt;,&amp;gt;" into their respective special codes: "&lt;SPAN&gt;&amp;amp;lt;&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;amp;gt;&lt;/SPAN&gt;".&lt;BR /&gt;As a result the tags are not interpreted.&lt;/P&gt;&lt;P&gt;Try this: In HTML report, Create a nprinting expression ='&amp;lt;b&amp;gt;BOLD TEXT&amp;lt;/b&amp;gt;'. Show the report.&lt;/P&gt;&lt;P&gt;I believe that in NP 16 there was no conversion of expressions and variables before inserting them in the html report. That apparently in NP 19 this conversion occurs.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 14:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1653637#M27246</guid>
      <dc:creator>MarcoRaymundoKeyrus</dc:creator>
      <dc:date>2019-12-03T14:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert HTML tags in HTML reports by variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1653725#M27248</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/76806"&gt;@MarcoRaymundoKeyrus&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you do what I did and show your work using snapshots?&lt;/P&gt;
&lt;P&gt;Show an NP 16 (working example) and NP 19 (not working example) or visa versa.&lt;/P&gt;
&lt;P&gt;I'm not sure I am following completely at this point any longer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Detail steps to reproduce the issue and snapshots will help me to visualize what you are experiencing here. Also show how it was working in the past.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 18:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1653725#M27248</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2019-12-03T18:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert HTML tags in HTML reports by variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1653838#M27251</link>
      <description>&lt;P&gt;Follow the steps:&lt;/P&gt;&lt;P&gt;This is my variable in the qvw file:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="NP19_HTMLCode_2.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24874i14778104DE6C7A42/image-size/large?v=v2&amp;amp;px=999" role="button" title="NP19_HTMLCode_2.PNG" alt="NP19_HTMLCode_2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This my html report (NP19 april):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="NP19_HtmlCode.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24875iD0A79E2F54240316/image-size/large?v=v2&amp;amp;px=999" role="button" title="NP19_HtmlCode.PNG" alt="NP19_HtmlCode.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Report generated:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="NP19_HTMLCode_3.PNG" style="width: 583px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24876i1D50E60C0A8C24DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="NP19_HTMLCode_3.PNG" alt="NP19_HTMLCode_3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Report&amp;nbsp;generated (code):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="NP19_HTMLCode_4.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24877iA63C25AA9B950A9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="NP19_HTMLCode_4.PNG" alt="NP19_HTMLCode_4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;The qvw file, expression, and html report are the same as I used with NP16. Which rendered the report "correctly".&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 21:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1653838#M27251</guid>
      <dc:creator>MarcoRaymundoKeyrus</dc:creator>
      <dc:date>2019-12-03T21:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert HTML tags in HTML reports by variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1653859#M27253</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you have a look at this situation?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 22:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1653859#M27253</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2019-12-03T22:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert HTML tags in HTML reports by variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1653864#M27254</link>
      <description>&lt;P&gt;This seems to behave as designed.. all objects (except table) use html encoding&lt;/P&gt;&lt;P&gt;If you want to pass text (without encoding) you may want to create a straight table, put your variable in it and use it as a source. In NPrinting desigenr table properties you would have an option to turn on/off encoding.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 22:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1653864#M27254</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2019-12-03T22:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert HTML tags in HTML reports by variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1654027#M27257</link>
      <description>&lt;P&gt;I tested your tip and it worked.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 11:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1654027#M27257</guid>
      <dc:creator>MarcoRaymundoKeyrus</dc:creator>
      <dc:date>2019-12-04T11:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert HTML tags in HTML reports by variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1654029#M27258</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48712"&gt;@Frank_S&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your attention and help, they were instrumental in solving my problem.&lt;/P&gt;&lt;P&gt;Hugs!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 11:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1654029#M27258</guid>
      <dc:creator>MarcoRaymundoKeyrus</dc:creator>
      <dc:date>2019-12-04T11:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert HTML tags in HTML reports by variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1654038#M27259</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I did many tests this morning and the only way that I found that works (in the meaning that &amp;lt; and &amp;gt; are kept and not replaced) is by inserting them directly in the HTML code of the template.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tested variables, formulas and straight table columns. In all cases the &amp;lt; and &amp;gt; are replaced and the report will be not correct.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The workaround could be to create a straight table with the content of the formula without the &amp;lt;li&amp;gt; in a column, add that table in the Levels node and add the &amp;lt;li&amp;gt; tags directly in the template.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="level.png" style="width: 867px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24902i3AD8B0485D28A152/image-size/large?v=v2&amp;amp;px=999" role="button" title="level.png" alt="level.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 11:52:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1654038#M27259</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2019-12-04T11:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert HTML tags in HTML reports by variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1654048#M27263</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;BR /&gt;I tested your tip and it worked correctly.&lt;BR /&gt;I think it's a good technique to keep HTML code more flexible and easy to understand.&lt;/P&gt;&lt;P&gt;This information is very useful.&lt;/P&gt;&lt;P&gt;Congratulations!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 12:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1654048#M27263</guid>
      <dc:creator>MarcoRaymundoKeyrus</dc:creator>
      <dc:date>2019-12-04T12:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert HTML tags in HTML reports by variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1654060#M27264</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i think this should be discussed with R&amp;amp;D as lack of compatibility between v16 and 17+.&amp;nbsp;&lt;BR /&gt;If values of variables, formulas etc are passed on template differently in those versions then any attempt of migration will not be successful. Ehat do you think?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;lech&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 12:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1654060#M27264</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2019-12-04T12:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert HTML tags in HTML reports by variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1654086#M27265</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yes, it could be a problem for a migration, but, maybe, the wrong way of working is the one of QlikView NPrinting 16. I mean if the content of a QlikView variable is placed in the HTML report without any "analysis" it could contain a script that will be executed. So it must be managed carefully.&lt;/P&gt;
&lt;P&gt;In any case, the R&amp;amp;D is aware of this behaviour &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 13:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-insert-HTML-tags-in-HTML-reports-by-variable/m-p/1654086#M27265</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2019-12-04T13:18:48Z</dc:date>
    </item>
  </channel>
</rss>

