Hi experts,
Hoping someone can help explain why this isn't working for me. Using .NET 100.10, I'm trying to use one of the test ESRI services to download a feature layer for offline use. Any feature layer service will do for my purposes. I actually tried all 3 of the WildFireSync URLs, but none are working for me. If someone has another publicly accessible URL, that would be great too. When my code runs, I keep getting the following error from the CreateAsync method:
Esri.ArcGISRuntime.ArcGISRuntimeException: Invalid request response: The feature service does not support geodatabase sync.
Here is my code:
url = "https://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/WildfireSync/FeatureServer/1";
GeodatabaseSyncTask syncTask = await GeodatabaseSyncTask.CreateAsync(new Uri(url));
I thought the point of those WildFireSync services was to support sync testing? Am I missing something? Thanks much for any suggestions.
Jason
Solved! Go to Solution.
Hi,
Try removing the layer ID, and instead just use: https://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/WildfireSync/FeatureServer
Hi,
Try removing the layer ID, and instead just use: https://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/WildfireSync/FeatureServer
Michael,
That was it! Thanks for the easy fix.
J