I created a query parameter under “App”.
I want to bind this to a form input. Surprise that I couldn’t locae the parameter I defined earlier.
See screenshot.
I created a query parameter under “App”.
I want to bind this to a form input. Surprise that I couldn’t locae the parameter I defined earlier.
See screenshot.
Hello,
query params need to be defined in the Layout/Main page, not on the content page.
Yes it works.
Hi @Teodor,
Just found this old thread and out of curiosity why do I need to define the parameters in the layout page? I noticed that it is missing from the picker when I add them to the content page but actually works fine if I just bind them manually. This way I can use parameters on a content page bases, found it easier to track back what did I use that parameter for. Is there a disadvantage?
Gabor
The only thing that “defining” the query parameters does is to make them available in the data picker. They (the query params) can be used perfectly fine without defining them as well, you just access them like query.param
in the code.