Multidropdown default value to URL parameter?

Hello,

I’m trying to figure out how to set the default value of a MultiDropdown to match the current page’s URL parameters. I’ve successfully done this using Option Sets, which works perfectly. However, when I try to achieve the same with Data Types, it doesn’t seem to work.

From what I’ve read in other posts, it seems like I might need to use a “Search for” operation, but I’m unsure how to implement this or if that’s even the correct approach.


I’d really appreciate any guidance on this!

Thank you!

The “Default value” should be a single value.
Looking into the image you shared, it seams that you are converting the result into a list…

What data are you sharing in your URL as paramather? Is it a unique ID of something?

Hey @rpetribu, thanks for your comment.

But whu does it have to be a single value? The otionsets are not and it fetches over 10+ things from the URL and puts them all in the Multidropdown?

Here is the data im sending that im trying to fetch:

If i do a default value do a search for skills it fetches all the skills and puts it in the Multidropdown

This is the URL if it helps: färdigheter=Markandsföring%2C%20Data%20analys

Sorry, I have missunderstood the issue! :sweat_smile:

If the Multidropdown’s Type of choices is “Skills” you shoud send a list of skills as default value. It seams that you are sending a list of texts. I assume they are the name of the skills you want…

In this case you can do something like:

Do a search For Skills where it’s name is in URL Path list of texts.

Take a look in what I did here, see if helps.

Editor link here

1 Like

Now it works! Thank you so much @rpetribu you saved me from more hours of headache… :pray:

1 Like