Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor

Getting currently field value in script

Hi everyone!

I'm trying to do a control access to QV. I used a section access like:

ACCESS     USERID     PASSWORD

ADMIN        xxx             xxx

USER          xxx             xxx

My idea is,before load the FACTS, try to put an IF sentence like: IF ACCESS='ADMIN' that load a part of the script ELSE the other part.

Any idea?

Regards.

1 Solution

Accepted Solutions
Highlighted
MVP
MVP

hm, section access is applied when opening the QVW, not when reloading.

You can try to check on user name when running the script using QVUser() or OSUser(), but not sure if this is what you want.

View solution in original post

3 Replies
Highlighted
MVP
MVP

hm, section access is applied when opening the QVW, not when reloading.

You can try to check on user name when running the script using QVUser() or OSUser(), but not sure if this is what you want.

View solution in original post

Highlighted
Master
Master

I think, you cannot add ACCESS='ADMIN' part before section access to restrict loading,

try something different way

Highlighted
Contributor
Contributor

It works!!

Thx u so much!!