Select to view content in your preferred language

Extra characters added to hyperlink url on image in popups

470
0
01-18-2024 02:20 PM
Labels (1)
Kbray_gis_
Occasional Contributor

I'm currently setting up pop-ups in Map Viewer that have a url hyperlink that opens up our property system.

These work within map viewer classic, however when migrating these over to the new map viewer it appears to add additional characters into the URL as your about to click.

The URL is made in arcade and looks like the following:

var url = 'pathway://XXXX/XXXXX/display?enquiry=1&tpklapclas=297&tpklapappl=' +$feature.tpklapappl

return url

it then returns the expected output, and this works when clicking on it in map viewer classic and launches the program,

however when i have the same popup in the new map viewer, it adds additional characters after the ampersands which then stops it from opening the program to the correct record it looks like the following when you hover over it:

pathway://XXXX/XXXXX/display?enquiry=1&tpklapclas=297&tpklapappl=' +$feature.tpklapappl,

The link at the moment is set up on an image in the popup that you click on, this was the same for map viewer classic,

Is there a way to have it remove the #38; from appearing? it doesn't turn up when testing,

Kind regards

Keiran

0 Replies