AnsweredAssumed Answered

Add Hyperlink to Description Field

Question asked by karen_firstname on Jun 18, 2019
Latest reply on Jun 20, 2019 by cgillgrass-esristaff

Hi,

 

Is there a way to add a hyperlink into the description field? Similar to how you can add hyperlinks to a pop-up?

 

We are updating the description field through Python so looks like this, but we want the hyperlink text "EDIT" to come up:

 

for a in assignment_features:

 

Global = a.attributes['GlobalID']
URL = '"https://mylink.com/{0}"'.format(Global)
link = '<a href={0}>EDIT</a>'.format(URL)
desc = "{0}\n\n Call the customer".format(link)
a.attributes['description'] = desc
assignments_FL.edit_features(updates = all_features)

 

This is how it looks in the description:

 

Outcomes