This forum is for user/member-created articles across the entire Qlik portfolio. Any member that is logged in can create and publish an article here. You must choose the appropriate label in order for the articles to be properly categorized.
This tutorial illustrates how to create NPrinting reports from QlikView documents created with Section Access. Please refer to the official QlikView documentation which explains QlikView Section Access in detail very well.
The file C:\NPrintingTraining\QlikViewDocuments\SalesDemoSectionAccess.qvw contains this script at the beginning:
LOAD * INLINE [
ACCESS, USERID, PASSWORD, MAN ADMIN, ADMIN, ADMIN, *
USER, Elvis, Elvis, 2 USER, Helen, Helen, 9 ];
SECTION APPLICATION;
SALES:
LOAD * INLINE [
MAN, EmployeeID
2, 2
9, 9 ];
which creates section access with an admin and two users. Each user can see only his data because of the filter on EmployeeID.
The users and passwords are:
admin admin
Elvis Elvis
Helen Helen
N.B. NPrinting is not compatible with NT security in regards to recipients and associated filters, as things stand now.
QlikView NT security is based on Windows authentication, so it is not directly managed by QlikView. NT security checks the UserName of the user that is logged on the windows machine. This cannot be managed by NPrinting because the service does not log into the Window machine as a new user, so NT security access cannot be guaranteed to the NPrinting service.
It is necessary to remove NT security from the documents that is used by the NPrinting service to create reports.
If it's not possible we suggest you to create a copy of the QlikView document and save it on a protected folder.
Click on the Open icon on the File tab and browse to C:\NPrintingTraining\NPrintingFiles\NPrintingTraining.nsq and open it or if C:\NPrintingTraining\NPrintingFiles\NPrintingTraining.nsq is already listed under Recent Files, click directly on it.
Browse to C:\NPrintingTraining\QlikViewDocuments\ and:
Though this step is optional, it provides for more distinct, understandable file names
Click on the Save As icon to conclude template development.
Select the Section Access task in the list and click on the Run icon.
Please note the start of QlikView security with the Helen user, the start of Section Access, and the end of Section Access.
The two reports contain only the data pertinent to the recipient.
Hi, up at the top it says nt security can't work with this because it checks who is logged in. However, if I am logged in as ab\steve and ab\steve is on the section access list, would there be an angle for nprinting designer on my desktop be able to access that document? Same question if I have ab\nprint on the nprinting server's service account and ab\nprint on the section access list - named cals in place. (I tried just putting ab\steve into the user name box on the connection window, but it gives the connection error when I save and close to create the object list. Same connection works okay when disable the section access list. So I'm sure you're right, just instinct feels like there should be an angle if I'm logged in as me using nprinting designer on my desktop and I'm on the section access list.)
Can you suggest an alternate section access script that would work with nprinting, recognize users, and not require an additional password on accesspoint? (Accesspoint is setup so I'd put ab\steve and a password before I get to the index page, then freely see and access any documents with ab\steve on their section access list.)
Thanks!
Section Access;
LOAD * INLINE [
ACCESS, NTNAME
ADMIN, ab\qlik
ADMIN, ab\steve
ADMIN, ab\nprint
];
Section Application;