Esri / geoform-template-js

GeoForm is a configurable template for form based data editing of a Feature Service.
http://esri.github.io/geoform-template-js/
Apache License 2.0
67 stars 83 forks source link

Add Layers for Preview? #546

Closed randomblink closed 6 years ago

randomblink commented 6 years ago

We have a layer called ADDRESSES that uses a STATUS field to identify whether this address point is CURRENT or REQUESTED.

I would like to include this layer TWICE...

Once for this -> PENDING ADDRESSES : Filter the layer on the status field to allow editing and creation of PENDING ADDRESS points...

Again for this -> CURRENT ADDRESSES : Filter for all of the Approved Addresses so that the GeoForm allows the user to check VISUALLY for the address...

What we want is for the INTERNAL-ONLY user to go to create a new Address and be able to check if it exists after typing in the Address and spatially relocating to the place of the address. However, currently, I can't add more than ONE layer unless I give editing rights to them all. I just want the FILTERED PENDING ADDRESSES to be CREATABLE. Not even EDITABLE... But I would like for the GeoForm user to be able to see the live and current addresses on the map as they create the PENDING ADDRESS.

I hope I made sense... and I hope this is possible.

randomblink commented 6 years ago

My work around is to have the embedded map in the form based off of a map with a custom basemap showing ALL Addresses except Pending. Then the GeoForm creates Pending address points.