Default Filter for Views

Is there any option for applying default Filter for a View. Slice and Security Filter cannot be used as the filter is permanent in that cases. 

Interestingly its possible with Action Button which takes to LINKTOFILTEREDVIEW() but i couldn't find any method to apply this to a direct View in Bottom or Menu. Am i missing something here. I think if Action can show Filtered content, there should be a direct method also. 

0 13 742
  • UX
13 REPLIES 13

Why cant you use a slice (that would still respect the security filter) and build a view on that slice?  Then add a button that takes to the non-sliced view.

@jyothis_m: I think you may want to make your requirement clearer.

May we know, what filtering you are exactly looking for to apply as default filtering and why you feel it cannot be achieved by existing methods such as slice or security filters?

Sorry that i didn't make my point clear. I was checking whether its possible that when the user click on any View, there be a default filter applied which he can clear if needed. But if he returns to the View again, that default filter should still be there. Slice or security filter can filter out as needed, but the user cannot remove the filter unless we have specify the filter expression using usersetting variables which again needs more interaction from user side. I was looking for a method which would be simple for the user point of view like a default filter which can be cleared easily. 

Sorry that i didn't make my point clear. I was checking whether its possible that when the user click on any View, there be a default filter applied which he can clear if needed. But if he returns to the View again, that default filter should still be there. Slice or security filter can filter out as needed, but the user cannot remove the filter unless we have specify the filter expression using user settings variables which again needs more interaction from user side. I was looking for a method which would be simple for the user point of view like a default filter which can be cleared easily. 

 

Like @dbaum posted, urls can be constructed to set initial values for the USER FILTER WIDGET (found after clicking the search icon then the dropdown arrow).  No, a view cannot initially have a filter of any sort pre-applied to it without using an action, but a user can get the sense of exactly that if you make a view accessible from the bottom menu a filtered view and then have a button to show 'all' records overlaid (or the opposite way around if the anticipate your users only occasionally needing to see a filtered view initially).

I use the CUBES icon for showing all and the FILTER icon for filtered views (if there is only one).

Since others and I have mentioned this before, I decided to make a feature request which you can vote for HERE.

https://www.googlecloudcommSet-List-View-s-Initial-User-Filter-Values 

This was exactly the feature which i was asking 

Hi @dbaum Thanks a lot . They are really amazing ideas from the community. 

I think all of them make use of DeepLink which again needs some kind of action button to invoke it. Is there any possibility to implement it directly to the Views available in Bottom Bar or Left side Menu without further need to click any Action Button. 


@jyothis_m wrote:

Is there any possibility to implement it directly to the Views available in Bottom Bar or Left side Menu without further need to click any Action Button. 


Hi @jyothis_m < You may still want to make your requirement clearer. When you mention above, the user will need to take "some action" to navigate from default view to another view,  correct? So by "some action" I mean tapping on different view etc, right?

May we know how do you envision the user will navigate from a default view to another view?

 

Hi @Suvrutt_Gurjar what i meant was the Filtering should not involve any data change action being synced to server. Just like we can apply filter by clicking search button, is there a way that filter is applied default when a view is opened from Menu. What LINKTOFILTEREDVIEW is doing whether the same can be achieved directly in UX->View

 

Like @dbaum posted, urls can be constructed to set initial values for the USER FILTER WIDGET (found after clicking the search icon then the dropdown arrow). 

No, a view cannot initially have a filter of any sort pre-applied to it without using an action, but a user can get the sense of exactly that if you make a view accessible from the bottom menu a filtered view and then have a button to show 'all' records overlaid (or the opposite way around if the anticipate your users only occasionally needing to see a filtered view initially).

I use the CUBES icon for showing all and the FILTER icon for filtered views (if there is only one).

Since others and I have mentioned this before, I decided to make a feature request which you can vote for HERE.

Alternatively, if this would work for your workflow, You could create a view on a table that is a record of View Names (and possibly Display Names) that has a 'Row Selected' Behavior of an action that uses the formula:

 

LINKTOVIEW([ViewName])

 

12-18-2022  06.jpg

You could either make this view the opening view for the app or set it to one of the menus. Not exactly what you are asking for, but close perhaps.

Thanku @Ferret 


@Ferret wrote:

You could create a view on a table that is a record of View Names


 

I am already using this in my apps.

IMG_20221218_140038.jpg

However, the default filter as you said needs a feature addition I guess. Default Filter and further filter modification by user without involving any data change action being synced to Server.  

Top Labels in this Space