Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
jchoucq
Partner - Creator III
Partner - Creator III

Qlik Sense : Hiding dev hub

Dear all,

is it possible to hide the Qlik Dev Hub link based on the user ?

In the security rule of the stream, the only action available is "Read". Nevertheless, the user can access to the qlik dev hub.

Best regards,

Johann

1 Solution

Accepted Solutions
TKendrick20
Partner - Specialist
Partner - Specialist

Thanks to mitaliajgaonkar‌ for helping find the solution. It involves editing the source code in the following way:

Navigate to where your Qlik Sense program files are, and find the file:

~\Qlik\Sense\Client\assets\hub\hub.js

Copy this file and save it somewhere else as a backup in case anything goes wrong. Then open the file and find the string tid="MenuBtn".

This string is in a <button> tag which you will need to delete as well as the <div> around the button. Once this has been removed you will no longer see the dropdown for Dev Hub, Help, and About on any account. Now, to get to the dev hub you just append "/dev-hub/" to the end of your url. Keep in mind that if you upgrade, you will have to redo this change.

View solution in original post

16 Replies
Anonymous
Not applicable

i'm also looking to hide it but couldn't find any option in qmc. Can anyone help please?

Not applicable

Hi Waqqas / Johann Choucq

Were you able to find a solution for hiding the dev hub dropdown?

jchoucq
Partner - Creator III
Partner - Creator III
Author

Dear QlikexploreA8,

no sorry ! Never found a solution !

Best regards.

Johann

Not applicable

Is there a way to go to source code of the html, javascript and css of it and erase it from there?

TKendrick20
Partner - Specialist
Partner - Specialist

Thanks to mitaliajgaonkar‌ for helping find the solution. It involves editing the source code in the following way:

Navigate to where your Qlik Sense program files are, and find the file:

~\Qlik\Sense\Client\assets\hub\hub.js

Copy this file and save it somewhere else as a backup in case anything goes wrong. Then open the file and find the string tid="MenuBtn".

This string is in a <button> tag which you will need to delete as well as the <div> around the button. Once this has been removed you will no longer see the dropdown for Dev Hub, Help, and About on any account. Now, to get to the dev hub you just append "/dev-hub/" to the end of your url. Keep in mind that if you upgrade, you will have to redo this change.

jchoucq
Partner - Creator III
Partner - Creator III
Author

Thanks a lot Tim !

TKendrick20
Partner - Specialist
Partner - Specialist

I realize that even with hiding this button, the user can still type "/dev-hub/" at the end of the hub URL and have access to the dev hub anyway. Eventually I will need to figure out how to block access to this based on security rules or something.

vhayward
Partner - Contributor III
Partner - Contributor III

At version 3.1.* you need to add the following code to the stylesheet at C:\Program Files\Qlik\Sense\Client\hub\hub.css

li[tid="globalmenu-devhub"] {

    display: none;

}

But be aware that this only hides the buton. It's still available when using ~/dev-hub/ in your URL.

So therefore you need to block the URL by firewall for instance.

Or deface / redirect it by putting this in the meta part of the file at location C:\Program Files\Qlik\Sense\Client\dev-hub.html

<meta http-equiv="refresh" content="0; URL='xxxxxxxxxxxxx'" />

Also make sure you set the security rules properly with read only on Extensions for instance.

ahmedadmin
Contributor III
Contributor III

There is no solution obtained yet to get the permanent fix for the Dev Hub.

If we perform the code changes, it will be applied for all users.

There should be a way to control the access to certain users.

Please let know if the Dev-Hub can be controlled through the Security Rules or through QMC