Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Once a field is locked, is there a way to disable the unlock grey area that sez: Click to Unlock?
Possible using helper objects tied to some code, I know we can add CSS code to hide that bar, maybe change with width of that field to zero or DISABLE the unlock feature using CSS. any examples would be awesome.
Any ideas?
You can use the 'always one selected' feature.
1. chose the dimension value that you want to lock
2. edit the sheet
3. find and right click on the dimension
4. choose field settings
5. select the always one selected checkbox.
Kind regards...
Hi,
if you are using locking fields as a security feature. Then section access is a good pathway.
If you what to lock it for that page you can use the value in a variable can pass it in the expressions this will not show on the top selection bar.
Dependant on your Qlik Sense version, but in Saas you can in the app setting on top hide the selection bar. Then add a button or buttons to clear or drive the key selections.
if this is something you are keen on I can add more detail.
Thanks but the solution you defined will allow users to change filters once set and that will defeat locking the field.
But thanks for contributing
you can achieve this using a drop down and multi kpi.
1. Create a drop down with the desired field
2. Create a multi KPI with measure as 1
3. In Style section of Multi KPI include css code to freeze dropdown
4. Also include CSS code to hide Multi KPI.
5. Make the dropdown field hidden so that user cannot change it from selections.
Just wrote some css that you could use (via the styles in multi kpi object)
button[data-testid="listbox-unlock-button"] {
display: none !important;
}