I'm trying to add a URL to a pop up that uses one of the attribute fields as part of the URL. Which I can do with a custom attribute expression using arcade. However, to get it to go to the correct URL I need to include the <a href for the URL, for example, this works:
In your Arcade script use a template literal (string enclosed in backticks) with your feature attribute in a placeholder (the ${} syntax). Your return should look like this:
return `<a href="https://assessor.stlouiscountymo.gov/realestate/AsmtInfo.aspx?Locator=${$feature.LOCATOR}">Click Here</a>`
Thank you! However, when I try that, this is the output I get:
Are you calculating a new/temporary field on this dataset? Are you using a popup with multiple content types? I'm thinking you may need to put this in a text content type so the html renders properly.