How can I insert a custom document property into a hyperlink ?

I would like to do exactly what’s written above.

The visible text of the hyperlink is “here” so only the underlying link should be changed when the document property changes.

Any idea if this is possible ?

Please give a concrete example of what you’re trying to do

Since the original poster never provided a concreta example, I take the freedom to provide one.

I am writing a documentation which instructs a user how to configure a CMS. When I write the documentation the links I use are pointing to my local developer environment domain. I want to allow the documentation users to change the link domain to their own.

Does it mean you write and debug your documentation on your system and when you finalise the release version you want to modify in a simple way all link prefixes to some “production” site?