Creating Hyperlinks

646
2
Jump to solution
04-10-2023 09:05 AM
Labels (2)
DanaYoung
New Contributor III

I'm struggling with trying to create hyperlink within my pop. I want to be able to set a link that when you click the Account number for a parcel, it links to the Assessors page for that property card. I tried using the syntax of:

<a href="file://filepath" target="_top">hyperlinkname</a>, but I keep getting errors.

I'm sure I'm entering something wrong. The link to get to the specific parcel card is: https://fremontcountyco-asr-web.tylerhost.net/assessor/taxweb/account.jsp?accountNum=R012430

The last part of this link, is the specific account number, which within my feature layer I have a field named "ACCOUNTNUMBER"

I'm not sure how to put this in so when the pop up is up, this account number can just be selected and go then to the assessors site with it's specific property card. I have almost 24000 parcels, so trying to find the best way to do this, so I don't have to make 24000 separate hyperlinks for the different account numbers. I have looked at a few different documents to try to do this through ESRI, but still struggling.  Thank you for those who can help.

See screen shot.

 

0 Kudos
1 Solution

Accepted Solutions
KenBuja
MVP Esteemed Contributor

You can put that in using this syntax (with template literals). This also puts the account number as the text you can click on

`<a href="https://fremontcountyco-asr-web.tylerhost.net/assessor/taxweb/account.jsp?accountNum=${$feature.ACCOUNTNUMBER}" target="_top">${$feature.ACCOUNTNUMBER}</a>`

 

View solution in original post

2 Replies
KenBuja
MVP Esteemed Contributor

You can put that in using this syntax (with template literals). This also puts the account number as the text you can click on

`<a href="https://fremontcountyco-asr-web.tylerhost.net/assessor/taxweb/account.jsp?accountNum=${$feature.ACCOUNTNUMBER}" target="_top">${$feature.ACCOUNTNUMBER}</a>`

 

DanaYoung
New Contributor III

Thank you!! this worked and I just didn't get that "$[$feature.ACCOUNtNUMBER}" part figured out.

0 Kudos