Query a db for a users profile, fetch the data, then navigate to that persons profile onClick

Hi guys sure this is an easy one, as above id like to query a database for a specific persons profile fetch the data then use the Id to navigate to that persons profile based on their id when clicking on a button, it will be going from one dynamic page to another, i would use a button connected via a dataset but it doesn’t have the scroll.to functionality, so having to use code instead

thanks in advance

Hi,
You can recreate scroll to functionality using anchors .

If you’d prefer implementing it using code, you can use the following references: