<?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 set variables in section access? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519656#M194168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I got what you are saying.&lt;/P&gt;&lt;P&gt;For the section access below, I gave " if&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;QVUser&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()='ADMIN', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) "&amp;nbsp; in the both enable condition and in the layout condion for the button that I need to restrict. But when I logged in as "USER1", I am still able to see the buttion I added the condition. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Is there something I am missiong? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Section&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Access&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS, USERID, PASSWORD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, ADMIN, ADMIN&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, USER1, USER1,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, USER2, USER2&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Sep 2013 17:01:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-13T17:01:11Z</dc:date>
    <item>
      <title>How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519649#M194161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created my section access like below. I need to know how to set a variable in section access and value will be different for each user. &lt;/P&gt;&lt;P&gt;I will be using this value to evaluate while logging in and will display or hide some functionality to that user. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Section&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Access&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS, USERID, PASSWORD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, ADMIN, ADMIN&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, USER1, USER1,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, USER2, USER2&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 13:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519649#M194161</guid>
      <dc:creator />
      <dc:date>2013-09-13T13:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519650#M194162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really sure what you want achieve with these variables - variables have at one time always one value. Perhaps this is helpful for you: &lt;A href="https://community.qlik.com/docs/DOC-1853"&gt;Introduction to Section Access&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 13:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519650#M194162</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-09-13T13:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519651#M194163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you are looking for some like the attached.&amp;nbsp; You just need to add an additional field to your section access and then use this to drive a 'variable' (within the second table) which is used in the Conditional show of the sheets (or anywhere else the conditional show functionality exists or use it to drive a flag).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is as follows;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS, USERID, PASSWORD, SHEET&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, ADMIN, ADMIN, MS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, ADMIN2, ADMIN2, SS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;]; &lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;Profile:&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;SHEET, ThisRole&lt;/P&gt;&lt;P&gt;MS, 1&lt;/P&gt;&lt;P&gt;SS, 0]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know how you get on, but I think this is the correct answer - am I right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 14:26:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519651#M194163</guid>
      <dc:creator />
      <dc:date>2013-09-13T14:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519652#M194164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I want to restrict display of few buttons in my applications based on the type of user logging in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I am planning to display the button if the variable value corresponds to that particular user.&lt;/P&gt;&lt;P&gt;As you mentioned, I want to have constant value for that variable that determines the type of user logging in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 15:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519652#M194164</guid>
      <dc:creator />
      <dc:date>2013-09-13T15:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519653#M194165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve, thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This looks to be something similar. But as I mentioned before.&lt;/P&gt;&lt;P&gt;I want to restrict displaying Buttons in my applications based on the type of user logging in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems to be for displaying sheet.&lt;/P&gt;&lt;P&gt;Also, I don't see a conditional display for the text box. So, how it is identifying which user is logging in?&lt;/P&gt;&lt;P&gt;I guess you are having two sheet one for admin and another for admin2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 15:23:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519653#M194165</guid>
      <dc:creator />
      <dc:date>2013-09-13T15:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519654#M194166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use for this in the visibility-condition from the buttons:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(osuser() = 'x', true()) or if(qvuser() = 'x', true())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are many users you could also extend these expressions with a pick(match()) or you checked only parts from the user-id with string-functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 15:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519654#M194166</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-09-13T15:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519655#M194167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've slightly changed my example.&amp;nbsp; The Conditional Shows are available in several places, as described below;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sheet &amp;gt; Sheet Properties &amp;gt; Show Sheet - Conditional&lt;/P&gt;&lt;P&gt;Text Objects &amp;gt; Properties &amp;gt; Layout Tab &amp;gt; Show - Conditional&lt;/P&gt;&lt;P&gt;Buttons&amp;gt; Properties &amp;gt; Layout Tab &amp;gt; Show - Conditional&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To assign the users which button, you need to create an additional field.&amp;nbsp; In my example, I have created SHEET.&amp;nbsp; Therefore, should the users role be ADMIN sheet needs to be MS (or any other code you wish) and USER is SS (or again a code of your choosing).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These codes are used within the Profile Table (as Section Access fields cannot be used directly in your model as they are hidden).&amp;nbsp; Thus we have "ThisRole"&amp;nbsp; of 1 (for ADMIN) or 0 (for USER).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created two buttons, one for Role 1&amp;nbsp; ("ThisRole" = 1) and Role 0 ("ThisRole" = 0).&amp;nbsp; For Role 0, Under the Layout tab for the button I have entered the formula 'ThisRole = 0' which means unless your Role is 0, you will not see the button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense?&amp;nbsp; Let me know if you would like me to elaborate more or if this fixes it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 15:43:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519655#M194167</guid>
      <dc:creator />
      <dc:date>2013-09-13T15:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519656#M194168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I got what you are saying.&lt;/P&gt;&lt;P&gt;For the section access below, I gave " if&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;QVUser&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()='ADMIN', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) "&amp;nbsp; in the both enable condition and in the layout condion for the button that I need to restrict. But when I logged in as "USER1", I am still able to see the buttion I added the condition. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Is there something I am missiong? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Section&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Access&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS, USERID, PASSWORD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, ADMIN, ADMIN&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, USER1, USER1,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, USER2, USER2&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 17:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519656#M194168</guid>
      <dc:creator />
      <dc:date>2013-09-13T17:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519657#M194169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put qvuser() and osuser() in a textbox and you could see what qv returns and change your conditions - qvuser() returns only a value if section access with all required settings enabled and osuser() contains also the domain like domain\user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 19:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519657#M194169</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-09-13T19:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519658#M194170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you look at my second qvw example? Is this what you are looking for? You set the variable in the section access code and then when you log on as either ADMIN or ADMIN2 (I've set Admin2 up as a user) with same password as username, you will see a button. If you log in as other user, you will see another button. These are separate buttons which are viewable depending upon the ThisRole field which is dependent upon the SHEET field in section access. The hide button calculation is under the layout tab of the buttons properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SImple enough yeah? Let me know of you need any more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 19:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519658#M194170</guid>
      <dc:creator />
      <dc:date>2013-09-13T19:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519659#M194171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for following up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did see your example. I can understand you have two users.&lt;/P&gt;&lt;P&gt;1) Admin with Admin Access&lt;/P&gt;&lt;P&gt;2) Admin2 with User Access&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am not sure what your are referring as sheet in the "Section Access" and I am not sure why do we need to use it?&lt;/P&gt;&lt;P&gt;And in the "Section Application", you are assigning a role value for each sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it not possible to assign the role value in the "Section Access" it self? Why do we need to go for another step?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look for a possible way having your example as base.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 19:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519659#M194171</guid>
      <dc:creator />
      <dc:date>2013-09-13T19:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519660#M194172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sheet could be called anything, it's just a field to indicate a certain level of authorisation, as defined below. It's not necessarily per sheet, the name I've used clouds the solution. SHEET is just a field, it could be sales area, department, xxx, anything, whatever makes sense for you...call it button? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the two steps for two reasons;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) This allows for more complex and sophisticated scenarios, the example is a simple one.&lt;/P&gt;&lt;P&gt;2) I'm not sure just doing this in one step works. The section access is all hidden once a user accesses the report which&amp;nbsp; means the field you need disappears. But try this and let me know if one step works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know how you get on and let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 20:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519660#M194172</guid>
      <dc:creator />
      <dc:date>2013-09-13T20:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519661#M194173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering, did the above prove to be correct and solve your issue.&amp;nbsp; I hope it proved useful at least.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need it clarifying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 14:49:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519661#M194173</guid>
      <dc:creator />
      <dc:date>2013-09-16T14:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519662#M194174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your example was really helpful and in fact, I tried something similar for my logic and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my only issue here is, it is forcing me to create a separate table (to map section access users and their roles).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said before, there should be a way with the section access table alone. But I am yet to figure out appropriate solution for that. I will let you know once I derive that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raghuraman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 14:58:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519662#M194174</guid>
      <dc:creator />
      <dc:date>2013-09-16T14:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519663#M194175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am finding an issue with your approach.&lt;/P&gt;&lt;P&gt;Below is the script I added for Section access and additional table for role_number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For User1 and User2, I have uncheck "Edit Script" options in tab&amp;nbsp; "Settings" - &amp;gt; "Document Properties" -&amp;gt; "Security".&lt;/P&gt;&lt;P&gt;But still I am able to see the edit script icon in the tool bar and in the File menu options.&lt;/P&gt;&lt;P&gt;This is allowing User1 and User2 to edit the script if they can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to disable "Edit Script" icon for User1 and User2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Access&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS, USERID, PASSWORD, ROLE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, ADMIN, ADMIN, AD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, USER1, USER1, US1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, USER2, USER2, US2&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Section&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Application&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;Profile:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;ROLE, ROLE_NUMBER&lt;BR /&gt;AD, 0&lt;BR /&gt;US1, 1&lt;BR /&gt;US2, 2&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 15:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519663#M194175</guid>
      <dc:creator />
      <dc:date>2013-09-16T15:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519664#M194176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not at my machine at the moment but, as memory serves, you will find this setting under Document Properties &amp;gt; Security.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I'd really recommend that you move this script to a hidden tab that is password protected to ensure your security model cannot be compromised. (In your script go to file &amp;gt; create hidden script and enter a password twice).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarda&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 15:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519664#M194176</guid>
      <dc:creator />
      <dc:date>2013-09-16T15:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variables in section access?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519665#M194177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did that in the Documents Properties and unchecking the Edit Script option for USER.&lt;/P&gt;&lt;P&gt;But I am still able to see the icon when loged in as USER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hidden Script is an option to hide the section access, which I am doing now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 17:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-variables-in-section-access/m-p/519665#M194177</guid>
      <dc:creator />
      <dc:date>2013-09-16T17:04:35Z</dc:date>
    </item>
  </channel>
</rss>

