I have multiple views based on a slice. The slice carefully displays ONLY columns I want displayed to the users viewing them. The slice does NOT include GEO_NO but the base table for the slice does. Users can search on one of the views for the name of the Country which is the label for the GEO_NO ref and find it!!! Even though neither the reference nor the label appear in the slice.
To me, this is a huge security hole. Shouldnโt the search be limited to the data underlying the view on screen? In this case, my slice?
I want to be able to use search throughout my app but CANNOT if it ignores the slice and goes to the base table. Please help.
Search searches the entire App, not the view you are on. So if there is anywhere where it is visible and searchable, it will appear from search. Slices are not a security feature.
But it displays it based on the view Iโm on, correct? So isnโt it logical that it would only search what is shown?
Ooooโฆwaitโฆ something may have changed since I last used itโฆ Hold on.
A โsolutionโ is implementing your own โsearchโ. The quotes are because thatโs a terribly tedious task and not elegant. Can you disable the GEO_NO being searchable? If you donโt need to search by that column you can eliminate it from search without hiding the column.
I could, but there are other instances where I want the user to search by that column. The same user has the freedom to search by that column depending on the view they are on. i.e. depending on the data displayed to them.
Iโve already implemented a filter/query form where the user can search by multiple parameters, yes, it wasnโt fun to make. I guess Iโll need to decide which columns I CAN NOT let them search by, using the built in search, which I safely can and which I have to build another filter/query tool for. And, if search can even be turned on at all. Ugh. Thanks for your help @Austin and @Bahbus
Perhaps a request (if there isnโt one already) to make Searchable based on an optional expression.
I at least recommend a email to support asking if thatโs bug or intended.
What if you create a filter per column to avoid displaying what you want?
You can use the userโs email to filter using a formula
Ok so, yeah, there was a change since I last actually used it. So yeah, if the base tableโs column is searchable and there is a result that would match in the slice, it will still appear. Thatโs just normal. Youโd have to turn off searchable as @Austin_Lambeth said.
I believe the only way the slice would not show it, would be if the result wouldnโt show up in the slice for other reasons.
There is a valid reason that it can search non displayed columns; where you donโt want to search columns that arenโt shown someone else might want to be able to search a column without displaying it.
(In the context of searching slices by columns that arenโt included I will call bug)
User | Count |
---|---|
43 | |
29 | |
23 | |
21 | |
13 |