Add Image to instance_name using Survey123 Connect

205
1
02-18-2021 08:45 AM
MarkEastwood
New Contributor III

I am trying to build an instance_name that includes an image like the example below..

https://community.esri.com/t5/arcgis-survey123-blog/understanding-the-instance-name-setting/bc-p/898...

MarkEastwood_0-1613666631792.png

instance_name:

concat(⚠️, "<b>Subregion:</b> ", ${subregion}, " ", "Circuit: ", ${circuit}, " ", "Span From: ", ${span_from}, " ", "Span To: ", ${span_to})

error:

MarkEastwood_0-1613667263898.png

 

I am not having much luck getting this to work. Are there any examples on how to do this?

Thanks!

 

0 Kudos
1 Reply
Jim-Moore
Esri Regular Contributor

Hi @MarkEastwood your syntax above is almost there, but try enclosing the emoji in quotes, e.g.

concat("⚠️","<b>Subregion:</b> ", ${subregion}, " &#9888; ", "Circuit: ", ${circuit}, " ", "Span From: ", ${span_from}, " ", "Span To: ", ${span_to})

Also ensure you're copying and pasting the actual emoji character into the string in Excel. The link that Ismael references in this post is a useful reference for emoji characters.

Hope this helps. Best, Jim

0 Kudos