I am trying to create a fairly simple operations dashboard that displays the total number features in an indicator. When I try to create the indicator, I get an error that says "Cannot Access Data." I have the appropriate permissions to this particular feature service, and it also seems to have the correct parameters set up on the REST page (supports statistics = true, etc.).
I found a work-around to get it working by creating an application through web appbuilder and then adding the layer as an external data source. Then, when I set up an infographic the count displays correctly.... However, what I am after is having the correct count display in the widget/indicator and on the map at the same time.
For some more info/reference, I am using ArcGIS Online and the feature service is secure and requires an additional login to access it.
Please let me know if you have any ideas on how I can get the indicator to work correctly. Thank you.
Solved! Go to Solution.
To anyone still having this issue in the future, there is a possible work-around. I was trying to display a count for a feature (with attachments) published through a PostgresSQL database, which seems to have been the problem. After publishing the feature to an SQL Server database, the indicator displayed the correct number of features, even with the attachments enabled!!
Depending on the situation, creating a new database just to get the indicator to display the correct feature count hardly seems like a reasonable work-around. But, I wanted to let anyone who is having the same issue know about possible work-around...