Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!

How to customize the text of a generic Qlik Sense error message

100% helpful (2/2)
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

How to customize the text of a generic Qlik Sense error message

Last Update:

Nov 8, 2023 8:42:09 AM

Updated By:

Sonja_Bauernfeind

Created date:

May 22, 2019 10:09:01 AM

The information in this article is provided as is. Adjustments to error messages cannot be supported by Qlik Support and can lead to difficulties identifying underlying root causes of technical issues experienced later. All changes will be reverted after an upgrade.
The method documented in this article is intended for later versions of Qlik Sense Enterprise on Windows.

The message texts are defined in JavaScript files located by default in path C:\Program Files\Qlik\Sense\Client\translate\. There are subfolders for each supported language, e.g. en-US for English. 

To modify the message text edit e.g. the file hub.js in the folder corresponding to the language you want to change the text for.

To change e.g. the default message text for access denied messages you need to find the following line:

"ProxyError.OnLicenseAccessDenied": "You cannot access Qlik Sense because you have no access pass.",

To change the text of the message you need to modify the second part of the text which is in brackets (see example below):

"ProxyError.OnLicenseAccessDenied": "This is a modified message text for access denied events", 

To modify the error message:

  1. Navigate to C:\Program Files\Qlik\Sense\Client\translate\
  2. Open the folder corresponding to the language you wish to change,  e.g. en-US for English.
  3. Open either the hub.js file or the qmc.js file. Older version of Qlik Sense relied on a single client.json file. 
  4. Search for the standard error message
  5. Modify the message text accordingly. If the message you wish to modify cannot be located, then the message cannot be customized.
  6. Save the file
  7. Restart the Qlik Sense Proxy service
    Users will not be able to see the new message until their browser cache has been cleared.
Labels (1)
Comments
nav33nb
Contributor
Contributor

Hi,
Message change steps are working for Qlik Sense November 2021 version, but no longer working in November 2022 version

We have multiple env for QlikSense, in one of the env I've performed these steps, restarted proxy service and it successfully shows new message
In another env, with different version of QlikSense same steps are not working

1. changed message at above mentioned path
2. Restart proxy service

I see that article was published quite some time ago, Are these steps not backward compatible or have since changed. Please share updated steps to achieve the desired result if possible

One additional thing, There are no json files(client.json) present for November 2022 version at the mentioned path, only JS files (hub.js)

eyalnir_qlik
Partner - Creator
Partner - Creator

Hi @Sonja_Bauernfeind 

can you advise how to achieve it in version 2022 and above?

thanks

 

Sonja_Bauernfeind
Digital Support
Digital Support

@eyalnir_qlik Not at present.

We are reviewing this article at the moment.

Sonja_Bauernfeind
Digital Support
Digital Support

@eyalnir_qlik @nav33nb 

The article has been updated.

eyalnir_qlik
Partner - Creator
Partner - Creator

Thanks @Sonja_Bauernfeind  for the update, 

Unfortunately, we still have issue with customize error "You cannot access Qlik Sense because you have no access pass " 

i've open support case for further investigation

Regards,   

peterwh
Creator II
Creator II

Hello @Sonja_Bauernfeind,

I've tried to change the message "Your account is inactive. Contact your administrator to activate it.", if a user is inactive in QMC and tries to open the hub. But I can't find this entry in the .js-files. Is this message hard coded?

 

Kind regards

Peter H.

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @peterwh 

If the message you wish to modify cannot be located, then the message cannot be customized. I would invite you to log an idea to voice your interest in having more customization options.

All the best,
Sonja 

jesse_rendon
Contributor II
Contributor II

I've attempted to implement this change as well for the "Access pass..." error. However once I restarted the proxy and tested Qlik appears to have an issue reading the file. 

Headers in Hub are not rendering properly. I've cleared my cache as well, but the issue remains. 

Example:

Favorites now reads as Hub.NavigationPanel...

Work now reads as Hub.NavigationPanel...

Published now reads as Hub.NavigationPanel...

When I remove the change and revert back to original file the issues clears. 

Any Suggestions to resolve?

Thanks, 

Jesse

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @jesse_rendon 

The information in this article is provided as is. Adjustments to error messages cannot be supported by Qlik Support.

I'd suggest posting the question and your requirements in our Deployment and Management forum, where your knowledgeable Qlik peers are more likely to be able to assist you.

All the best,
Sonja 

michedge
Partner - Contributor II
Partner - Contributor II

Hi,

can a message be replaced by a direct link? 

For example a Service Now link? 

According to what you wrote is not possibile but if alternative way exist could you please share it?

Best Regards

Contributors
Version history
Last update:
‎2023-11-08 08:42 AM
Updated by: