Download Related Table

3045
1
02-28-2016 01:41 PM
HaniDraidi
Occasional Contributor II

I have a feature service that contains feature class for parcels and its related table (both are sync enabled) when I download the data to my android device for offline use (as in this guide), I just get the feature class without the related table.

How can I download the related table also?

Any Help is appreciated!

0 Kudos
1 Reply
WillCrick
Occasional Contributor

For each related table you want to download from the service, you should create a related features LayerQuery​ to your GenerateGeodatabaseParameters​​ LayerQueries array to say that you want related features before you submit your generate geodatabase method on the GeodatabaseSyncTask. 

0 Kudos