How to get the detailed arcade script error through code with .Net SDK?

595
1
05-01-2020 01:15 PM
SylvainHotte
New Contributor II

Hello,

I am using ArcGIS PRO .Net SDK for some Add In

At some point I create or modify feature through the code. 

I also have Arcade expression in attribute rule to ensure data integrity.

Sometime, for some reason, I got and error in the code saying the Arcade Script raised an error. That is fine. But the error does not say which attribute rule.

When I do the manipulation by hand in ArcGIS Pro, I got the same error, but it is detailed some thing like this:

I try browsing the exception to get detail to find the rule name that generate the error but I can' t find more information except the "Arcade script raise an error" message. I  would like to have the detail shown in the above image.

Does anyone have an idea if that information is available with the SDK ?

Here the exception object

Thanks

Sylvain

0 Kudos
1 Reply
UmaHarano
Esri Regular Contributor

Hi 

Arcade parser is not currently available through the Pro SDK.

Uma

0 Kudos