<?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: Access issue in scripting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147814#M375429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This approach i am doing still in process. i created the excel data with all required USERS but how can i use concat() and match() functions and variables??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any sample code please provide &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 May 2016 20:51:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-05-25T20:51:12Z</dc:date>
    <item>
      <title>Access issue in scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147806#M375421</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;we are following agile methodology and have to complete a task within mentioned Iteration(15 days).so that what we did within the time the user able to check after the production done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now i am problem is regarding giving access to the particular user in scripting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below line using for giving access for number of users in Script.but here user can access when after the completion of production part(production will release once in a month).so the user has to wait for long time to access. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vBusinessUser = if(OSUSER()= 'id\companyid','Y'...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want instead of waiting for a month,is there is possibility to access the sheets(qlikview) irrespective of production release after refresh of Data on daily bases. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 17:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147806#M375421</guid>
      <dc:creator />
      <dc:date>2016-05-25T17:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Access issue in scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147807#M375422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Honestly, I haven't understood your approach to secure the document / scripting / sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you elaborate how the variable is used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, security can be controlled on a row level using section access:&lt;/P&gt;&lt;P&gt;&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;And here is a blog post about the different levels of security:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3762"&gt;Data Reduction – Yes, but How?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 19:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147807#M375422</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-25T19:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Access issue in scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147808#M375423</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;Sorry of this i am not able to explain properly.Below is the Script i given in Backend.here the below user can access the application fully.Its working properly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vBusinessUser = if(OSUSER()= 'USER1','Y',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(OSUSER()= 'USER2','Y',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(OSUSER()= 'USER3','Y',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(OSUSER()= 'USER4','Y',))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we release a updated apps once in a month for user.so whatever changes we done in app they can see after the app release(every month on 14th)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem is:&lt;/P&gt;&lt;P&gt;today i need to give a access for another user&amp;nbsp; USER5.if i add today the USER5 can access the application only after production release(next month 14th).the user has to wait long time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want now is if i add USER5 now he/she must have access from next day onwards(data will refresh daily.after refresh the USER5 has to access the app) instead of waiting till next month 14th in production.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 19:49:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147808#M375423</guid>
      <dc:creator />
      <dc:date>2016-05-25T19:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Access issue in scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147809#M375424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you just want to give access fo your document to specific users, then there are basically three methods you could use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Security inside the document&lt;/STRONG&gt;: through Section Access which is organized using script code, you can set permissions for some users to get in, for other users to get in with a limited view on specific data only, and for all others to be denied access. Unfortunately, changing your Load script means that you will be creating a new release of your document. And as a result, normal production schedules need to be applied (once in a month).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Security on file level&lt;/STRONG&gt;: you can also restrict access to your QlikView document by setting file level permissions that grant Read access to your document to some users, and no access at all to all other users. This is either done using NTFS permissions by a sysadmin, or using QlikView DMS permissions in the QMC by a QlikView admin. Maybe you can avoid the once-a-month publication schedule here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;No license = no access&lt;/STRONG&gt;: the third and simplest method to grant/deny access to a document is by assigning/revoking QlikView Client Access Licenses to/from specific users (in the QMC). This only works if the licenses used are document-specific (Doc CAL) and not coverall licenses (Named CAL). Again, if these management tasks can be executed at irregular intervals, you may be able to escape the once-a-month publication procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes a few things clear. If not, ask away.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 20:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147809#M375424</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-05-25T20:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Access issue in scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147810#M375425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you are asking about how your production release schedule should be changed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how we should answer this, since this is more like a process definition within your company?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 20:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147810#M375425</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-25T20:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Access issue in scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147811#M375426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That means that you should store the list with users that should be granted access in an external data source, like an Excel file or a database table. This table will be loaded as part of the normal load script execution during every reload cycle (once a day, multiple times a day?) and makes access management independent from whatever your production schedule (once-a-month) is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the&lt;SPAN style="font-family: 'courier new', courier;"&gt; concat()&lt;/SPAN&gt; and &lt;SPAN style="font-family: 'courier new', courier;"&gt;match()&lt;/SPAN&gt; functions, you can set your script variable and decide whether to show / hide specific stuff to the current user as identified by &lt;SPAN style="font-family: 'courier new', courier;"&gt;OSUser()&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that you - as security manager for this document - have access to the Excel file or database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 20:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147811#M375426</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-05-25T20:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Access issue in scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147812#M375427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its misunderstanding.i am not asking to change my production release date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am asking is there any other approach to do instead of above script.and Section access is not allowed &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 20:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147812#M375427</guid>
      <dc:creator />
      <dc:date>2016-05-25T20:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Access issue in scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147813#M375428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I misunderstood what you were asking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I believe Peter's suggested approach should offer a possible solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 20:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147813#M375428</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-25T20:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Access issue in scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147814#M375429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This approach i am doing still in process. i created the excel data with all required USERS but how can i use concat() and match() functions and variables??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any sample code please provide &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 20:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147814#M375429</guid>
      <dc:creator />
      <dc:date>2016-05-25T20:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Access issue in scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147815#M375430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes already i am working on this approach but in script i am bit confuse how to do &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 20:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147815#M375430</guid>
      <dc:creator />
      <dc:date>2016-05-25T20:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Access issue in scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147816#M375431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have any example code but I can create something here. Imagine that you have an Excel file with a single column called Users. Load the excel column into a table and concatenate all values into a single variable. Setting a flag in your script makes no sense as you will be checking the user that is doing the reload (probably a service account) Better use match() or wildmatch() in a Conditional Show expression to hide/show objects &amp;amp; sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;UserTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD Users FROM SecurityFile.xlsx (&lt;EM&gt;options&lt;/EM&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LET vAllowedUsers = ';' &amp;amp; concat(Users, ';') &amp;amp; ';';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now reload and put an expression like this in every conditional show field you want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;WildMatch('$(vAllowedUsers)', '*;' &amp;amp; OSUser() &amp;amp; ';*')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you cannot control access to your entire document with this method, but you asked for a better working script statement. See my other suggestions below for alternatives that do grant/deny access to your document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 21:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147816#M375431</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-05-25T21:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Access issue in scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147817#M375432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a minor correction, I think the LET statement is not working as intended, I would do it like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserTable:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ';' &amp;amp; Concat(Users,';') &amp;amp;';' as Users;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD Users INLINE [ //just to demo, use your excel table source as input table&lt;/P&gt;&lt;P&gt;Users&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Let vAllowedUsers = Peek('Users',0,'UserTable');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Wildmatch should work then.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 21:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147817#M375432</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-25T21:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Access issue in scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147818#M375433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you're right Stefan, sorry. Still no aggregation functions outside of LOAD statements, no matter how badly I want them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for correcting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 22:05:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147818#M375433</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-05-25T22:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Access issue in scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147819#M375434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Peter &amp;amp; Stefen for the suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will try this code and let you know &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 14:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-issue-in-scripting/m-p/1147819#M375434</guid>
      <dc:creator />
      <dc:date>2016-05-26T14:01:06Z</dc:date>
    </item>
  </channel>
</rss>

