How to access non spatial tables on webmap?

1646
1
Jump to solution
02-17-2016 08:18 AM
YazidyVaca_Barba1
New Contributor

Hello community,

I have a webmap with some non spatial tables on it. I can see them on the webmap JSON:

{

     "operationalLayers": [{

       //list of operational layers and their popupinfo

     }],

     "baseMap": {

     "baseMapLayers": [

      {

           //list of basemap layers

      }

      ]

      },

     "version": "2.1",

     "tables": [

     {

          //LIST OF TABLES AND THEIR POPUPINFO

     }

    ],

   //rest of webmap properties

}

When i load this webmap into a MapView, i couldnt find how to get a reference of any non spatial table.

I also checked the public methods on WebMap class and i can see methods to get the basemaps, bookmarks, operational layers, predefined queries, but no methods to get the tables. Perhaps im missing something, since im new to android development.

Any help would be appreciated.

0 Kudos
1 Solution

Accepted Solutions
WillCrick
Occasional Contributor

Unfortunately getting access to the tables is not supported in our 10.2.x api. The only work around is to inspect the JSON of the webmap yourself with a JSON parser.

View solution in original post

0 Kudos
1 Reply
WillCrick
Occasional Contributor

Unfortunately getting access to the tables is not supported in our 10.2.x api. The only work around is to inspect the JSON of the webmap yourself with a JSON parser.

0 Kudos