<?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 Category Selector - 'Cannot Access Data' due to ArcGIS Server 10.9 BUG-000142623 in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/category-selector-cannot-access-data-due-to-arcgis/m-p/1293894#M7881</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a dashboard that worked all last year, but we recently upgraded to ArcGIS GIS Server 10.9 and now I encountered a &lt;A href="https://support.esri.com/en-us/bug/the-error-message-invalid-data-type-for-expression-expr-bug-000142623" target="_self"&gt;BUG-00142623&lt;/A&gt; so I now get a 'cannot access data' using a field that is text field with dates.&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;"The error message, "Invalid data type for expression &amp;lt;expression&amp;gt;." is returned when applying a query in a string field for values formatted as '1/1/2021 12:15:59' with hosted feature services in ArcGIS Server 10.9 relational or spatiotemporal ArcGIS Data Store. "&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;It is fixed in version 11.0, but our organization will not be upgrading to this for some time. Based on the support page below is the current work around.&lt;/P&gt;&lt;H2&gt;&lt;FONT size="3"&gt;"Workaround&lt;/FONT&gt;&lt;/H2&gt;&lt;P&gt;Prefix the string with 'N'. For example, Where: test = N'1/1/2021 12:15:59'. "&lt;/P&gt;&lt;P&gt;How can I apply this in my dashboard for the category selector to work again with the dates as text field? I was trying to use a data expression, but so far have been unsuccessful.&lt;/P&gt;&lt;P&gt;This is very frustrating since it all was working fine.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Kathy&lt;/P&gt;</description>
    <pubDate>Mon, 29 May 2023 18:24:32 GMT</pubDate>
    <dc:creator>kmsmikrud</dc:creator>
    <dc:date>2023-05-29T18:24:32Z</dc:date>
    <item>
      <title>Category Selector - 'Cannot Access Data' due to ArcGIS Server 10.9 BUG-000142623</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/category-selector-cannot-access-data-due-to-arcgis/m-p/1293894#M7881</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a dashboard that worked all last year, but we recently upgraded to ArcGIS GIS Server 10.9 and now I encountered a &lt;A href="https://support.esri.com/en-us/bug/the-error-message-invalid-data-type-for-expression-expr-bug-000142623" target="_self"&gt;BUG-00142623&lt;/A&gt; so I now get a 'cannot access data' using a field that is text field with dates.&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;"The error message, "Invalid data type for expression &amp;lt;expression&amp;gt;." is returned when applying a query in a string field for values formatted as '1/1/2021 12:15:59' with hosted feature services in ArcGIS Server 10.9 relational or spatiotemporal ArcGIS Data Store. "&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;It is fixed in version 11.0, but our organization will not be upgrading to this for some time. Based on the support page below is the current work around.&lt;/P&gt;&lt;H2&gt;&lt;FONT size="3"&gt;"Workaround&lt;/FONT&gt;&lt;/H2&gt;&lt;P&gt;Prefix the string with 'N'. For example, Where: test = N'1/1/2021 12:15:59'. "&lt;/P&gt;&lt;P&gt;How can I apply this in my dashboard for the category selector to work again with the dates as text field? I was trying to use a data expression, but so far have been unsuccessful.&lt;/P&gt;&lt;P&gt;This is very frustrating since it all was working fine.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Kathy&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 18:24:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/category-selector-cannot-access-data-due-to-arcgis/m-p/1293894#M7881</guid>
      <dc:creator>kmsmikrud</dc:creator>
      <dc:date>2023-05-29T18:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Category Selector - 'Cannot Access Data' due to ArcGIS Server 10.9 BUG-000142623</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/category-selector-cannot-access-data-due-to-arcgis/m-p/1296266#M7909</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I upgraded to 10.9.1 over the weekend and I had the same issue with my dashboard.&amp;nbsp; Spent almost a day trying to fix the issue,&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/ops-dashboard/data-management/using-query-layers-in-dashboards/%C2%A0" target="_self" rel="nofollow noopener noreferrer"&gt;Using Query Layers in Operation Dashboard&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;method didn't resolve the issue until I see your post regarding the bug.&amp;nbsp; This is what I did, for my event schedule table, I changed the start date field with prefix 'N', 'N' 5/25/2023 and this made the category selector works on the dashboard.&amp;nbsp; At this point, category is displaying as 'N' 5/25/2023, go to the "Selector" tab and under the label to "Load Category" and remove the 'N' from the label.&amp;nbsp; Please see attached images.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 15:10:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/category-selector-cannot-access-data-due-to-arcgis/m-p/1296266#M7909</guid>
      <dc:creator>Pei-SanTsai</dc:creator>
      <dc:date>2023-06-06T15:10:31Z</dc:date>
    </item>
  </channel>
</rss>

