Add Hyperlink to Description Field

258
1
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
1 Reply
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