Section access
You can configure section access in Qlik NPrinting when generating reports from QlikView documents or Qlik Sense apps. Section access support is handled differently for local connections, and for server and cluster connections.
Qlik NPrinting uses the domain account matched to the Qlik NPrinting user to apply section access during report creation. The domain account must have section access assigned before the publish task runs. Users with incorrect section access will receive an error saying that report generation failed.
Section access adds performance overhead to task executions, such as publish tasks. The Qlik NPrinting Server must create connections for each report recipient that has section access. If a report has many recipients, your task executions might slow down significantly.
You can use Qlik NPrinting filters instead of section access to reduce task execution time. For information about creating filters, see Filters.
Connecting to local QlikView documents with section access
Do the following:
- Open the Apps drop-down list, and then select Connections.
- Click Create connection.
- Enter a Name for the connection.
- Enter a description (optional).
- Select an App from the drop-down list.
- Ensure the Source is set to QlikView.
- Select Local in the document Type.
- Enter the complete path to reach the .qvw in the Document path field.
- Ensure the Connection requires authentication check box is selected.
-
Enter the Username and Password.
- Click Create.
Connecting to QlikView Server and QlikView Cluster connections
Prerequisites for QlikView Server and QlikView Cluster connections
To generate reports using QlikView Server or QlikView Cluster connections, the following are required:
- Access to at least one QlikView Server.
- The Windows user that runs the Qlik NPrinting Engine Windows service must belong to the QlikView Administrators Windows group on the QlikView Server computer.
- To configure Qlik NPrinting for NTFS authorization, it must be configured in the Qlik Management Console. This means that the Windows operating system controls the file (document) access for users and groups through the NTFS security settings.
- To configure Qlik NPrinting for DMS authorization QlikView controlled file access, see DMS for Qlik NPrinting.
If you are using section access as well, the following are also required:
- Connections must be configured to use server authentication.
- A domain account must be configured in user settings, independent of the authentication type enabled in the Qlik NPrinting general settings.
Creating a new connection to a server document
Do the following:
- Open the Apps drop-down list, and then select Connections.
- Click Create connection.
- Enter a Name for the connection.
- Select an App from the drop-down list.
- Ensure the Source is set to QlikView.
- Select Server in the document Type.
- Enter the complete path to reach the .qvp in the qvp:// field.
- Ensure the Connection requires authentication check box is selected
- Select Server authentication and enter the Identity.
- Click Create.
Creating a new connection to a cluster document
Do the following:
- Open the Apps drop-down list, and then select Connections.
- Click Create connection.
- Enter a Name.
- Select an App from the drop-down list.
- Ensure the Source is set to QlikView.
- Select Cluster in the document Type
-
Enter the cluster Address, Cluster ID and Document name.
The cluster address and ID can be found in the Qlik Management Console under System > Setup. The cluster address is in the Management service > Summary tab. The cluster ID can be found by selecting the QVWS server under QlikView Web Servers, and the ID is in the Name field of the General tab.
- Ensure the Connection requires authentication check box is selected.
-
Enter the server authentication Identity.
- Click Create.
User configuration
Do the following:
- Open the Admin drop-down list, and then select Users.
- Click the Name of the user that needs to receive reports with section access applied.
-
Configure the Domain account field with a valid user that has access to the document.
- Click Save.
Connecting to Qlik Sense apps with section access
Requirements
-
The Qlik Sense app and individual app objects must be published. For more information, see Publishing.
-
All report recipients must have permission to access the Qlik Sense app.
-
Section access must be configured accurately in the load script.
Report recipients that have section access must have rights to export data, or the report creation fails for these users. In such cases, you can replace section access with Qlik NPrinting filters and security roles to give specific users the right to export data and publish reports.
Since Qlik NPrinting must create connections for each report recipient that has section access, using the filters and security roles instead of section access reduces task execution time. For information about creating filters, see Filters.
Do the following:
-
Create a new connection to a Qlik Sense app or open an existing one.
For more information, see Creating connections.
- Select the Apply user section access for reports check box to apply section access for the selected Identity.
- Click Create or Save to confirm.