Dynamic URL parameter from Option Set in Site Conditionals

Hello,

I want to explain my issue very short…

i need help to show Groups or reusable elements depent on the URL parameter referenced by an Option set (Main Menu).

Bildschirmfoto 2024-06-27 um 22.26.54

My short question is:
How can I define a dynamic condition for the URL parameter when the URL parameter (like Dashboard) is a Option set item in the Main Menu?

Our idea works only when I define a static Option list constraint (Dashboard) in the do a search function. (Main Menu = Dashboard

But, when I want to make this constraint dynamic with the current page parameter (get tab from page URL), then the groups visibilty is not working well.


Any ideas how I can change the static selection to a dynamic workflow?

Thank you so much. I hope you understand my issue. Thats my first post here :slight_smile:

Hey, thank you for this idea J805, but I think a random list helps not so much. :frowning:

I have one reusable Element with many Groups for each Main Menu Option Set, that should be visible, when the URL parameter ?tab= correct.

I think that should describe it a little better

Thank you

Sorry. That message got posted to the wrong comment. :blush:

Hey @SCHNEIDERMC :wave:

Welcome to the Bubble Community. :tada:

The best way to find out why the conditional is not working would be to use the INSPECT tool in the preview of your app. Then you can click inside the element and click on each blue text to see what the value is. Do you know what I’m talking about? Let me know if you can find the Inspect tool and take a screenshot of what it shows so we can show you what to look at. :blush: Hope that helps.

Hey J805,

thank you! I am happy to be here :slight_smile:

I checked the inspector already and identify the problem. When I change the static value of the option set in the search for constraint, everything works in the first step.


Search for Permissions with Static value of the Main Menu Option Set


The condition is correct. Only the stages Group is visible

When I change the Main Menue Value in the search for Permission function, like this


The result is this:

All Groups are visible, although the condition should only show the EVENT SPEAKERS GROUP with the people, not the Stage and the icons below…

I think the get parameter from URL with one Option of the Option Set is not working in my process, because the static value is working. Maybe you have a idea :wink: Thanks a lot!

This topic was automatically closed after 70 days. New replies are no longer allowed.