Join the Webstudio community

Updated 2 months ago

Ability to test parameters in the editor

At a glance

The community member is working with URL parameters and would like to be able to test their values directly in the Webstudio editor, similar to testing slug options. Currently, they have to publish the page to test different parameter values, which is inconvenient. Other community members agree that the ability to test URL parameters should be available on any page, not just dynamic pages. A suggested "quick hack" is to use a link that links to ?myparam=value and click on it in the preview to add the parameter to the system variable. There is also an issue on GitHub to follow regarding this feature request.

Useful resources
I'm currently working with URL parameters, and it would be great to test their values directly in the Webstudio editor — similar to how you can test slug options. Right now, I have to publish the page to test different parameter values, which isn’t very convenient.
O
3 comments
Totally agree, we probably should have made that tool for testing url parameters available on any page, not only dynamic pages.
A quick hack is to use a link. If you add a link which links to ?myparam=value and click on in on preview, it will add the param to the system variable
Add a reply
Sign up and join the conversation on Discord