<?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 use a variable defined in the frontend during partial reload? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-use-a-variable-defined-in-the-frontend-during-partial/m-p/1816985#M66880</link>
    <description>&lt;P&gt;I assume your wanted variable-evaluation isn't possible - at least not within QlikView. In similar cases I use two variables - one with the UI expressions and another one in which a macro write the UI result as a value. It's not very nice and requires in some cases a double-reload but it's working for my scenarios.&lt;/P&gt;&lt;P&gt;I don't know if you could do something similar in Sense - the essential point is you need to store the variable-value in any way - maybe by storing it within another table - or the calculation must be performable within the script.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jun 2021 13:21:00 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2021-06-22T13:21:00Z</dc:date>
    <item>
      <title>How to use a variable defined in the frontend during partial reload?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-variable-defined-in-the-frontend-during-partial/m-p/1816910#M66869</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I try to use a variable from the frontend to define the path of the file, I want to reload during a partial reload. The variable works fine, when I use it to write edited values into the file (I use the VizLib Writeback extension), but then during the reload, I don't manage to get the variable properly evaluated.&lt;/P&gt;&lt;P&gt;The script always uses the formula as a string and then of course, this leads to not finding the file.&lt;/P&gt;&lt;P&gt;I tried setting another variable by assigning the variabel (Let vPathToQvd = vPathToManualUpdatedNetplanConfig;) but then vPathToQvd contains only the string&amp;nbsp;&lt;/P&gt;&lt;P&gt;'If(GetPossibleCount(%PK_NETPLAN) = 1, vPathToBasicFolder &amp;amp; MaxString(PATH_TO_FOLDER) &amp;amp; ''/SAP/'' &amp;amp; Max([%PK_NETPLAN]) &amp;amp; ''_NETPLAN_CONFIG_2021.QVD'',&amp;nbsp;Null())'&lt;/P&gt;&lt;P&gt;I tried assigning the variable as Let vPathToQvd = $(vPathToManualUpdatedNetplanConfig), but then the script fails with "unexpected token (".&lt;/P&gt;&lt;P&gt;Does anybody have an idea how to overcome this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 08:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-variable-defined-in-the-frontend-during-partial/m-p/1816910#M66869</guid>
      <dc:creator>dirk_fischer</dc:creator>
      <dc:date>2021-06-22T08:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a variable defined in the frontend during partial reload?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-variable-defined-in-the-frontend-during-partial/m-p/1816985#M66880</link>
      <description>&lt;P&gt;I assume your wanted variable-evaluation isn't possible - at least not within QlikView. In similar cases I use two variables - one with the UI expressions and another one in which a macro write the UI result as a value. It's not very nice and requires in some cases a double-reload but it's working for my scenarios.&lt;/P&gt;&lt;P&gt;I don't know if you could do something similar in Sense - the essential point is you need to store the variable-value in any way - maybe by storing it within another table - or the calculation must be performable within the script.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 13:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-variable-defined-in-the-frontend-during-partial/m-p/1816985#M66880</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-06-22T13:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a variable defined in the frontend during partial reload?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-variable-defined-in-the-frontend-during-partial/m-p/1817500#M66965</link>
      <description>&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;thank you for your feedback. I found that with QlikSense November 2020 accessing frontend variables during partial reload is possible. But it looks like the variable does not pass the result of a formula to the script, only the formula itself.&lt;/P&gt;&lt;P&gt;However, if you set the variable with an action like the button object is providing, then the variable value is available in the script during the partial reload. In my specific setup, I use a VizLib filter object to select a value&amp;nbsp; and add the action set variable to the filter. Then I can set the variable with the correct value, which is then available as a string in the script during a partial reload.&lt;/P&gt;&lt;P&gt;I can even use another action to intiate a partial reload, which in my case is an advantage, because then I can load only the datasets, I want to edit in another table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 05:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-variable-defined-in-the-frontend-during-partial/m-p/1817500#M66965</guid>
      <dc:creator>dirk_fischer</dc:creator>
      <dc:date>2021-06-24T05:20:34Z</dc:date>
    </item>
  </channel>
</rss>

