<?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 can I debug while scripting on pixelperfect? in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644534#M26893</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/79506"&gt;@mperezra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide more clear and specifi detailed information about your requirement.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Step to reproduce your requirement&lt;/LI&gt;
&lt;LI&gt;Expected results&lt;/LI&gt;
&lt;LI&gt;Actual results&lt;/LI&gt;
&lt;LI&gt;And additional information you can provide to clarify your requirement.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Kind regards...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Nov 2019 23:42:19 GMT</pubDate>
    <dc:creator>Frank_S</dc:creator>
    <dc:date>2019-11-07T23:42:19Z</dc:date>
    <item>
      <title>How can I debug while scripting on pixelperfect?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644230#M26876</link>
      <description>&lt;P&gt;Hi Guys, I am trying to write some scripts in Nprinting pixel perfect, and I have the beforePrint function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;private void Tabla_Detalle_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {

}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to know the content of "sender" and "e", is there any way to get it?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 11:53:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644230#M26876</guid>
      <dc:creator>mperezra</dc:creator>
      <dc:date>2019-11-07T11:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I debug while scripting on pixelperfect?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644534#M26893</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/79506"&gt;@mperezra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide more clear and specifi detailed information about your requirement.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Step to reproduce your requirement&lt;/LI&gt;
&lt;LI&gt;Expected results&lt;/LI&gt;
&lt;LI&gt;Actual results&lt;/LI&gt;
&lt;LI&gt;And additional information you can provide to clarify your requirement.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Kind regards...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 23:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644534#M26893</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2019-11-07T23:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can I debug while scripting on pixelperfect?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644668#M26898</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Your request is completely clear to me and, unfortunately, not there is not a way to debug PixelPerfect scripts in the Qlik NPrinting Designer.&lt;/P&gt;
&lt;P&gt;In case of errors during a PixelPerfect report preview you will see error messages on the screen.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 08:32:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644668#M26898</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2019-11-08T08:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can I debug while scripting on pixelperfect?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644674#M26899</link>
      <description>&lt;P&gt;I am using pixel perfect report, and I have this table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23189i665A80855113BF4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With this result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 947px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23193iC37B7001B14B8CD7/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In some cases, [Imp_menor_a_003] (the red square, that label is a cell with data that I have in Qlik Sense) is zero, so I want to hide all the ReportFooter band in this cases, cause I generate the report evey 15 days with different data.&lt;/P&gt;&lt;P&gt;For this, I want to use Scripts, so I click on "new" in Before print section.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23194iE37E6B116FF22EF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This creates a new function in Scripts:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23195i20D0257072B03CF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this point, I want to know the content of Object "sender" and "e", is there any way to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for your reply.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 08:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644674#M26899</guid>
      <dc:creator>mperezra</dc:creator>
      <dc:date>2019-11-08T08:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I debug while scripting on pixelperfect?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644683#M26900</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;So, I think you don't need a script to conditionally hide that ReportFooter.&lt;/P&gt;
&lt;P&gt;First, the ReportFooter is the footer of the whole report, instead in your template it is used as a GroupFooter. So first of all I suggest to remove the ReportFooter and replace with the related GroupFooter.&lt;/P&gt;
&lt;P&gt;Then the field&amp;nbsp;&lt;SPAN&gt;[Imp_menor_a_003] is a percentage so it is calculated as [Num]/[Den] to be correct in the footer.&amp;nbsp;[Imp_menor_a_003] will be 0 only if Num is zero. You could add a formatting rule to the GroupFooter band with a condition that checks if the Num is zero (all fields used in the Condition must be part of the Level where the formatting rule is applied):&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Condition Editor.png" style="width: 914px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23196i192E1047A84EECC4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Condition Editor.png" alt="Condition Editor.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When the condition is met you set Visible to No:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Visible.png" style="width: 770px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23197iA26FF91AE63075D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Visible.png" alt="Visible.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Ruggero&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 08:58:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644683#M26900</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2019-11-08T08:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I debug while scripting on pixelperfect?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644696#M26901</link>
      <description>&lt;P&gt;I use Formatting Rules in others sections, and works fine, but in this case, it doesn't work&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23200i8FAAE24483C49CFD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I want to learn how scripts works, for use it in another reports.&lt;/P&gt;&lt;P&gt;There are any function to pop up a text, msgBox or something similar?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and&amp;nbsp;regards.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 09:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644696#M26901</guid>
      <dc:creator>mperezra</dc:creator>
      <dc:date>2019-11-08T09:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I debug while scripting on pixelperfect?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644709#M26902</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You are still using a ReportFooter in a place where a GroupFooter is required. I don't know if this generates a different value of the percentage.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Be sure that the comparison is done with two equals symbols ==. I cannot see if they are two or one in the screenshot.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I saw the 0 in previous screenshot but be sure it is 0 and not 0.something.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A message box or similar is a nonsense in a template. Qlik NPrinting will create reports by using server process, without a graphical user interface. If you need to see the results to check them I suggest to place a cell in the template and remove it when you are ok.&lt;/P&gt;
&lt;P&gt;In general developing scripts is a long and complex process, so I suggest to use built in features when they are available.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 09:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644709#M26902</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2019-11-08T09:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can I debug while scripting on pixelperfect?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644715#M26903</link>
      <description>&lt;P&gt;In last screenshot I changed from a ReportFooter to GroupFooter , the formating rule should use only one "=", its working in other sections of my report. I will try to verify that my cell is 0 exactly.&lt;/P&gt;&lt;P&gt;Thanks for your replies.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 10:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-can-I-debug-while-scripting-on-pixelperfect/m-p/1644715#M26903</guid>
      <dc:creator>mperezra</dc:creator>
      <dc:date>2019-11-08T10:04:20Z</dc:date>
    </item>
  </channel>
</rss>

