Use domain code and description in pop-ups
Hi all,
Is there a way to choose domain value vs domain description in a pop-up? I need to use the domain description of an attribute in my pop up, but need the domain code as token in a URLs to hyperlink to a doc hosted on a web server.
Using Geocortex Viewer for HTML5.
Thanks!
0
-
Hi Lisa,
If you're using 4.12 or higher, you can do it with an Arcade expression. In the layer's "Arcade Expressions" tab, make a new one and use this as the expression:
$feature["FieldName"]
(replace FieldName with the actual case-sensitive field name). Then when you use the Editor window for the Feature Description, the "Replacement Token" list will have your arcade expression in it. That replacement token should contain the "code" value from the field instead of the "description" value
Here's some resources for Arcade in Geocortex:
https://docs.geocortex.com/essentials/latest/admin-help/Default.htm#ge/admin/arcade-expressions.htm
https://support.geocortex.com/essentialsGSCkbaDetail?sub-nav=kba&main-nav=essentials&id=kA65x000000TvheCAC
https://www.geocortex.com/implementing-arcade-expressions-in-geocortex-essentials-geocortex-tech-tip/0 -
Hi Amanda, thanks for the tip! Unfortunately my organisation is still running on 4.6, so I don't have access to Arcade expressions yet :-/ 0
Please sign in to leave a comment.
Comments
2 comments