<?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 Text Object to not appear when selected in other sheet in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Text-Object-to-not-appear-when-selected-in-other-sheet/m-p/1983645#M81155</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have 2 buttons as Text Objects and several different sheets.&lt;/P&gt;
&lt;P&gt;The first button shouldn't appear on one of the other sheets, let say Sheet 2.&lt;/P&gt;
&lt;P&gt;I made it not appear, but when selected in the first sheet and then open Sheet 2 (with not clearing selectin) then the button still appears.&lt;/P&gt;
&lt;P&gt;This is my code -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=if(wildmatch(GetCurrentSelections(),'*buton1*'),0,1) and (vSheet1= 1 or vSheet3= 1 or vSheet4= 1 )&lt;/P&gt;
&lt;P&gt;So I've set the condition of all the other variables except the one of Sheet 2 and it works, the button doesn't appear.&lt;/P&gt;
&lt;P&gt;But when selected on Sheet1 then it appears on Sheet2 as well.&lt;/P&gt;
&lt;P&gt;Does somebody have an idea how to solve this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2022 12:40:22 GMT</pubDate>
    <dc:creator>LearnFreak</dc:creator>
    <dc:date>2022-09-21T12:40:22Z</dc:date>
    <item>
      <title>Text Object to not appear when selected in other sheet</title>
      <link>https://community.qlik.com/t5/App-Development/Text-Object-to-not-appear-when-selected-in-other-sheet/m-p/1983645#M81155</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have 2 buttons as Text Objects and several different sheets.&lt;/P&gt;
&lt;P&gt;The first button shouldn't appear on one of the other sheets, let say Sheet 2.&lt;/P&gt;
&lt;P&gt;I made it not appear, but when selected in the first sheet and then open Sheet 2 (with not clearing selectin) then the button still appears.&lt;/P&gt;
&lt;P&gt;This is my code -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=if(wildmatch(GetCurrentSelections(),'*buton1*'),0,1) and (vSheet1= 1 or vSheet3= 1 or vSheet4= 1 )&lt;/P&gt;
&lt;P&gt;So I've set the condition of all the other variables except the one of Sheet 2 and it works, the button doesn't appear.&lt;/P&gt;
&lt;P&gt;But when selected on Sheet1 then it appears on Sheet2 as well.&lt;/P&gt;
&lt;P&gt;Does somebody have an idea how to solve this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 12:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-Object-to-not-appear-when-selected-in-other-sheet/m-p/1983645#M81155</guid>
      <dc:creator>LearnFreak</dc:creator>
      <dc:date>2022-09-21T12:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object to not appear when selected in other sheet</title>
      <link>https://community.qlik.com/t5/App-Development/Text-Object-to-not-appear-when-selected-in-other-sheet/m-p/1984136#M81201</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This sounds wild. What do you mean with two buttons as text objects? And what do you mean by not appearing? Is this QlikView maybe?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you have a field that contains e.g. 'button1' as a value. Selecting that should show the button on some sheets, but not all.&lt;/P&gt;
&lt;P&gt;So whenever you select 'button1' the first part of the condition will be true:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=if(wildmatch(GetCurrentSelections(),'*button1*'),0,1)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now the second part has me confused again. What are the vSheet variables? How do you set them?&lt;/P&gt;
&lt;P&gt;You could use only one variable vSheet and update its value each time you open a sheet (if you use multiple browser tabs this will cause issues). So for the second part of the condition say:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;... and vSheet &amp;lt;&amp;gt; 2&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The condition will be true as long as 'button1' is selected and you are not on sheet 2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Johannes&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 09:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-Object-to-not-appear-when-selected-in-other-sheet/m-p/1984136#M81201</guid>
      <dc:creator>Dolphin</dc:creator>
      <dc:date>2022-09-22T09:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object to not appear when selected in other sheet</title>
      <link>https://community.qlik.com/t5/App-Development/Text-Object-to-not-appear-when-selected-in-other-sheet/m-p/1984543#M81235</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I fixed the problem &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Yes, it is in QlikView.&lt;/P&gt;
&lt;P&gt;I just added Clear in field in the Sheet 2 properties, in Action, and I put the value of the selection of Button 1 and it worked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;KR&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 07:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-Object-to-not-appear-when-selected-in-other-sheet/m-p/1984543#M81235</guid>
      <dc:creator>LearnFreak</dc:creator>
      <dc:date>2022-09-23T07:03:38Z</dc:date>
    </item>
  </channel>
</rss>

