Qlik Community
Collaborate with over 60,000 Qlik technologists and members around the world to get answers to your questions, and maximize success.
Join UsDifferent map servers for your DEV and PROD environments are commonly used.
Is there a way to configure the different server strings for the Map Object in Qlik Sense? Currently only a fix server in the Server URL field can be entered. Then when publishing to the PROD environment the Server URL needs to be changed manually again.
Environment:
Since a few releases back it is now possible to set an empty URL in the map object, for which the map then will use (in the following order):
1. If there is a property called "server" in the file "...\StaticContent\Extensions\ideviomap\settings.js" it will use that value as the URL.
2. If not it will default to the normal "https://maps.qlikcloud.com"
For the desktop version, the installer will fill in this file based on what you enter there, but not for the server version installer for some reason (I guess because it skips the normal installer since you "install" the extensions via the QMC instead).
It is possible to do, you just need to do it manually (at the moment). And then repeat the process after each upgrade as the file is replaced.
What you have to do is to open the file ...\StaticContent\Extensions\ideviomap\settings.js, then edit it so that it looks like this:
...
define({
server: "https://something.example.com"
});
...
Where the URL alias points to where the actual map server is located, and on the staging environment edit it to point to the staging server.
Then just make sure that all the maps in the system's apps do not have a specific URL set in the object's properties.
Collaborate with over 60,000 Qlik technologists and members around the world to get answers to your questions, and maximize success.
Join UsSearch Qlik's Support Knowledge database or request assisted support for highly complex issues.
Submit a caseExperiencing a serious issue, please contact us by phone. For Data Integration related issues please refer to your onboarding documentation for current phone number.
Call Us