<?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: Button trigger action not working as expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Button-trigger-action-not-working-as-expected/m-p/952677#M526570</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was referring the Main sheet as Sheet # 1 and Sheet1 and Sheet # 2. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Dec 2015 18:16:05 GMT</pubDate>
    <dc:creator>sudeepkm</dc:creator>
    <dc:date>2015-12-17T18:16:05Z</dc:date>
    <item>
      <title>Button trigger action not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/Button-trigger-action-not-working-as-expected/m-p/952675#M526568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm facing an issue while using button action to navigate from one sheet to another and in between storing some selections into variables.&lt;/P&gt;&lt;P&gt;Given below is the scenario and example attached. Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the qvw you can find that I've two sheets. Each has a button to navigate from one to another.&lt;/P&gt;&lt;P&gt;When I go from Sheet 1 to Sheet 2 using button 2 I've actions set as below.&lt;/P&gt;&lt;P&gt;Set variable vSTS = getFieldSelections(status) // storing current selection of status field into a variable&lt;/P&gt;&lt;P&gt;Set variable vType= getFieldSelections(type) // storing current selection of type into a variable&lt;/P&gt;&lt;P&gt;Activate sheet = SH02 &lt;/P&gt;&lt;P&gt;Clear All&lt;/P&gt;&lt;P&gt;Select in Field = status = vSTS // Set field status value as stored in variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Sheet 2 when I'm coming back to Sheet 1 using button 1 then the action set are&lt;/P&gt;&lt;P&gt;Set variable vSTS = getFieldSelections(status) // store current selection of status into a variable&lt;/P&gt;&lt;P&gt;Activate sheet = SH01 &lt;/P&gt;&lt;P&gt;Clear All&lt;/P&gt;&lt;P&gt;Select in Field = type = vType // select field type value as stored in variable&lt;/P&gt;&lt;P&gt;Select in Field = status = vSTS // select field status value as stored in variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue:&lt;/P&gt;&lt;P&gt;I'm on Sheet 1 and I selected type = 'infra' and status='completed' and clicked on button 2.&lt;/P&gt;&lt;P&gt;On reaching sheet 2 I can see that the selected values are stored in the variable but the Select in Field (status) action has failed.&lt;/P&gt;&lt;P&gt;Similarly when coming back from Sheet 2 to Sheet 1 using button 1 this is not working as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: this may not be an issue using tab navigation. I've a workaround found to use a variable (variable event trigger) that gets set and in turn select the field values but that solution is not working in AJAX mode. Please check your solution to work in AJAX mode too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sudeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-trigger-action-not-working-as-expected/m-p/952675#M526568</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2015-12-17T17:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Button trigger action not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/Button-trigger-action-not-working-as-expected/m-p/952676#M526569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i do not see sheet 2, I see sheet 1 and main&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-trigger-action-not-working-as-expected/m-p/952676#M526569</guid>
      <dc:creator />
      <dc:date>2015-12-17T17:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Button trigger action not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/Button-trigger-action-not-working-as-expected/m-p/952677#M526570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was referring the Main sheet as Sheet # 1 and Sheet1 and Sheet # 2. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 18:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-trigger-action-not-working-as-expected/m-p/952677#M526570</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2015-12-17T18:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Button trigger action not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/Button-trigger-action-not-working-as-expected/m-p/952678#M526571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will this work - I do not think you need the variables (If I undertand what you are wanting to accomplish)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 18:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-trigger-action-not-working-as-expected/m-p/952678#M526571</guid>
      <dc:creator />
      <dc:date>2015-12-17T18:48:52Z</dc:date>
    </item>
  </channel>
</rss>

