Is there a method or query when generating an offline geodatabase from a hosted feature service that generates only the schema of the feature service without replicating any data? This is for an app whose sole purpose is to collect and send data.
Solved! Go to Solution.
When you set up your GenerateGeodatabaseParameters, you should be able to modify the list of LayerQuery objects. For each one of those (i.e. each layer), set the queryOption to Enums.QueryOptionNone. This should pull only the schema and no features so you can work in this "upload only" type of workflow. With our Quartz release of the Runtime API, we will have this revamped to be a bit clearer and doc'd better.
When you set up your GenerateGeodatabaseParameters, you should be able to modify the list of LayerQuery objects. For each one of those (i.e. each layer), set the queryOption to Enums.QueryOptionNone. This should pull only the schema and no features so you can work in this "upload only" type of workflow. With our Quartz release of the Runtime API, we will have this revamped to be a bit clearer and doc'd better.