Capture URL link parameter

Hello,
Anyone of you PROS could help me, I cannot figure this our, AI also seems to be not so smart with this. I have a page that needs to capture pages URL's number and pass it to server connect, page address looks like this: http://localhost:3000/darbo-skelbimai/9, it should pass number 9 to the server connect to make it work. Basically I need listing_id code as PARAM does not work here:


any thoughts?

How is your routing config?
On your frontend, listing_id should be like query.id

This should help covering parameter passing as you want.

params.id ?

The video deals with parameter passing from page to page via query parameters which i assume is the case from the question.
Params are generally associated with with internal routes i believe.

@Hyperbytes, @franse thank you very much, after watching this video I've figured it out how to do that. I needed to define query param and then did serverconnect input param of the one I've created and it works!

1 Like