Get feature display value when using arcade expression

768
1
Jump to solution
05-31-2018 01:19 PM
BenoitPronovost1
New Contributor III

I'm trying to extract the display value of a feature (returned by a selection), but I'm running into a problem when the display field is based off an arcade expression. 

When the DisplayField is based on an attribute,I can extract the DisplayField from the CIMFeatureTable and get the display value from the Row, but this does not work when the display field is uses an Arcade expression. I'm able to extract the CIMExpressionInfo, but I cannot "render" it to generate the Display Value.

Is there a way to get the display field value of a feature? 

0 Kudos
1 Solution

Accepted Solutions
CraigWilliams
Esri Contributor

We currently lack an API that exposes the ability to retrieve the expression result. We've logged an enhancement for this to be added in a future release.

View solution in original post

1 Reply
CraigWilliams
Esri Contributor

We currently lack an API that exposes the ability to retrieve the expression result. We've logged an enhancement for this to be added in a future release.