https://www.youtube.com/channel/UCgQWl9J6OHOstFNPTKfLr5w
TABLE OF CONTENTS
-
PREPARE SERVER
-
PREPARE INSTALLATION FILES
-
INSTALL CONNECTOR
-
INSTALL EXTENSION
-
EDIT CONNECTOR CONFIGURATION FILE
-
ADD LICENSE INFORMATION
-
ADD ANALYTIC CONNECTION
-
ADD VIRTUAL PROXY
-
ADD SECURITY RULES
-
VALIDATE CONNECTOR IS RUNNING
-
SET THE SER CONNECTOR TO RUN AS A SERVICE
-
Confirm Qlik Sense Server version. November 2017 or later is required.
-
Please install the NET Core Runtime prior to this installation. Click to Download
-
Create the following sub-directories within your Qlik Share directories.
\Reporting
\Reporting\SERReports
- Unzip Sense Excel Reporting.zip to the \Reporting directory
- Execute InstallConnector.bat from the \Reporting directory.
-
Security keys will be created in the %appdata%\Roaming\senseexcel\reporting directory.
-
Restart Qlik Repository Services and all sub-processes.
Install the ser-ext-ondemand extension on the Qlik Sense server.
QMC> MANAGE RESOURCES > EXTENSIONS + Import + Choose File
\Reporting\Extension\ser-ext-ondemand.zip
In a typical installation, this file will not need to be changed.
In limited cases there may need to be changes to parameters such as directory paths or server identification parameters. For additional information consult the example file \Reporting\Connector\config.hjson.example.
If changes to this configuration are necessary, perform the following steps.
- Open the following file using Notepad or other text editor:
\Reporting\Connector\config.hjson.
- To update directory paths.
By default all directory paths are relative. If fixed directory paths are required they can be updated in the following parameters.
workingDir: %temp%\senseexcelreportingser
EnginePath: \Reporting\Engine\SenseExcelReporting.exe
cert: %appdata%\senseexcel\reporting\serconnector.pem
privateKey: %appdata%\senseexcel\reporting\serconnector_private.key
- To update Server identification parameters.
bindingHost: localhost
serverUri: https://localhost/ser
-
Save and close config.hjson file.
-
Restart SER Connector.
-
Restart Qlik Sense Repository Service and all sub-processes.
There are two steps to this process.
-
Create a license.txt file. Choose an approach from below based on your organization's Qlik Sense licensing strategy.
-
Create a content library on the QMC and upload the license.txt file
-
Open a new text file.
-
Copy and paste your LEF information.
-
Delete any spaces at end of each line.
-
Save file with name license.txt.
-
Open a new text file.
-
Copy and paste your LEF information.
-
Append the LEF information with the DOMAIN\user information for each user. See the example below.
-
The FROM:TO info is optional. This will put a start and end date on your specified users. Use the format YYYY-MM-DD.
-
Delete any spaces at end of each line.
-
Save file with name license.txt.
A Content Library needs to be added to the Qlik Sense server for license management services.
- QMC > Content Libraries > +Create New > senseexcel
- Check the Advanced Property on the right side of the screen.
In the Conditions Box add the value below
!user.IsAnonymous
-
Hit the Apply Button
-
Check the Contents Property under Associated Items
-
Upload the license.txt file.
This process creates a new Analytic Connection in the QMC to allow the Sense Excel Reporting processes to bind with the Qlik Sense Engine.
Define the name, Host, Port, Reconnect Timeout and Reg Timeout parameters. The name value IS CASE SENSITIVE and must be exactly SER.
QMC > MANAGE CONTENT > Analytic Connections > + Create New
Setting | Value |
---|---|
Name | SER |
Host | localhost |
Port | 50059 |
Reconnect Timeout | 30 |
Request Timeout | 30 |
In this section you will define a new Virtual Proxy and then link it to the Main Proxy. This process is done to allow user and session information to be securely communicated between the Sense Excel Reporting Engine and the Qlik Sense Server.
This operation MUST be done in a particular order.
Create the Virtual Proxy via the QMC’s Virtual Proxy menu first. To ensure that the links will work properly DO NOT utilize the Create New Virtual Proxy technique within the QMC Proxy Menu.
QMC > CONFIGURE SYSTEM > Virtual proxies > + Create new
Check the following Properties on the right side of your screen.
Identification
Authentication
Load Balancing
Advanced
Setting | Value |
---|---|
Description | ser |
Prefix | ser |
Session inactivity timeout | 30 |
Session cookie header name | X-Qlik-Session-ser |
Open the file %appdata%/senseexcel/reporting/serconnector.pem in a text editor.
Copy the full contents and paste them into the JWT certificate area shown below.
Setting | Value |
---|---|
Anonymous access mode | No anonymous user |
Authentication method | JWT |
JWT certificate | -----BEGIN CERTIFICATE----- |
JWT attribute for user ID | UserId |
JWT attribute value for user directory | UserDirectory |
Load Balancing nodes > Server node > +Add New Server node > Central
Host white list > Add New Value > YOUR SERVER NAME
This step is performed last to ensure that the link between the Central Proxy and the newly created ser Virtual proxy will work properly.
QMC > Proxies > Virual Proxies, Central (Default) > Associate Items > Virtual Proxies > SER > +Add > Link Existing > ser
These security rules are defined to allow the Sense Excel processes to interact properly with the Qlik Sense engine. All parameters are CASE SENSITIVE.
QMC > MANAGE RESOURCES > Security Rules > + Create new
Setting | Value |
---|---|
Name | _sharedcontent |
Description |
Setting | Value | |
---|---|---|
Resource Filter | SharedContent_* | |
Actions | Read, Update, Change Owner | |
User | name | = |
Value | YOUR QLIK USER NAME |
Setting | Value |
---|---|
Conditions | ((user.name="YOUR QLIK USER NAME")) |
Context | Both in hub and QMC |
Validate Rule > Add Rule
QMC > MANAGE RESOURCES > Security Rules > + Create new > SER License
Setting | Value |
---|---|
Name | SER License |
Create Rule from Template | Unspecified |
Disabled | Leave Unchecked |
Description |
Setting | Value |
---|---|
Resource Filter | License_* |
Actions | Read |
Add the below value manually into the Conditions table:
Setting | Value |
---|---|
Conditions | !user.IsAnononymous() |
Context | Both in hub and QMC |
Validate Rule > Add Rule
QMC > MANAGE RESOURCES > Security Rules > + Create new > SER Scheduler
Setting | Value |
---|---|
Disabled | Leave Unchecked |
Name | SER Scheduler |
Create Rule From Template | App Access |
Description |
Setting | Value |
---|---|
Resource Filter | App_* |
Actions | Read |
User | name |
Value | ser_scheduler |
AND | |
user | userDirectory = |
value | INTERNAL |
Setting | Value |
---|---|
Conditions | ((user.name="ser_scheduler" and user.userDirectory="INTERNAL")) |
Validate Rule > Add Rule
-
Execute the RunConnector.bat batch file from the \Reporting directory. Do not run as Administrator.
-
If the connector is running successfully, the console window will display the following text on the last line.
The Ser.ConAai.SSEtoSER service is now running, press Control+C to exit.
- Go to services.msc and restart the Qlik Repository Database Service. This will prompt for a restart of every Qlik service.
-
Open a command prompt.
-
Navigate to the \Reporting\Connector directory
-
Execute the following command dotnet SerConAai.dll action:install as Administrator
-
Open Services.msc
-
Change the owner of the “Qlik Connector for SER” to the This User account.
-
Use the same user account that is used to open your Qlik Sense services.
-
Restart the service.
-
Restart the Qlik Repository Service and all sub-processes.