To take the map offline, all layers must have Sync enabled. The type of view layer described above requires a JSON edit to enable sync. To perform this edit, do the following:
1. Access the view layers service URL
2. Insert "Admin/" between /rest and /services in the URL.
3. Click the (FeatureServer) link to go back one directory.
4. Scroll down to the bottom and click "Update Definition"
5. Locate this section of code
"editingInfo" : {
"lastEditDate" : 1234567891234
},
and change the lastEditDate value to "null"
"editingInfo" : {
"lastEditDate" : null
},
6. Locate "syncEnabled" : false,
and set the value to "true"
"syncEnabled" : true,
7. Add the following code to the section immediately after syncEnabled.
"syncCapabilities" : {
"supportsAsync" : true,
"supportsRegisteringExistingData" : true,
"supportsSyncDirectionControl" : true,
"supportsPerLayerSync" : true,
"supportsPerReplicaSync" : true,
"supportsSyncModelNone" : true,
"supportsRollbackOnFailure" : true,
"supportsAttachmentsSyncDirection" : true
},
8. Scroll all the way to the bottom and add "Sync" to the "capabilities" section.
"capabilities" : "Query,Sync",
9. Change the Format to JSON and click "Update Service Definition"