Skip to main content
Announcements
Qlik Community Office Hours, March 20th. Former Talend Community users, ask your questions live. SIGN UP
cancel
Showing results for 
Search instead for 
Did you mean: 
anushree1
Specialist II
Specialist II

Hide Current Selections of certain Fields in particular Tabs

Hi,

I would want to hide certain fields from being displayed in the current selection box, i do know that it can be done using hideprefix, but hideprefix will ensure that the selection is not visible on the entire dashboard.

But I would want only certain tabs to show the fields selection and certain tabs not show the selections of a particular field.

Please let me know if this is possible.

2 Replies
adamdavi3s
Master
Master

Do you utilise all the functions of the current selections or do you just use it 'for information' ?

We use it just for information so actually our current selections box is just a text object, we can hide / show as we like then

marcus_sommer

Like Adam mentioned if you don't need to interact with the current-selection-box and want just to display the current selections you could use a textbox with getcurrentselections() for it which is appropriate adhusted. Otherwise you need to build your own current-selections-objects - here you will find some interesting ideas for it: Current Selection Alternatives.

If you are using the desktop client or the IE plugin you could also use a macro - triggerred by (De)ActivateSheet - which changed the IsHidden property of the field to true respectively false. Here an example from the APIGuide.qvw how this property could be read:

set flddescs = ActiveDocument.GetFieldDescriptions

for i = 0 to flddescs.Count - 1

    fdesc = flddescs(i)

    if fdesc.IsHidden then

        msgbox(fdesc.Name & " is hidden")

    else

        msgbox(fdesc.Name & " is not hidden")

    end if

next

- Marcus