2 Replies Latest reply: Jan 10, 2017 5:07 AM by Marcus Sommer RSS

    Hide Current Selections of certain Fields in particular Tabs

    Anushree Shetty

      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.

        • Re: Hide Current Selections of certain Fields in particular Tabs
          Adam Davies

          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

          • Re: Hide Current Selections of certain Fields in particular Tabs
            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