Join the Webstudio community

Updated 2 months ago

Accessing Url Path and Parameters

At a glance

The community members are discussing ways to access URL path and parameters, particularly for querying a database using URL parameters like property_id. They suggest using the URL search parameters and path parameters within the expression for the URL in a Resource to enable powerful use cases. One community member indicates that this feature is already in the works and may be ready soon.

Is there a way to access url path and parameters?
O
m
B
11 comments
access from where? what's your situation
Let’s say query database with using url parameters. For example property_id etc.
so basically a way to seearch using filters and then use the query params from the url inside Resource to fetch the data?
or where do you want to use the search params
ok, got it, we have this basically in the work, maybe ready next week cc @TrySound
accessing both page settings path params and url search
and using those inside the expression for url in Resource
its gonna unlock super powerful use cases
Just happy to hear that this feature is coming!
Add a reply
Sign up and join the conversation on Discord