How to get the URL of another web screen?

I need to create a link from one web screen to another within the same module, which is easy enough to do. What I'm stuck on, however, is getting the text of the link to be the same as the URL. This allows the user to either click on the link, or to copy and paste it into some other application

Is it possible to get the full URL of a page in the link's text without resorting to Javascript?

e.g. from Page1, I want a link to Page2 to end up as the HTML:

<a href="https://my.server/App/Page2.aspx">https://my.server/App/Page2.aspx</a>

Solution

Ian Marshall wrote:

I need to create a link from one web screen to another within the same module, which is easy enough to do. What I'm stuck on, however, is getting the text of the link to be the same as the URL. This allows the user to either click on the link, or to copy and paste it into some other application

Is it possible to get the full URL of a page in the link's text without resorting to Javascript?

e.g. from Page1, I want a link to Page2 to end up as the HTML:

https://my.server/App/Page2.aspx

Hi Ian, 

You can create two EntryPoints and get the url Using the Action from 

HTTPRequestHandler (GetEntryUrl)


Solution

Thanks for your answer, Fábio. I was able to get it to work via:


MakeAbsoluteURL(GetEntryURL("MyTargetName", GetEntryEspaceName()))