Trying to pass a value to a URL. Same pattern that I use on a different layer to link to items in a different SP site.
Note: for this post I renamed the URL to my sharepoint site to myurl.
var url = 'myurl/'
var addr = UrlEncode($feature.Address) - (testing works without using urlencode too)
var con = concatenate(url,addr,'.pdf')
return con
Test shows this: https://myurl/717%20FIRST%20ST.pdf. It opens the card
Back in the map the hyperlink is always missing the address. https://myurl/.pdf
I tried this:
return 'https://myurl/' + $feature.Address+'.pdf' and it didn't pass the address in the popup but in the Arcade test window it was correct.