Need help with empty url parameters in server action

Hi all,

Breaking my head on this :exploding_head:, like many of us have according to the number of community posts on related issues.

Trying to filter a database query with some url parameter values, but can’t get that to work, although I checked all tutorial docs and community posts about this :nerd_face:

Found out that the parameters are just empty. The setup:

  1. Query Params are defined in the layout page and added then to the Query Manager:


    image

  2. This routing rule is set via the Routing Manager for the content page.
    Content page code:
    <meta name="ac:route" content="/:country/:language/product/:id/:product_name?">
    In Routing Manager:
    image

  3. In the server action with the database query execution in it, the same input variables are created under $_PARAM:
    image
    Also tried passing the input parameters from the query manager as a $_Get input to Server Connect, but these values also stay empty:

So for some reason the url parameter values are not passed to the server action side and I can’t find out why and how to solve this. Hope anyone can help, for which I’m very grateful in advance!

Community Page
Last updated: