Hi,
My goal is to show a WebLink to navigate to another page within the same WebApp. Naturally, I added a new WebLink object, and came the time to specify the target URL (my first though was that I don’t want any URL at all, just calling MyWebPage.Show when the link is clicked).
So, I went to the documentation, which states two things that confuse me:
The first, at the URL property:
If the URL does not include a protocol (like http:), the value will be appended to the URL.
So it appears it’s not possible to leave the URL blank (otherwise, it’ll still add a protocol prefix, though which one isn’t explicitly said in the documentation). What should I put as the URL to show a web page in the same app, if not an empty string?
The other phrase that seems incomplete to me is the following, both at the URL property and at the Notes section:
To navigate to other pages within your app, use the WebPage.Show method.
Again, since I have to put something for the URL property, it doesn’t make sense that I should additionally use the Show method of the page, and, even then, the WebLink doesn’t seem to provide a “Clicked” event where I could write “MyWebPage.Show”.
I realise I could add a standard label to work around this (make it blue and underlined, etc), but it wouldn’t be the right choice.
I’m wondering what I’m missing…