<?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 Value of variable based on SectionAccess field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Value-of-variable-based-on-SectionAccess-field/m-p/1731177#M452291</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to hide or show specific sheets or objects in a QVW, based on a field in the SectionAccess file.&lt;/P&gt;&lt;P&gt;This is my UserAccess table in the SectionAccess file.&amp;nbsp;&amp;nbsp;I plan to set a variable in the QVW, based on the value of field STAFF, but I don't know how to access such field in the QVW.&amp;nbsp; The STAFF field is not part of the data model; it's only on the SA table.&lt;/P&gt;&lt;TABLE width="407"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="53"&gt;ACCESS&lt;/TD&gt;&lt;TD width="51"&gt;USERID&lt;/TD&gt;&lt;TD width="78"&gt;PASSWORD&lt;/TD&gt;&lt;TD width="85"&gt;NTACCOUNT&lt;/TD&gt;&lt;TD width="43"&gt;CO&lt;/TD&gt;&lt;TD width="53"&gt;SUPVID&lt;/TD&gt;&lt;TD width="44"&gt;STAFF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;USER&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;AM\USER1&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;USER&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;AM\USER2&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;USER&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;AM\USER3&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 18:18:20 GMT</pubDate>
    <dc:creator>wgonzalez</dc:creator>
    <dc:date>2024-11-16T18:18:20Z</dc:date>
    <item>
      <title>Value of variable based on SectionAccess field</title>
      <link>https://community.qlik.com/t5/QlikView/Value-of-variable-based-on-SectionAccess-field/m-p/1731177#M452291</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to hide or show specific sheets or objects in a QVW, based on a field in the SectionAccess file.&lt;/P&gt;&lt;P&gt;This is my UserAccess table in the SectionAccess file.&amp;nbsp;&amp;nbsp;I plan to set a variable in the QVW, based on the value of field STAFF, but I don't know how to access such field in the QVW.&amp;nbsp; The STAFF field is not part of the data model; it's only on the SA table.&lt;/P&gt;&lt;TABLE width="407"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="53"&gt;ACCESS&lt;/TD&gt;&lt;TD width="51"&gt;USERID&lt;/TD&gt;&lt;TD width="78"&gt;PASSWORD&lt;/TD&gt;&lt;TD width="85"&gt;NTACCOUNT&lt;/TD&gt;&lt;TD width="43"&gt;CO&lt;/TD&gt;&lt;TD width="53"&gt;SUPVID&lt;/TD&gt;&lt;TD width="44"&gt;STAFF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;USER&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;AM\USER1&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;USER&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;AM\USER2&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;USER&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;AM\USER3&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-of-variable-based-on-SectionAccess-field/m-p/1731177#M452291</guid>
      <dc:creator>wgonzalez</dc:creator>
      <dc:date>2024-11-16T18:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Value of variable based on SectionAccess field</title>
      <link>https://community.qlik.com/t5/QlikView/Value-of-variable-based-on-SectionAccess-field/m-p/1731704#M452317</link>
      <description>Fields which only belong to the Section Access table cannot be accessed or referred in the normal script. Only the reduction fields (those that do exist in the data model and establish which values can a user see) can be used.&lt;BR /&gt;&lt;BR /&gt;You will need to duplicate that field somewhere in the data model (e.g.: include an "Employee" table in the data model) or use a different approach. It's difficult to say more without knowing the use case for such field.</description>
      <pubDate>Wed, 29 Jul 2020 10:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-of-variable-based-on-SectionAccess-field/m-p/1731704#M452317</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2020-07-29T10:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Value of variable based on SectionAccess field</title>
      <link>https://community.qlik.com/t5/QlikView/Value-of-variable-based-on-SectionAccess-field/m-p/1734205#M452489</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; I loaded a copy of the user access table into the data model and got access to the fields.&amp;nbsp; I can now condition the display of specific sheets depending on the field STAFF.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 18:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-of-variable-based-on-SectionAccess-field/m-p/1734205#M452489</guid>
      <dc:creator>wgonzalez</dc:creator>
      <dc:date>2020-08-07T18:56:46Z</dc:date>
    </item>
  </channel>
</rss>

