Collector in Offline Mode - How do I Not Make Everything Editable

4151
4
Jump to solution
10-14-2014 01:54 PM
NicholasMcNamara
Occasional Contributor II

Does anyone have a workaround for this?

Right now, if you want to use Collector in an offline mode, Esri told me you have to allow all layers to be editable. The way it is, your field crews can accidentally (or intentionally) destroy data and bypass the normal QA/QC process and GIS editors. There needs to be the ability to only allow layers to be edited that we want to be edited, while leaving other layers for query purposes only.

This really seems like a reckless implementation to me… it short-circuts the GIS editor and leaves the data that we try so hard to get right open to get messed up.

I added an entry to ArcGIS Ideas to add this feature. If you agree, would you please promote it? (just log in and hit the thumbs up). I’m not sure how to link to it, but it is called “Collector Offline - Control Editing by Layer.”

Is it possible to block editing on some layers when the user tries to sync edits back up to the server, while allowing edits in the Collector app just to satisfy it? I just want to have one layer for redlining, where the user will make notes and they can be synced back up with the server. Maybe something we can do on the SQL side of things or in ArcGIS Server or something? I’m open to any workaround, otherwise it looks like the app is a dealbreaker for us using mobile, because there really are no other good disconnected options.


The only thing I can come up with is to make an entirely separate database that refreshes itself via a script every night from the real database and when the user checks in, they get that data and if they check in changes, it doesn't hurt the real data. And there would have to be another script that takes the one editable layer and copies into the real database from the duplicate. But this is a messy workaround and doubles the size of the database, and IT would not be happy to have to add so much more data to be backed up.

Thanks for your help.

1 Solution

Accepted Solutions
SeanO_Brien
New Contributor III

From the web map in ArcGIS Online, you can disable editing for any feature you want. I have attached a screenshot of how to do that. I tested this with two editable layers. I disabled editing for one, saved the map in ArcGIS Online, and I was unable to edit that feature from the Collector app after I downloaded it for offline editing. I was still able to edit the feature I wanted.

Hope this helps.

View solution in original post

4 Replies
SeanO_Brien
New Contributor III

From the web map in ArcGIS Online, you can disable editing for any feature you want. I have attached a screenshot of how to do that. I tested this with two editable layers. I disabled editing for one, saved the map in ArcGIS Online, and I was unable to edit that feature from the Collector app after I downloaded it for offline editing. I was still able to edit the feature I wanted.

Hope this helps.

MosheurRahman
New Contributor III

@Nicholas, I am having exactly the same problem and trying to find a solution. I saw your post to ArcGIS ideas and (definitely) promoted it.

@Sean, I would try this now. Hopefully this will help.

0 Kudos
GISSupport3
Regular Contributor
0 Kudos
RandyBurton
MVP Regular Contributor

The feature's fields that can be displayed or edited are set up in the "Configure Popup" section for each editable layer in the AGOL map view.  When you have the Pop-up Properties displayed, click on the "Configure Attributes"  link.  You can then select the fields to display or make editable.  Just deselect editing for the fields you do not want users to edit.  I will typically prevent users from editing some fields while allowing them to view what is in the field. This will work in the off-line mode.  I will also add a "Notes" field where users can enter comments when the non-editable fields may need to be reviewed by an administrator.