Displaying unique, user-specific link

I need to generate a unique link (per user) and display it for users, similar to the example provided in copyToClipboard() on Velo:

https://www.wix.com/velo/reference/wix-window/copytoclipboard

How can I display a dynamic text/link that is copy-able via a button?

Depends but what is the link leading to?

I’d have no idea how to build this out but it seems members will have their own IDs that can be retrieved using getMember so you could possibly use the ID to help create a URL. If this will be displayed on a member page, the member page URL should be unique like here in the forum. /profile/{member name}/profile

Hi Roberto - thank you for your response. To clarify, I don’t have issues with identifying the unique user/member, or generating the random string for the link. I’m running into problems figuring out how to actually display the link for the user. I’ve looked into connecting via data connectors, but it displays multiple items in the collection.

Hope this makes sense.

The solution was actually very simple. Instead of pulling the data from a collection, I passed the variable from the backend and changed the value of an empty text element with ‘$w(“#element”).text = response’