Problem in Popup with URL without HTTP/HTTPS

1881
3
Jump to solution
06-14-2017 02:20 AM
FlavieMORAUX1
Occasional Contributor

Hi,

I encounter a problem in Popup (WebMap and WebApp) with URL whitout HTTP/HTTPS.

  • Link is not clickable
  • Link is wrong (prefixed with webmap/webapp URL)

Problem depend of popup display mode:

  • Mode "List of field attributes"

Display Mode "A list of field attributes"

==>Link is not clickable

  • Mode "Custom attribute display"

Display mode "Custom attribute display"

==> Link is wrong (prefixed with webmap/webapp URL), so it does not work

From WebMap URL is prefixed with « http://capgeo.maps.arcgis.com/home».

From WebApp URL is prefixed with « http://capgeo.maps.arcgis.com/apps» .

 

My questions :

  • Do URLs have to be prefixed with HTTP¨/HTTPS?
  • Behavior difference between two mode (List/custom) is normal?

Thanks for your advices,

Flavie

0 Kudos
1 Solution

Accepted Solutions
FC_Basson
MVP Regular Contributor

The short answer is yes.  HTTP(S) prefixes are required to generate automatic hyperlinks in the popup.

See this page https://blogs.esri.com/esri/arcgis/2016/08/24/url-parameters-in-pop-ups/  and Supported HTML—ArcGIS Online Help | ArcGIS 

View solution in original post

3 Replies
FC_Basson
MVP Regular Contributor

The short answer is yes.  HTTP(S) prefixes are required to generate automatic hyperlinks in the popup.

See this page https://blogs.esri.com/esri/arcgis/2016/08/24/url-parameters-in-pop-ups/  and Supported HTML—ArcGIS Online Help | ArcGIS 

FlavieMORAUX1
Occasional Contributor

Thank you!

And from my side I also found reference of similar problem : BUG-000096662 : A CSV with attribute that contains URL values set as hyperlink in ArcGIS Online pop-ups fails to redirect to the right page if it does not contain "HTTP://".

 

So the only solution for me is :

  • Have URL with HTTP/HTTPS protocol;
  • Or use custom Popup and Prefix URL with HTTP/HTTPS

Flavie

ChristineSharp
New Contributor

We have a linked field in a configured popup for a portal map which opens the website in that field.  THe issue is, not all of the website entries have the 'http://" added to the beginning.  How do I find the values without "http://" and then add it in the link so all the website values will work?  I have tried using IIF function in the arcade expression window, but cannot find the correct way to use a 'LIKE' statement with a wildcard.

I am not terribly familiar with the Arcade syntax and have not been able to find examples to learn how to set this up - any ideas?

0 Kudos