Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

rvijayanth
New Contributor III

Can we disable "Smart Search" and "Selection Tool" in QlikSense

Can we disable "Smart Search" and "Selection Tool" which shows up on the top right under the navigation buttons in QlikSense application?

I know its possible using mashups. But want to know if this can be accomplished in QlikSense application.

1. The reason we want to disable smart search is because we use a lot of columns which are basically concatenated lengthy text in one giant straight table and performance is become slow.

2. We don't want others to view the other data elements and thats why we want to shut down "selection tools"

1 Solution

Accepted Solutions

Re: Can we disable "Smart Search" and "Selection Tool" in QlikSense

You can control what fields are available in Smart Search using the "Search" script statement:

Search ‒ Qlik Sense

That does not restrict the "Show Fields" option in the selection tool. Perhaps someone else has a suggestion for that.

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

11 Replies

Re: Can we disable "Smart Search" and "Selection Tool" in QlikSense

You can control what fields are available in Smart Search using the "Search" script statement:

Search ‒ Qlik Sense

That does not restrict the "Show Fields" option in the selection tool. Perhaps someone else has a suggestion for that.

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

shubham_singh
Contributor II

Re: Can we disable "Smart Search" and "Selection Tool" in QlikSense

Just add the dimensions that you want to keep to master dimensions and un-check the show fields check in top right section. The dimensions that will remain after that are only the master ones. We call them global filter here.

If you publish the app with "Show fields" un-checked, it will remain as is and user will only see fields of master dimension. To show all the remaining fields you will have to check "Show fields" every time you open the app.

Hope it helps.

-Shubham Singh

bellamae
Valued Contributor

Re: Can we disable "Smart Search" and "Selection Tool" in QlikSense

We use the % prefix in the script to hide a lot of fields from our users, this means they don't show up in the selection tool.

And for the search function we use the technique Rob is referring to and specify the fields that can be searched.

Re: Can we disable "Smart Search" and "Selection Tool" in QlikSense

Excellent solution for the Selection Tool Bella! I had not thought of that. Marking a field as hidden with any of the following methods:

SET HidePrefix = '%';

SET HideSuffix = '%';

TAG FIELD Discount WITH '$hidden';

makes the field invisible to the Selections Tool. Thanks for this contribution.

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

rvijayanth
New Contributor III

Re: Can we disable "Smart Search" and "Selection Tool" in QlikSense

I dint understand this. Can you please explain?

rvijayanth
New Contributor III

Re: Can we disable "Smart Search" and "Selection Tool" in QlikSense

Thanks for the suggestion. I like the recommendation for restricting smart search Fields.

Re: Can we disable "Smart Search" and "Selection Tool" in QlikSense

A field tagged as "Hidden" will not be available in the Selection tool (thanks bellamae There are 3 ways to tag a field as hidden. The first two methods are to set special system variables in the script:

SET HidePrefix='%'; // Any fieldname that begins with % will be a hidden field.

SET HideSuffix = '%';  // Any fieldname that ends with % will be a hidden field.

HidePrefix ‒ QlikView

Another option is to designate a field as "hidden" is to directly tag the field with the script TAG statement.

TAG FIELD Discount WITH '$hidden';

The field named Discount will now be a hidden field and will not be available in the Selection Tool.

In QlikView, a hidden field will not show in the Current Selections object.

Hope this helps to explain.

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

rvijayanth
New Contributor III

Re: Can we disable "Smart Search" and "Selection Tool" in QlikSense

Will this work in QlikSense?

I tried the below code and it did not work. Please help. I still see all dimensions on the selection tool

SET HidePrefix='%';

bellamae
Valued Contributor

Re: Can we disable "Smart Search" and "Selection Tool" in QlikSense

Yes it does work in qlik sense you need to have the % in from of the fields you want to hide e.g.

SET HidePrefix='%';

Table A:

Load

Key as %Key,

Field1

Field2 as %Field2

etc