-
Notifications
You must be signed in to change notification settings - Fork 3
Full Implementation
The instructions below contain the complete implementation instructions. If you have already implemented the Basic Installation from the README file, then skip to the Advanced Installation section below.
These steps will get you started quickly to explore the Multilingual Sampler application. After implementing this, you may want to consider implementing the Advanced Installation so that you can update/modify the strings and/or use the test users for testing user language preference settings.
- Qlik Sense Server (or Desktop) Sept/2017 Release or higher.
- Access to QMC, to upload helper widgets and modify connection string.
- Download the Sampler Repository ZIP file
- Unzip the contents to a directory accessible to QMC or Desktop.
- Import Qlik Sense application & widget from zip file using one of the methods below.
Method 1: Qlik Sense Server -
- From QMC: Apps -> Import - "Your_Unzip_Path\app\Multilingual & Multi Tenant-Department Sampler.qvf"
- From QMC: Extensions -> Import - "Your_Unzip_Path\app\LanguageHelperWidgets.zip"
Method 2: Qlik Sense Desktop -
NOTE: You will not be able to implement the user language preferences testing steps using Qlik Sense Desktop.
- Copy "Your_Unzip_Path\app\Multilingual & Multi Tenant-Department Sampler.qvf" to "\Documents\Qlik\Sense\Apps"
- Unzip "Your_Unzip_Path\app\LanguageHelperWidgets.zip" to "\Documents\Qlik\Sense\Extensions"
- Restart Qlik Sense Desktop (if necessary).
There are two optional steps to have a full implementation of this sampler, these steps enable you to update the language strings as well as test user language preferences using groups (Qlik Sense Server ONLY). Please follow either (or both) of these steps to complete your implementation of this sampler.
This implementation step allows you to update the application with new language strings as well as add data to the application (including data translations).
- Qlik Sense Server (or Desktop) Sept/2017 Release or higher.
- Access to QMC, to update modify connection string.
- Already completed the Basic Implementation steps.
- From Qlik Sense Hub > My Work, Open the "Multilingual & Multi Tenant-Department Sampler"
- Using the Navigation Menu, select "Data Load Editor" to edit the Load Script
- Create a new connection named "MLRoot", Type > "Folder", Path > "Your_Unzip_Path" (NOTE: You should see the subfolders app, data, strings).
- After adding the connection, IF your connection is named "MLRoot (user)", instead of "MLRoot". Edit the connection in QMC > Data Connections to be just "MLRoot" and owned by one of the INTERNAL users. You will need to reload you Load Script Editor window.
- Test your connection by RELOADing the application from the Load Script Editor.
This implementation step allows you to assign groups to a user profile so that you can test logging in as different users.
- Qlik Sense Server (does not work with Desktop) Sept/2017 Release or higher.
- Access to QMC, to update modify User Directory Connectors.
- Already completed the Basic Implementation steps.
- Microsoft Excel 64bit ODBC Driver Installed Download.
Setup Qlik Sense UDC:
- From Qlik Sense QMC > User directory connectors...
- Create New Connector, Type = Excel (ODBC)
- NAME: "Excel UDC"
- SYNC USER DATA FOR EXISTING USERS - Uncheck
- USER DIRECTORY NAME: [Provide your user directory name] - Check out "QMC > Users" to see what yours is
- USER TABLE NAME: [Users$]
- ATTRIBUTES TABLE NAME: [Attributes$]
- VISIBLE CONNECTION STRING: DRIVER={Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, *.xlsb)};DBQ=Your_Unzip_Path\data\UsersUDC.xlsx
- Press Apply
Setup Users:
- In Excel, open the "Your_Unzip_Path\data\UsersUDC.xlsx"
- In Windows, use "Local Users and Groups" application to add users.
- Create a new user, for each user in the Excel file (suggestion: make password as as userid for testing purposes). Make sure to uncheck "must change password", and check "password never expires".
Update and publish application:
- Using your favorite text editor, open "Your_Unzip_Path\app\loadscripts\SECTION_ACCESS.qvs"
- Comment out the following lines: 52, 53
- Uncomment out the following lines: 55, 68
- Save the file.
- From Qlik Sense Hub > My Work, Open the "Multilingual & Multi Tenant-Department Sampler"
- Using the Navigation Menu, select "Data Load Editor" to edit the Load Script
- Reload application
- From Qlik Sense QMC > Apps...
- Publish the "Multilingual & Multi Tenant-Department Sampler" app to a stream available to your users (probably Everyone).
Test Setup:
- Open your Qlik Sense URL
- Log in as each user created above
- From the Stream, open the "Multilingual & Multi Tenant-Department Sampler"
- Navigate to the first sheet and see that it is in the user's preferred language.
Common problems and resolutions that others have encountered. If you do not see your problem, please raise an Issue.
- None known at this time.