I am working on creating a hyperlink by configuring the popup through Attribute Expressions. The purpose is to create a telephone call link for all of the Municipalites. I have all of the numbers for all of the police departments and want to insert them into some HTML text which will be populated by creating a virtual field in Attribute Expressions.
When I have the full HTML in the field, the hyperlink is created, but when I write out the code by using Attribute Expressions below the HTML text just shows up with no link.
I would prefer to keep using a list of attributes instead of a custom display as I think this looks more professional, and would like to populate the HTML code as apposed to changing the HTML every time so that people more involved with the call center activities can make changes to the phone numbers.
var phone = $feature.Police_Num1 '<a href="tel:91' + phone + '">' + phone + '</a>'
Has anyone else had this issue or know how to solve for it?