URL Parameter - can't set up an editor default value

Hi,
when I try to set up a default value for URL parameter I get an error that the provided value does not match an allowed pattern.

But the binding to URL param works as expected in the preview mode…

I even tried to paste the mentioned value in the format it appear in the url (Animals+%26+Pets) in the WeWeb editor and place it in quotation marks, but without success.

Is it a bug or a limitation of the default URL parameter? Should I then rather use a UUID of the record in Supabase as URL dynamic value?

Regards,
Maciej

Hi @maciej.ziolkowski :wave:

URL parameters are to define fixed paths in a slug. You can’t have any spaces or capital letters in a slug (that’s not a WeWeb thing, it would be the same if you coded your web-app).

Here, it looks like you category name will be a query string. You therefore don’t need to add a URL parameter.

I’d recommend watching this video that explains the pros and cons of both approaches to get a better understanding of dynamic collection pages: