Thanks Steve, but that seems to have the same effect as LINKTOFILTEREDVIEW()
I want the table to be prefiltered to ‘Available’ when I open it, but I need the ability to easily switch to a different group by or view All using the groupby filter buttons
Are you using a mobile framework? If yes, try disabling it first, because sometimes when you click it doesn’t want to move to another page (it freezes) or try refreshing (Sync)
I frequently use group by and rarely encounter problems moving to previous data. I usually add a real column to the table to simplify grouping, so that Appsheet can simply read it. Here’s an example.
I don’t have any problems moving between group by in a regular view.
Rather, I want the view to open and it should be already filtered by group, but with the ability for the user to switch to another group by.
LINKTOFILTEREDVIEW() stays filtered and the user can’t go to another group by
I want the table view (in desktop design) to open with a ‘filter by group’ button already selected, then the view will be filtered but the user can easily select a different group by.
Could you maybe add a slice to your main view? I looked for a template that does the same for IT Ticketing System where My Tickets use a slice to filter for Unresolved tickets that are either created or assigned to me.
I don’t think there is a deep-link parameter that sets the selected state of those group/filter buttons specifically. The URL parameters can filter the view, but the button state itself is more of AppSheet’s view UI state than something exposed as a normal deep-link target.
For what you described, I’d probably make separate views/slices for the common starting states, like Available, Unavailable, All, etc., then deep-link to the right starting view. Users can still switch views/buttons afterward, but the launch state is predictable.
So: LINKTOFILTEREDVIEW() or a dedicated slice/view is likely the practical route. I wouldn’t spend too much time hunting for a hidden group-button parameter unless AppSheet documents one later.
@zainkhan23 thanks for your response, and clarifying what I’m looking for.
If using slices,
what is a neat way that they can switch easily to a different slice, without adding more menu buttons?
I really like the filter by group buttons as they are neat and intuitive.
For now, I’m using the full URL of the selected state instead of a constructed deep link. It seems to work for now, but I’m not sure whether its a good idea and how stable it is.