<?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: Cannot access data error - Operations Dashboard in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86108#M461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new Operations Dashboard for ArcGIS app should be able to work with map services that contain query layers. I would suggest you recheck your access and permissions settings for the data and web service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2018 17:15:59 GMT</pubDate>
    <dc:creator>DerekLaw</dc:creator>
    <dc:date>2018-05-02T17:15:59Z</dc:date>
    <item>
      <title>Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86107#M460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been trying out the new Operations Dashboard, but have to use services that are fed from our Oracle database through query layers, the published as map services to our AGS (10.6).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the old Operations Dashboard, I could load the layers from the service into a map and then use those to feed widgets.&amp;nbsp; In the new application (web based) I get an error on all of these layers "Cannot Access Data".&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone successfully done this with data that is being published from a query layer?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 18:33:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86107#M460</guid>
      <dc:creator>LSaunders</dc:creator>
      <dc:date>2018-04-30T18:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86108#M461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new Operations Dashboard for ArcGIS app should be able to work with map services that contain query layers. I would suggest you recheck your access and permissions settings for the data and web service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 17:15:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86108#M461</guid>
      <dc:creator>DerekLaw</dc:creator>
      <dc:date>2018-05-02T17:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86109#M462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Derek!&amp;nbsp; My access is fine, the server has the database added as it is on my production server.&amp;nbsp; I can add the services to a map, have them refresh as per usual.&amp;nbsp; Still get the error.&amp;nbsp; This is for any and all query layers coming from our Oracle databases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 17:19:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86109#M462</guid>
      <dc:creator>LSaunders</dc:creator>
      <dc:date>2018-05-02T17:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86110#M463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please contact Esri Tech Support and open a ticket so they can investigate your issue further?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 22:03:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86110#M463</guid>
      <dc:creator>DerekLaw</dc:creator>
      <dc:date>2018-05-02T22:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86111#M464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Turns out this is &lt;STRONG&gt;not&lt;/STRONG&gt; supported!&amp;nbsp; Talked to tech support and the functionality is not possible, and they were not sure if it is on the list for consideration. There is an enhancement request and an idea on the ideas page. I'll update when I have this information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 17:51:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86111#M464</guid>
      <dc:creator>LSaunders</dc:creator>
      <dc:date>2018-05-15T17:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86112#M465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Extra information...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;There is also an ArcGIS Idea on which you can vote and add a comment:&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/ideas/6954"&gt;https://community.esri.com/ideas/6954&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt; Here is a Geonet post on the topic with a reply from a member of the development team:&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/thread/70899"&gt;https://community.esri.com/thread/70899&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Enhancement request:&amp;nbsp;NIM088331 : Allow outStatistics to be calculated in the Query operation on a map service for query layers.&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 18:04:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86112#M465</guid>
      <dc:creator>LSaunders</dc:creator>
      <dc:date>2018-05-15T18:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86113#M466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does ESRI have any documentation on what operations&amp;nbsp; are currently not supported with data from query layers?&amp;nbsp; I am seeing sorting issues of queries performed on query layers as 1 example of loss of functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 20:08:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86113#M466</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-05-15T20:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86114#M467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A lot of the linked to posts in the above are old and some (but not all) things have changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally speaking, Operations Dashboard supports whatever service layers advertise they support (or at least, we try to). Behind the scenes, the service layer's REST endpoint will contain metadata that tells us what we can do with the service. Look for JSON something like the following (I've highlighted some of the ones that are looked at)&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #999999; font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN style="color: #333333;"&gt;&lt;STRONG&gt;"supportsAdvancedQueries": true,&lt;/STRONG&gt;&lt;/SPAN&gt; 
"supportedQueryFormats": "JSON, AMF, geoJSON",&amp;nbsp; 
"ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},&amp;nbsp; 
"useStandardizedQueries": true,&amp;nbsp; 
"advancedQueryCapabilities": {&amp;nbsp;&amp;nbsp; 
&lt;SPAN style="color: #333333;"&gt;&lt;STRONG&gt;&amp;nbsp; "useStandardizedQueries": true,&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; 
&lt;SPAN style="color: #333333;"&gt;&lt;STRONG&gt;&amp;nbsp; "supportsStatistics": true,&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; 
&amp;nbsp; "supportsHavingClause": true,&amp;nbsp;&amp;nbsp; 
&lt;SPAN style="color: #333333;"&gt;&lt;STRONG&gt;&amp;nbsp; "supportsOrderBy": true,&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; 
&amp;nbsp; "supportsDistinct": true,&amp;nbsp;&amp;nbsp; 
&amp;nbsp; "supportsPagination": true,&amp;nbsp;&amp;nbsp; 
&amp;nbsp; "supportsTrueCurve": true,&amp;nbsp;&amp;nbsp; 
&amp;nbsp; "supportsReturningQueryExtent": true,&amp;nbsp;&amp;nbsp; 
&amp;nbsp; "supportsQueryWithDistance": true,&amp;nbsp;&amp;nbsp; 
&amp;nbsp; "supportsSqlExpression": true&amp;nbsp; 
},&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Tip: Operations Dashboard&amp;nbsp;likes useStandardizedQueries=true. This is a setting on your Server/Portal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If &lt;SPAN&gt;useStandardizedQueries=true and&amp;nbsp;&lt;/SPAN&gt;you have a service layer that advertises it supports something but are still having problems, we'd have to look deeper for an explanation. It could be a bug in Operations Dashboard, in the service implementation, or maybe even in the database.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime, a workaround **might** be to sling the summary statistic queries in the query layer definition itself. In Operations Dashboard, you can then create your visualizations using the 'Features' option rather than the 'Grouped Values' option.&amp;nbsp;For example, the following query (SQL Server) creates a query layer for crime counts in the last 24 hours, broken down by crime type.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'courier new', courier, monospace;"&gt;SELECT COUNT(*) AS incident_count, ucr_type from CrimeDB.dbo.incidents&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px; font-family: 'courier new', courier, monospace;"&gt;WHERE DISPATCH_DATE_TIME &amp;gt;= DATEADD(hour,-24, GETUTCDATE()) and DISPATCH_DATE_TIME &amp;lt;= GETUTCDATE()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px; font-family: 'courier new', courier, monospace;"&gt;GROUP BY ucr_type &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Note: To create query layers like this, I believe you'd need Pro as ArcMap might not be up to the task).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:18:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86114#M467</guid>
      <dc:creator>patrickb</dc:creator>
      <dc:date>2021-12-10T23:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86115#M468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The links above were provided by tech support yesterday!&amp;nbsp; They confirmed that I could not use my xy event layers from my query layers in Operations Dashboard.&amp;nbsp; My query layers work well in the Windows Operations Dashboard and I use them on a daily basis in other maps and applications. I can't group by in the query as I need the individual points for incidents and we have moving patrol vehicles that we track a count of.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 14:33:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86115#M468</guid>
      <dc:creator>LSaunders</dc:creator>
      <dc:date>2018-05-16T14:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86116#M469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies. I meant that the posts/threads origins were a bit dated, not that the links had not been provided recently. I believe they were both created circa 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XY event layers add another layer of complexity, and a different set of factors comes into play. When creating the query layer that your XY event layer is based on, are you able to make sure you use one (integer) field as the unique identifier?&amp;nbsp; I did this (in Pro), published my map. and was able to create summary statistics and charts in a dashboard.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, maybe you can take advantage of your Oracle database's built-in functionality (assuming it is spatially enabled). I don't have an Oracle instance handy, but I was able to create a query layer like the following (i.e. create the point on the fly using SQL Server's built-in abilities),&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;publish the map,and again was able to create summary statistics and charts in a dashboard.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;select ID,DC_DIST,SECTOR,DISPATCH_DATE_TIME,LOCATION_BLOCK,UCR_GENERAL,TEXT_GENERAL_CODE,DIV_NAME,PSA_NUM,TimeBlock,UCR_CATEGORY,UCR_Type,geometry::STGeomFromText('POINT('+convert(varchar(20),X)+' '+convert(varchar(20),Y)+')',3857) as SHAPE from &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;CrimeDB.dbo.crime_incidents&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;WHERE DISPATCH_DATE_TIME &amp;gt;= DATEADD(hour,-24, GETUTCDATE()) and DISPATCH_DATE_TIME &amp;lt;= GETUTCDATE()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If none of this works, are you able to use map services that have both a layer (i.e. the xy event layer) and a stand alone table? In that case, the idea is to use the layer on the map, but the stand alone table for the other visualizations. (Interactivity between elements via actions should still be possible as there will be a common field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: The way Windows Operations Dashboard and the new web-based Operations Dashboards works for doing things like counts is fundamentally different (client side vs server side) and the troubleshooting steps will be a bit different. Hopefully we can get something to work for you. Please feel free to reach out to us at&amp;nbsp;&lt;A href="mailto:dashboard4arcgis@esri.com"&gt;dashboard4arcgis@esri.com&lt;/A&gt;&amp;nbsp;if you'd like to move this to a private thread.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 16:21:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86116#M469</guid>
      <dc:creator>patrickb</dc:creator>
      <dc:date>2018-05-16T16:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86117#M470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patrick -- I'm having a related problem and I was hoping you could provide insight. I am able to get query layers to work in my dashboard items (the query layers are coming from SQL server, similar to what your setup seems to be). However, I don't have any options to create Actions in any of the items (charts, lists, etc) with the layers that are built on query layers. There are no Actions tabs to configure when I choose these data sources. Patrick, are you able to use Actions with your query layer feature services or is this not possible in Ops Dashboard?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 16:11:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86117#M470</guid>
      <dc:creator>ShelbyZelonisRoberson</dc:creator>
      <dc:date>2018-05-22T16:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86118#M471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;So I was running into similar problems and will give a rundown of my findings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;In my case, we have capitol improvement points and lines on a map. &amp;nbsp;I am creating a dashboard to filter by year, type, status, etc using the widgets instead of selectors. &amp;nbsp;I needed a table with all the records to supply data to the widgets/metrics from both points and lines. &amp;nbsp;The fields in the points and lines match, so I created a sql view to union the points and lines into a table, then created a new objectid from the globalid’s. Then registered the view with the geodatabase.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;Quasi code below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN style="color: #000000;"&gt;select c.*, cast(&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px;"&gt;ROW_NUMBER&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px;"&gt;OVER&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px;"&gt;ORDER by c.globalid&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px;"&gt;&amp;nbsp;as int)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px;"&gt;As objectid&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;from&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;(points union lines) c&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;this gave me the table I needed for the metrics. &amp;nbsp;When using it in the dashboard I could create metrics, but as another poster mentioned, I could not use widgets using data from the table to control layers on the map even though the fields matched 1 to 1. &amp;nbsp;Conversely, I could use layer selections on the map to filter the widgets created by the standalone table. &amp;nbsp;So it works in one direction, but not both.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;With that attempt thwarted, I decided to go the sql spatial route. &amp;nbsp;I got the x,y from the points, then created an x,y from the lines based on the nearest point on a line to the centroid of the feature extent.(dealing with multiple line segments per feature). &amp;nbsp;With the x,y’s, I updated the view to a spatial view of points. Same code as above, adding in the logic to pull x,y’s from both tables, then geometry::point(x,y,srid) as shape after the row_number function. &amp;nbsp;In this attempt I could see the points, see the attribute table, etc..., in the map. &amp;nbsp;But when trying to create a metric with the service, I got the cannot acces data icon. &amp;nbsp;Same sharing as before.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;third attempt, create the table view as before only adding in the x,y’s as fields. &amp;nbsp;Then create a query layer in pro and generate the points in the query layer instead of the view. &amp;nbsp;I used the globalid as my uniqueid in the query layer spatial properties window which then generates your esri_oid. &amp;nbsp;Same issue as above when trying to create metrics only this time it said cannot access data of 1038 records(number of records in my query layer). &amp;nbsp;Or something similar. &amp;nbsp;Still didn’t work, but an error at least giving me the count of records in the layer. (I’ll note that even though it says it can’t access the data, if you select a drop down to select fields for statistics, etc, all the fields from the layers populate). Progress.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;final attempt. for some reason, I was stuck on objectid being the issue. &amp;nbsp;I was using globalid in the spatial properties window of the query layer dialog as my unique Id because it defaults to that. &amp;nbsp;But I had also created a new objectid in the union view, so it was also unique. &amp;nbsp;I used objectid as my unique Id in the spatial properties window and created the query layer. &amp;nbsp;This time, the query layer created, but did not create an esri_oid field and instead made my objectid field the unique Id field with the field type objectid instead of integer. &amp;nbsp;Plugged this layer into the dashboard and everything worked flawlessly. &amp;nbsp;Success.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;now, I didn’t go any further down the rabbit hole to test why it wasn’t working before. &amp;nbsp;Did it need a field called objectid to be the unique identifier? &amp;nbsp;Did the fact I had objectid as an integer field in my query layer throw everything off because it wasn’t the designated unique field? &amp;nbsp;I’m guessing one or both of those 2 is the problem but I didn’t test.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;Notes::&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;as stated above. &amp;nbsp;Creating widgets from standalone tables and then trying to filter map layers by those tables didn’t give an action option for the map layers.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;now, I still have my cip polylines. &amp;nbsp;I’ve created a centroid point for them, but still want to show the associated lines when I select a&amp;nbsp;point on the map.(using globalid as my connection between the 2 layers). &amp;nbsp;I can filter just the lines I want when I select a point. &amp;nbsp;But, when I don’t have a point selected, all the lines show up and I can’t control them with the widgets either since they were created using the points query layer. &amp;nbsp;The question I have is. &amp;nbsp;Is there a way to default a layer to filter out all the features and only show a feature after an action. &amp;nbsp;In my case, I select a point on the map and the lines associated with that point show up. &amp;nbsp;If no points are selected, all the lines are “hidden”. &amp;nbsp;If not, is this functionality on the radar for dashboards?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;&lt;SPAN class="" style="border: 0px;"&gt;sorry for the extremely long winded response. &amp;nbsp;I was hoping to give users a workaround or ideas as to why the query layers may not be working as well as provide enough information for debugging purposes. &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 01:51:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86118#M471</guid>
      <dc:creator>DarrenHaag</dc:creator>
      <dc:date>2018-05-28T01:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86119#M472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Darren's response was the answer to my dilemma. After seeing the error "&lt;SPAN style="background-color: #ffffff;"&gt;&lt;EM&gt;Cannot Access Data&lt;/EM&gt;" with my spatial view,&lt;/SPAN&gt; I was finally able to get the new "web-based" Op Dashboard to work by using OBJECTIDs. This works even with our legacy ArcGIS Server 10.3.1 / SQL 2008 R2 environment. I'll try to sum it up as best I can:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key seems to be to use the OBJECTID attribute rather than the GLOBALID when you define the unique identifier in ArcMap. I have a pretty simple 1:M relationship modeling Hydrants(1):Events(M). The relationship class keys are Hydrant(GLOBALID):Event(GUID). Both the feature class and event table are in the same SDE geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When adding the spatial view to ArcMap to create an ArcGIS Server map service, I was originally using the Event GLOBALID as the unique identifier. While the Event GLOBALID is unique, any time you add the service to the Op Dashboard it would give the message "&lt;EM&gt;Cannot Access Data.&lt;/EM&gt;" From there you couldn't create pie or serial charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SOLUTION: I re-created the map service using the Event OBJECTID as the identifier and now it works great with the Op Dashboard as well as the Web AppBuilder Infographic widgets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sidenote: The thing that was driving me most crazy was that I had other more complicated spatial views that were working the whole time while this new one was not. The other spatial views involved an SDE feature class and multiple business tables from an external asset management database. In that case, I was using the OIDs of the external database. So I can vouch that it also works outside SDE, provided you have that unique identifier.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 18:51:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86119#M472</guid>
      <dc:creator>BrianFausel</dc:creator>
      <dc:date>2018-06-21T18:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86120#M473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This helped me immensely, thank you. I had created both spatial and non spatial views without an explicit attribute called objectid. I then added these views to ArcMap using the Add query layer option.&amp;nbsp; I had defined a composite unique index in arcmap when I added these views to ArcMap. The result was my dashboard was giving the no data error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After reading &lt;A href="https://community.esri.com/migrated-users/14103"&gt;Brian Fausel&lt;/A&gt;&amp;nbsp; and &lt;A href="https://community.esri.com/migrated-users/42938"&gt;Darren Haag&lt;/A&gt; posts I altered the underlying views to include a unique int field called objectid. I then registered these views with the geodatabase&amp;nbsp; and added them to the .mxd as any other table or feature class. After these steps these views started working in dashboard without a problem. Grouping, charting etc is working fine so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create your view using SQL which includes a unique int field called objectid&lt;/LI&gt;&lt;LI&gt;register the view with the geodatabase&lt;/LI&gt;&lt;LI&gt;Add the view to ArcMap and publish feature service&lt;/LI&gt;&lt;LI&gt;add service to web map&lt;/LI&gt;&lt;LI&gt;Use the webmap to dashboard.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 04:23:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86120#M473</guid>
      <dc:creator>DrewDowling</dc:creator>
      <dc:date>2018-08-28T04:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86121#M474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In support of what's been discussed above - if you look to the definition of the "Source" - is ESRI using this to determine that an objectid exists?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Data Type: &lt;SPAN style="color: #ff6600;"&gt;XY Event Source&lt;/SPAN&gt;&lt;BR /&gt;Server:&amp;nbsp;xxxx&lt;BR /&gt;User:&amp;nbsp;xxxxx&lt;BR /&gt;Instance: sde:sqlserver:xxxxxx&lt;BR /&gt;Location:&amp;nbsp;xxxxx&lt;BR /&gt;Table:&amp;nbsp;xxxxxx&lt;BR /&gt;X Field: LONGITUDE&lt;BR /&gt;Y Field: LATITUDE&lt;BR /&gt;&lt;SPAN style="font-size: 30px;"&gt;&lt;STRONG style="color: #ff6600;"&gt;Has Object-ID Field: Yes&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 11:52:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/86121#M474</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-10-23T11:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access data error - Operations Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/1000596#M4026</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe anyone have video how to solve this problem? Tanks&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 09:42:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-access-data-error-operations-dashboard/m-p/1000596#M4026</guid>
      <dc:creator>ABVŠT</dc:creator>
      <dc:date>2020-11-12T09:42:13Z</dc:date>
    </item>
  </channel>
</rss>

