Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
NPrinting on-demand does not recognize Section Access for the user who generated the report. The reason is that the Service Account opens the dashboard, and applies the selections the user had. Since the Service Account and the user can have different permissions, the data reduction is not passed through when generating the report.
A great resource for how to work around this is at this link: https://community.qlik.com/docs/DOC-8935
The gist of the article is that you can build a table within the dashboard using the Section Access file, and use it to generate a recipient list with the associated filters in NPrinting, then use the run task extension object instead of the run report object. The user who runs it will have their filter applied, which is effectively the same as the Section Access.
I found some potential issues/difficulties with the method in the article:
What I realized is that we can use some of the techniques from the article, and keep using the Run Report object to generate the reports. Instead of using a task and utilizing the filters within the NPrinting client, we can use the Filters tab on the Run Report object. Since the filters are assigned the name of the user, we can use the OSUser() function (just as the article outlines to assign the recipient) to call the filter. We still need to import the recipients, because that is what generates the filters, but we won’t use the recipient list – just the filter list.
A few points about the filters:
I hope you find this helpful!
Daniel,
Thanks so much for writing up this very comprehensive guide.
One thing to note is that this is for NPrinting 16.
NPrinting 17 has a totally different way of managing section access and some of the functionality in 17 is also significantly different (no NSQ files...).