How to filter view of certain buttons

I am building a client dashboard and want to use information from my users table to change what they can see from clicking a single button. I am able to create these conditions for all my buttons but its the same condition for all of them. I want them to hold different conditions. How should I approach this?

Thank you!

I’m a bit confused. If you have different buttons, you should be able to set different visibility conditions to them. Can you show me how you’re setting it up?

I think I confused the buttons with the collection. I don’t want to change visibility, rather what the page opens up to based on certain conditions that are pre-set in my database. For example, if a user has a specific service, I want to access the detail page. If not, I want it to link out to the external webpage. I tried creating actions but it is only allowing for me to do this for all parts of the collection rather than separate conditions for each part.

Have you tried a custom action?

1 Like

What worked for me was setting up a dictionary with conditions for each button. So when a button is clicked, you just check the dictionary to see what should happen. It’s super flexible and makes it easy to manage different conditions for each button.

Can you explain more on what you mean by the “dictionary”?

This sounds like a great solution! Can you share a little more on what this dictionary looked like?

Please try the solution Jeff sent above. The poster of the dictionary method hasn’t replied, and I’m not sure what that even means.

1 Like

Yeah, I probably will. Thank you all!

2 Likes