Attribute Table Error Message

963
6
11-21-2016 12:41 PM
AntoineBartholomew
New Contributor III

Has anyone seen this error when using the attribute table?  The error message reads: 

Data not available

Click [Refresh] button to try again

0 Kudos
6 Replies
deleted-user-CQZbjNeBXm49
Occasional Contributor III

Antoine,

No I haven't but I had recommend you take proper look at the underlying data source (Table) first, and also what server (ArcGIS Online or ArcGIS Server) are you using?

Baba

0 Kudos
AntoineBartholomew
New Contributor III

Thanks for the reply Baba,

I am confused because I am working with a service that has several sub layers.  Layers 0 and 2 work just fine within the attribute table, while the others give me the error message.  These services are hosted on ArcGIS server v 10.2.  I am pulling in the feature services into the map using the operational layers structure, with out using a web map. 

0 Kudos
deleted-user-CQZbjNeBXm49
Occasional Contributor III

Hi Antoine,

I have had this same issue before, and all I did was to go back my mxd doc, check that the tables and fields were fine, then re-published the map service, did a browser base (MapServer/1/query) query to validate, then re-add the feature service.

NB: On the side what do you mean by " using the operational layers structure, with out using a web map"?

Baba

0 Kudos
AntoineBartholomew
New Contributor III

Thanks for the reply.  I am not sure that re-publishing the services is the solution.  I say this because, I am able to use the attribute table on the same feature services hosted within the GIS-Portal, but when I build out the web app using the same feature services outside of the portal (using operational layers), I receive the Data not available, Click Refresh button to try again error.  I just can not understand why the attribute table works with some feature layers (0,2) and not all the layers...

Side Note: 

Operational Layers - are used to pull in the same info hosted within a web map, but without using a web map.  See the following code snippet: 

 "map": {
        "3D": false,
        "2D": true,
        "position": {
            "left": 325,
            "top": 40,
            "right": 0,
            "bottom": 0
        },
        "id": "map",
        "itemId": {
            "item": {
                "title": "Translink Map Service gisapd01 webmap",
                "type": "Web Map",
                "description": null,
                "tags": [
                    "translink"
                ],
                "snippet": "Translink Map Service gisapd01 webmap",
                "thumbnail": null,
                "documentation": null,
                "extent": [
                    [
                        -123.309,
                        49.0408
                    ],
                    [
                        -122.5509,
                        49.3567
                    ]
                ],
                "spatialReference": null,
                "accessInformation": null,
                "licenseInfo": null,
                "culture": "en-us"
                        },
            "itemData": {
                "operationalLayers": [
                    {
                        "id": "ViewerBusStop_8025",
                        "layerType": "ArcGISMapServiceLayer",
                        "url": "http://gisapd01.translink.bc.ca/cmbc/rest/services/BusStop/ViewerBusStop/MapServer",
                        "visibility": true,
                        "visibleLayers": [
                            0,
                            6,
                            7
                        ],
                        "opacity": 1,
                        "title": "Bus Stop Viewer",
                        "layers": [
                            {
                                "id": 6,
                                "popupInfo": {
                                    "title": "Bus Route: {LINEABBR}",
                                    "fieldInfos": [
                                        {
                                            "fieldName": "OBJECTID",
                                            "label": "OBJECTID",
                                            "tooltip": "",
                                            "visible": false,
                                            "stringFieldOption": "textbox"
                                        },
                                        {
                                            "fieldName": "SERVICE",
                                            "label": "Service",
                                            "tooltip": "",
                                            "visible": true,
                                            "format": {
                                                "places": 0,
                                                "digitSeparator": true
                                            },
                                            "stringFieldOption": "textbox"
                                        }
                                    ],
                                    "description": null,
                                    "showAttachments": true,
                                    "mediaInfos": [ ]
                                }
                            }

.............

AntoineBartholomew
New Contributor III

ArcGIS web map JSON format 

The link above details how I worked with WAB with out a web map.  Babatope.Adebajo@hertfordshire.gov.uk_hertscc

deleted-user-CQZbjNeBXm49
Occasional Contributor III

Thanks Antoine,

I hope you found a solution to the attribute error?.

Baba

0 Kudos