<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to get the detailed arcade script error through code with .Net SDK? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-the-detailed-arcade-script-error/m-p/820538#M2823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ArcGIS PRO .Net SDK for some Add In&lt;/P&gt;&lt;P&gt;At some point I create or modify feature through the code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have Arcade expression in attribute rule to ensure data integrity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/490642_2020-05-01 15_49_05-RoadNameChange-Addin (Debugging) - Microsoft Visual Studio.png" /&gt;&lt;/P&gt;&lt;P&gt;When I do the manipulation by hand in ArcGIS Pro, I got the same error, but it is detailed some thing like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-2 jive-image" height="220" src="https://community.esri.com/legacyfs/online/490682_gfdgdf.png" width="282" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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&amp;nbsp; would like to have the detail shown in the above image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an idea if that information is available with the SDK ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the exception object&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-3 j-img-original" src="https://community.esri.com/legacyfs/online/490683_gfdgfdgfdgdfgfdgfdgdf.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sylvain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 May 2020 20:15:14 GMT</pubDate>
    <dc:creator>SylvainHotte</dc:creator>
    <dc:date>2020-05-01T20:15:14Z</dc:date>
    <item>
      <title>How to get the detailed arcade script error through code with .Net SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-the-detailed-arcade-script-error/m-p/820538#M2823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ArcGIS PRO .Net SDK for some Add In&lt;/P&gt;&lt;P&gt;At some point I create or modify feature through the code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have Arcade expression in attribute rule to ensure data integrity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/490642_2020-05-01 15_49_05-RoadNameChange-Addin (Debugging) - Microsoft Visual Studio.png" /&gt;&lt;/P&gt;&lt;P&gt;When I do the manipulation by hand in ArcGIS Pro, I got the same error, but it is detailed some thing like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-2 jive-image" height="220" src="https://community.esri.com/legacyfs/online/490682_gfdgdf.png" width="282" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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&amp;nbsp; would like to have the detail shown in the above image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an idea if that information is available with the SDK ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the exception object&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-3 j-img-original" src="https://community.esri.com/legacyfs/online/490683_gfdgfdgfdgdfgfdgfdgdf.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sylvain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2020 20:15:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-the-detailed-arcade-script-error/m-p/820538#M2823</guid>
      <dc:creator>SylvainHotte</dc:creator>
      <dc:date>2020-05-01T20:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the detailed arcade script error through code with .Net SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-the-detailed-arcade-script-error/m-p/820539#M2824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Arcade parser is not currently available through the Pro SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2020 20:38:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-the-detailed-arcade-script-error/m-p/820539#M2824</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2020-05-01T20:38:31Z</dc:date>
    </item>
  </channel>
</rss>

