Web AppBuilder "Attribute links" prefacing link with portal URL

616
3
Jump to solution
06-17-2021 07:05 AM
Labels (1)
by Anonymous User
Not applicable

I've added a link to a web app and the link is being prefixed with the portal URL.

This isn't the behaviour I remember...

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
jcarlson
MVP Esteemed Contributor

It does this sometimes if your URL isn't formatted just so. It's not WAB doing it, but rather the web map itself. Without the "https://" or "http://" in front of the URL, it will assume the link is a relative URL to something else in your portal / org.

Here are two links. Note the address preview at the bottom of the browser.

jcarlson_0-1623941859579.png

jcarlson_1-1623941882862.png

Does this address your issue, or is it something else?

- Josh Carlson
Kendall County GIS

View solution in original post

3 Replies
John_Spence
Occasional Contributor III

Can you provide an example/screen shot of what you are looking at?  Is your link being generated by Arcade code?  If yes, can you provide that as well?

0 Kudos
jcarlson
MVP Esteemed Contributor

It does this sometimes if your URL isn't formatted just so. It's not WAB doing it, but rather the web map itself. Without the "https://" or "http://" in front of the URL, it will assume the link is a relative URL to something else in your portal / org.

Here are two links. Note the address preview at the bottom of the browser.

jcarlson_0-1623941859579.png

jcarlson_1-1623941882862.png

Does this address your issue, or is it something else?

- Josh Carlson
Kendall County GIS
by Anonymous User
Not applicable

Ah, that simple. It's been a long day...

0 Kudos