<?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 Re: ERROR 001841: the Class was not Found%s in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/error-001841-the-class-was-not-found-s/m-p/1057939#M40922</link>
    <description>&lt;P&gt;Two links on Tech Support with that error&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEyNjU5NA==" target="_blank"&gt;BUG-000126594: Attribute rule returns the error, "Error 001841: The.. (esri.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-2-1-3-brought-new-defect-error-001841-the-class-was/td-p/351453" target="_blank"&gt;ArcGIS PRO 2.1.3 brought new defect - ERROR 001841... - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 May 2021 00:54:40 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2021-05-14T00:54:40Z</dc:date>
    <item>
      <title>ERROR 001841: the Class was not Found%s</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-001841-the-class-was-not-found-s/m-p/1057859#M40914</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I see there are a few other questions about his error, but I didn't see anything telling me what the really is causing the issues here. I am using a view in a attribute rule to get a feature set that I use a filter on to get a subset.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Can I use a view in a attribute rule, or does featuresetbyname work for a view?&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;What does "Class was not Found%s" mean? Is this a feature class that is not found, are there null values in the attribute rule?&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="javascript"&gt;var quad = $feature.Quadrant;

if ($feature.Quadrant != null) {
    var System_valve_set = filter(featuresetbyname($datastore, 'Valve', ['OBJECTID', 'WATERVALVETURNING_STATUS', 'GRID_NUM'], true), Concatenate(["GRID_NUM = ", quad], ''))
    var Valves_Exercised_This_Year = filter(featuresetbyname($datastore, 'Valve_Exercised_This_Year', ['OBJECTID', 'Status', 'GRID_NUM'], true), Concatenate(["GRID_NUM = ", quad], ''))
    var cnt = count(System_valve_set)

    // make the query for each possible situation where there could be a feature set that is null
    if (Valves_Exercised_This_Year != null &amp;amp;&amp;amp; cnt &amp;gt; 0) {
        var query = "Status = 'Closed'"
        var System_closed_valve_set = filter(Valves_Exercised_This_Year, query)
        var result = count(System_valve_set) - count(System_closed_valve_set)
        return result

    }
    else { return null }
}
else { return null }&lt;/LI-CODE&gt;&lt;P&gt;regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 21:42:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-001841-the-class-was-not-found-s/m-p/1057859#M40914</guid>
      <dc:creator>JimWilliams</dc:creator>
      <dc:date>2021-05-13T21:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 001841: the Class was not Found%s</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-001841-the-class-was-not-found-s/m-p/1057939#M40922</link>
      <description>&lt;P&gt;Two links on Tech Support with that error&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEyNjU5NA==" target="_blank"&gt;BUG-000126594: Attribute rule returns the error, "Error 001841: The.. (esri.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-2-1-3-brought-new-defect-error-001841-the-class-was/td-p/351453" target="_blank"&gt;ArcGIS PRO 2.1.3 brought new defect - ERROR 001841... - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 00:54:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-001841-the-class-was-not-found-s/m-p/1057939#M40922</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-05-14T00:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 001841: the Class was not Found%s</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-001841-the-class-was-not-found-s/m-p/1058084#M40929</link>
      <description>&lt;P&gt;Hey Dan,&lt;/P&gt;&lt;P&gt;Thank you helping me out again. The first link you shared with me was correct. Removing the comments resolved the issue. Now I just get a error saying it cant find the view. I will assume that you cant use views in Arcade.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The link to the BUG just for reference:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEyNjU5NA==" target="_blank" rel="nofollow noopener noreferrer"&gt;BUG-000126594: Attribute rule returns the error, "Error 001841: The.. (esri.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 16:52:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-001841-the-class-was-not-found-s/m-p/1058084#M40929</guid>
      <dc:creator>JimWilliams</dc:creator>
      <dc:date>2021-05-14T16:52:22Z</dc:date>
    </item>
  </channel>
</rss>

