Configurate Pop up

254
4
11-22-2021 10:15 AM
Jcordovafredes
Occasional Contributor II

Hello everyone, it is possible to configure a button in the pop ups with different links.
Example
Link 1 -> Survey 1
Link 2 -> Survey 2
Link 3 -> Survey 3

0 Kudos
4 Replies
ABishop
Regular Contributor III

Yes.  Arcade expression. Use something similar to the code I pasted below - of course use the URLs for the surveys to replace mine.

'https:'+TextFormatting.ForwardSlash + TextFormatting.ForwardSlash+'www.pa.marion.fl.us'

You would then add the expression to your pop-up like you do a field.

Amanda Bishop, GISP
0 Kudos
berniejconnors
Occasional Contributor III
Yes - you can add your own HTML to a pop-up so it would be quite easy to add a list of 3 hyperlinks to a pop-up. Here is a blog article on the topic:
https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/configure-pop-ups-custom-attribute-d...
Bernie.
Jcordovafredes
Occasional Contributor II

what I did was configure these 3 links in arcade, then in the pop up only the expression would go, now the problem is that I am having is that this expression leaves me without a hyperlink, so it does not fulfill the function that I want

Jcordovafredes_0-1637759861476.png

 

Jcordovafredes_1-1637759883593.png

because the url of survey123 appears in its html structure

0 Kudos
ABishop
Regular Contributor III

What web map viewer are you using?  Classic or the New one?

Amanda Bishop, GISP
0 Kudos