Add Hyperlink to Description Field

681
2
06-18-2019 02:08 PM
by Anonymous User
Not applicable

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:

Tags (3)
0 Kudos
2 Replies
CraigGillgrass
Esri Regular Contributor

Hi Karen,

Take a look at our schema topic:

https://doc.arcgis.com/en/workforce/android-phone/help/workforce-schema.htm

 

Specifically, the topic for Description :

Text for the mobile worker. White space is handled with the pre-line value.

 

We have plans to honor more capabilities in a future release of Workforce mobile.

0 Kudos
Brian1
by
New Contributor

Are there updates on this ? I currently pass a html hyperlink  to a survey that's generated in arcade into the description field  but would like to change it to an nicely formatted description

Thanks

 

0 Kudos