NWFWMD-IT / Hydrologic-Monitoring-Project

0 stars 0 forks source link

Feature Services to enable Sync #116

Closed mripp closed 12 months ago

mripp commented 1 year ago

While publishing the feature service Hydrologic Monitoring Field I attempted to publish with sync enabled but received an error

Image

mmannion commented 1 year ago

I've been researching this message and have a few questions. To summarize:

Do we need to do anything?

I don't think so, because:

  1. Per the screenshot above, the message is a warning, not an error. I think we can still publish the service with a warning.
  2. We are not using this feature service in a bidirectional ArcGIS Enterprise / Online collaboration. We are using it for synchronizing to the offline clients Field Maps and Survey123. Per the message's documentation page, under Solutions, the first bullet states:

If you do not intend to use this feature service in a bidirectional collaboration, you don't have to do anything.

  1. Per the documentation Prepare data for use in offline feature services, Scenario 1: Versioning is not required
    • Scenario 1 describes our use case (nonversioned + archiving) but does not include enabling Replica Tracking as a requirement
    • Replica Tracking is listed as a requirement when using branch versioning (Scenario 2) but we are not using branch versioning.

That said, we may want to enable Replica Tracking; I just don't know if we have to and, if not, what factors would motivate us to enable/disable that optional functionality.

How does Replica Tracking work?

Regarding the following documentation:

I will experiment with enabling Replica Tracking and look for changes to the test feature class and the geodatabase metadata. In the meantime, I have three questions for @mripp and @rkircher:

  1. QUESTION: Are there other resources (e.g. doc, UC presentations) that describe in more detail what Replica Tracking is and how it is implemented?
  2. QUESTION: Is Replica Tracking required for our use case?
  3. QUESTION: If not, do we want to enable it anyway and, if so, why?
mripp commented 1 year ago

This warning is appearing when publishing the feature service as Sync Enabled. The feature service must be configured with sync enabled in order to bring the feature service offline in both ArcGIS Field Maps and ArcGIS Survey123.

image

I went ahead and published the feature service with the warning. It appears the feature service did publish successfully and the feature service REST appears to have sync enabled: https://geoservices.nwfwmd.state.fl.us/server/rest/services/Hydro/Hydrologic_Monitoring_Field/FeatureServer image

Upon opening the Field Maps configuration it is confirmed that all layers are sync enabled. As shown by the green check mark image

Additional troubleshooting will be needed since upon opening and adding an offline map an error occured image image image

SarahNWF commented 1 year ago

Robert to work with Morgan to diagnose issue.

mripp commented 1 year ago

Michael, Robert, and Morgan met to diagnose issue