Webapp builder Edit widget: Merge lines

01-15-2016 07:03 AM
Status: Open
New Contributor III
Webapp builder Edit widget (also other configurable applications with edit option) has the possibility to enable Merge polygons tool.
There should also be Merge line tool or just Merge tool which will merge selected same geometry features.

If you have your own API deployed on your server go to the file  (https://js.arcgis.com/3.18/esri/dijit/editing/Editor.js - on your server ) and find:



To fix the bug with merging the above must be replaced with:

function(a){return a.geometryType&&a.visible&&a._isMapAtVisibleScale()}



For some reason Esri is checking if the geometry type is polygon before UNION function is used on the geometry server? WHY???


Removed "esriGeometryPolygon"===a.geometryType


Everything working as expected.

Hope this helps someone...


Any response from Esri on why line merging functionality has not been added to the Edit widget in webapp builder? Without this functionality we have to look to other options to enable people to use a web app to edit data.


It appears that this has either not yet been resolved, or there is currently a bug with this. I am unable to use the 'union' tool in the Editor widget to merge two line features into a single feature. Anyone have any information on a resolution to this?