<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Issue with Spatial Editing for Point Feature in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286320#M26384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************************************************************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;this._map.infoWindow.set("popupWindow", false);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;this.initializeSidebar(this._map);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;initializeSidebar: function(map){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var popup = map.infoWindow;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;connect.connect(popup, "onSelectionChange", function(e){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var edithasClass = $("#editFeature").hasClass("active");&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;displayPopupContent(popup.getSelectedFeature(),domStyle,menus,DeleteFeature,edithasClass);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;//when the selection is cleared remove the popup content from the side panel.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;connect.connect(popup, "onClearFeatures", function(){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var edithasClass = $("#editFeature").hasClass("active");&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(edithasClass==false){&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; $("#sidepanelAllPourposeContent").html('');&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;main.js&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#editFeature").on('click', function(e) {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#editFeature").toggleClass("active");&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var edithasClass = $("#editFeature").hasClass("active");&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(edithasClass==false){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var stackedAreaLegend = dijit.byId('sidepanelSpatialEditing');&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if (stackedAreaLegend) {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; stackedAreaLegend.destroyRecursive(true);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(edithasClass==true){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;initEditing(e,array,Editor,domStyle,menus,i18n,draw);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp;});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;//functions.js&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;function initEditing (event,arrayUtils,Editor,domStyle,i18n,draw) {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; &amp;nbsp;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp;//allLayers -- It's a global variable;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var featureLayerInfos = arrayUtils.map(allLayers, function (layer) {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "featureLayer": layer&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp;var stackedAreaLegend = dijit.byId('sidepanelSpatialEditing');&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if (stackedAreaLegend) {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; stackedAreaLegend.destroyRecursive(true);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var settings = {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; map: map,&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; layerInfos: featureLayerInfos&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var params = {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; settings: settings&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var editorWidget = new Editor(params, 'sidepanelSpatialEditing');&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; editorWidget.startup();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //snapping defaults to Cmd key in Mac &amp;amp; Ctrl in PC.&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //specify "snapKey" option only if you want a different key combination for snapping&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; map.enableSnapping();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;function displayPopupContent(feature,domStyle,menus,DeleteFeature,edithasClass){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var stackedAreaLegend = dijit.byId('sidepanelAllPourposeContent');&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if (stackedAreaLegend) {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; stackedAreaLegend.destroyRecursive(true);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(feature){&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var content = feature.getContent();&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#sidepanelAllPourposeContent").html(content);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(edithasClass==true){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $("#sidepanelAllPourposeHeadingSpan").html('Spatial Editing');&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(edithasClass==false){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$("#sidepanelAllPourposeHeadingSpan").html(feature._&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://layer.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNFFPSp8y109AxZVan6hNAIcN6D7YA" href="http://layer.id/" style="color: #1155cc;" target="_blank"&gt;layer.id&lt;/A&gt;);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#sidepanelAllPourposeContent" ).accordion();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#sidepanelAllPourposeContent").accordion( "destroy" );&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(feature._&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://layer.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNFFPSp8y109AxZVan6hNAIcN6D7YA" href="http://layer.id/" style="color: #1155cc;" target="_blank"&gt;layer.id&lt;/A&gt;!='Photos'){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var mapserviceid = $("#associatedForms").attr("mapServiceId");&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var objectId = $("#associatedForms").attr("objectId");&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var allLoadedService = JSON.parse(localStorage.getItem('loadedServicesstored'));&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var allForms ='&amp;lt;table class="table table-striped table-bordered"&amp;gt;&amp;lt;tbody&amp;gt;';&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;for (var i = 0; i &amp;lt; allLoadedService.length; i++) {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; if(mapserviceid == allLoadedService&lt;I&gt;.map_service_id){&lt;/I&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; if(allLoadedService&lt;I&gt;.forms.length==0){&lt;/I&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; allForms += '&amp;lt;tr class="clickable desc"&amp;gt;&amp;lt;td&amp;gt;No Forms Found.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;' ;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; }else{&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; for (var j = 0; j &amp;lt; allLoadedService&lt;I&gt;.forms.length; j++) {&lt;/I&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; allForms += '&amp;lt;tr class="clickable desc" ng-click="showCompleted("'+allLoadedService&lt;I&gt;.forms&lt;J&gt;.form_definition_id+'")" &amp;gt;&amp;lt;td&amp;gt;'+allLoadedService&lt;I&gt;.forms&lt;J&gt;.title+'&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;';&lt;/J&gt;&lt;/I&gt;&lt;/J&gt;&lt;/I&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; }&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; }&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; allForms += '&amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;';&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; break;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; }&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#associatedForms").html(allForms);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#sidepanelAllPourposeContent" ).accordion({&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;collapsible: true,&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;active: 2,&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;heightStyle: "content"&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#associatedForms").mCustomScrollbar({&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;scrollButtons:{enable:true},&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;theme:"minimal-dark"&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#associatedFormResult").mCustomScrollbar({&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;scrollButtons:{enable:true},&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;theme:"minimal-dark"&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#gisAttributes").mCustomScrollbar({&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;scrollButtons:{enable:true},&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;theme:"minimal-dark"&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(edithasClass==true){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var layerId = feature._&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://layer.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNFFPSp8y109AxZVan6hNAIcN6D7YA" href="http://layer.id/" style="color: #1155cc;" target="_blank"&gt;layer.id&lt;/A&gt;;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new AttributeEditor({graphic:feature, layerId:layerId, exists:true});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$(".sideplanelContent").on("click", function(e) {&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNGBQp-6sUxBBryrAOLKBxYQBNopbQ" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'edit-btn' || &lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNGBQp-6sUxBBryrAOLKBxYQBNopbQ" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'edit-img') {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;e.stopPropagation();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var layerId = feature._&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://layer.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNFFPSp8y109AxZVan6hNAIcN6D7YA" href="http://layer.id/" style="color: #1155cc;" target="_blank"&gt;layer.id&lt;/A&gt;;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new AttributeEditor({graphic:feature, layerId:layerId, exists:true});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;menus.openAttributeEditor();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;/*$(".contentWrapEdit").mCustomScrollbar({&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;scrollButtons:{enable:true},&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;theme:"minimal-dark"&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;});*/&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if(&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNGBQp-6sUxBBryrAOLKBxYQBNopbQ" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'del-btn' || &lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNGBQp-6sUxBBryrAOLKBxYQBNopbQ" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'del-img') {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;e.stopPropagation();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;DeleteFeature.DeleteFeature(feature._&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://layer.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNFFPSp8y109AxZVan6hNAIcN6D7YA" href="http://layer.id/" style="color: #1155cc;" target="_blank"&gt;layer.id&lt;/A&gt;,feature);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;} else if (&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNGBQp-6sUxBBryrAOLKBxYQBNopbQ" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; === 'attachments-btn' || &lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNGBQp-6sUxBBryrAOLKBxYQBNopbQ" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'attachments-img') {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Event.stop(e);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; openAttachmentsModal();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if(&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943604000&amp;amp;usg=AFQjCNGMcT0GjKu0frBwYwEds9k4bdJaqA" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'form-btn' || &lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943604000&amp;amp;usg=AFQjCNGMcT0GjKu0frBwYwEds9k4bdJaqA" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'form-img') {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Event.stop(e);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; openFormsModal();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if(&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943604000&amp;amp;usg=AFQjCNGMcT0GjKu0frBwYwEds9k4bdJaqA" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'cancel-button') {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Event.stop(e);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; map.infoWindow.hide();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(edithasClass==false){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$( "#sidepanelAllPourposeContent" ).accordion( "refresh" );&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;****************************************************************************************************************************************&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;Thanks,&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;Niladri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Nov 2016 14:27:00 GMT</pubDate>
    <dc:creator>NiladriBanerjee</dc:creator>
    <dc:date>2016-11-29T14:27:00Z</dc:date>
    <item>
      <title>Issue with Spatial Editing for Point Feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286315#M26379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I &amp;nbsp;am having an issue with the spatial editing for point feature. For the spatial editing we have referred the sample the code given in the example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=ed_default_editingwidget" title="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=ed_default_editingwidget"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code is working fine for point feature if we don't change &amp;nbsp;the position and the style &amp;nbsp;of the default info window which opens when we click on any feature in spatial editing environment. However if we change the style and position of default window to open in a side panel and in that case moving of point feature is not happening while moving of line and polygon feature is working in the side panel info window. Please refer the attached image with the name of "working.jpg" and "notworking.jpg"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help concerning this issue will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Niladri Banerjee&lt;/P&gt;&lt;P&gt;GIS Developer&lt;/P&gt;&lt;P&gt;Stesalit Systems Ltd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Nov 2016 07:22:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286315#M26379</guid>
      <dc:creator>NiladriBanerjee</dc:creator>
      <dc:date>2016-11-27T07:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Spatial Editing for Point Feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286316#M26380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Niladri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So are you combining the &lt;A href="https://developers.arcgis.com/javascript/3/jssamples/popup_sidepanel.html"&gt;Popup content in side panel&lt;/A&gt;&amp;nbsp;sample with the editing widget sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 14:10:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286316#M26380</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-28T14:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Spatial Editing for Point Feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286317#M26381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Yes you are right we are combining the Popup content in side panel sample with the editing widget sample. Is that causing the issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Niladri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 15:13:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286317#M26381</guid>
      <dc:creator>NiladriBanerjee</dc:creator>
      <dc:date>2016-11-28T15:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Spatial Editing for Point Feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286318#M26382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Niladri,&lt;/P&gt;&lt;P&gt;Are you using the default Geometry Server of ArcGIS? If you have your own Geometry Service, replace the default ArcGIS Geometry Service with yours in the following codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;esriConfig.defaults.geometryService = new GeometryService("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Futility.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FGeometry%2FGeometryServer" rel="nofollow" target="_blank"&gt;https://utility.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer&lt;/A&gt;&lt;SPAN&gt;"); &amp;nbsp;// Replace this with your own Geometry Service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if it will work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Goodluck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 15:49:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286318#M26382</guid>
      <dc:creator>SarojThapa1</dc:creator>
      <dc:date>2016-11-28T15:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Spatial Editing for Point Feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286319#M26383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Niladri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;It could be in how you combined them. Can you post&amp;nbsp;your code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 16:25:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286319#M26383</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-28T16:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Spatial Editing for Point Feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286320#M26384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************************************************************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;this._map.infoWindow.set("popupWindow", false);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;this.initializeSidebar(this._map);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;initializeSidebar: function(map){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var popup = map.infoWindow;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;connect.connect(popup, "onSelectionChange", function(e){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var edithasClass = $("#editFeature").hasClass("active");&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;displayPopupContent(popup.getSelectedFeature(),domStyle,menus,DeleteFeature,edithasClass);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;//when the selection is cleared remove the popup content from the side panel.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;connect.connect(popup, "onClearFeatures", function(){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var edithasClass = $("#editFeature").hasClass("active");&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(edithasClass==false){&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; $("#sidepanelAllPourposeContent").html('');&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;main.js&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#editFeature").on('click', function(e) {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#editFeature").toggleClass("active");&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var edithasClass = $("#editFeature").hasClass("active");&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(edithasClass==false){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var stackedAreaLegend = dijit.byId('sidepanelSpatialEditing');&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if (stackedAreaLegend) {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; stackedAreaLegend.destroyRecursive(true);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(edithasClass==true){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;initEditing(e,array,Editor,domStyle,menus,i18n,draw);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp;});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;//functions.js&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;function initEditing (event,arrayUtils,Editor,domStyle,i18n,draw) {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; &amp;nbsp;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp;//allLayers -- It's a global variable;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var featureLayerInfos = arrayUtils.map(allLayers, function (layer) {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "featureLayer": layer&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp;var stackedAreaLegend = dijit.byId('sidepanelSpatialEditing');&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if (stackedAreaLegend) {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; stackedAreaLegend.destroyRecursive(true);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var settings = {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; map: map,&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; layerInfos: featureLayerInfos&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var params = {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; settings: settings&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var editorWidget = new Editor(params, 'sidepanelSpatialEditing');&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; editorWidget.startup();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //snapping defaults to Cmd key in Mac &amp;amp; Ctrl in PC.&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //specify "snapKey" option only if you want a different key combination for snapping&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; map.enableSnapping();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;function displayPopupContent(feature,domStyle,menus,DeleteFeature,edithasClass){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var stackedAreaLegend = dijit.byId('sidepanelAllPourposeContent');&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if (stackedAreaLegend) {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; stackedAreaLegend.destroyRecursive(true);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(feature){&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var content = feature.getContent();&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#sidepanelAllPourposeContent").html(content);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(edithasClass==true){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $("#sidepanelAllPourposeHeadingSpan").html('Spatial Editing');&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(edithasClass==false){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$("#sidepanelAllPourposeHeadingSpan").html(feature._&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://layer.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNFFPSp8y109AxZVan6hNAIcN6D7YA" href="http://layer.id/" style="color: #1155cc;" target="_blank"&gt;layer.id&lt;/A&gt;);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#sidepanelAllPourposeContent" ).accordion();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#sidepanelAllPourposeContent").accordion( "destroy" );&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(feature._&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://layer.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNFFPSp8y109AxZVan6hNAIcN6D7YA" href="http://layer.id/" style="color: #1155cc;" target="_blank"&gt;layer.id&lt;/A&gt;!='Photos'){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var mapserviceid = $("#associatedForms").attr("mapServiceId");&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var objectId = $("#associatedForms").attr("objectId");&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var allLoadedService = JSON.parse(localStorage.getItem('loadedServicesstored'));&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var allForms ='&amp;lt;table class="table table-striped table-bordered"&amp;gt;&amp;lt;tbody&amp;gt;';&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;for (var i = 0; i &amp;lt; allLoadedService.length; i++) {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; if(mapserviceid == allLoadedService&lt;I&gt;.map_service_id){&lt;/I&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; if(allLoadedService&lt;I&gt;.forms.length==0){&lt;/I&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; allForms += '&amp;lt;tr class="clickable desc"&amp;gt;&amp;lt;td&amp;gt;No Forms Found.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;' ;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; }else{&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; for (var j = 0; j &amp;lt; allLoadedService&lt;I&gt;.forms.length; j++) {&lt;/I&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; allForms += '&amp;lt;tr class="clickable desc" ng-click="showCompleted("'+allLoadedService&lt;I&gt;.forms&lt;J&gt;.form_definition_id+'")" &amp;gt;&amp;lt;td&amp;gt;'+allLoadedService&lt;I&gt;.forms&lt;J&gt;.title+'&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;';&lt;/J&gt;&lt;/I&gt;&lt;/J&gt;&lt;/I&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; }&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; }&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; allForms += '&amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;';&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; break;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt; }&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#associatedForms").html(allForms);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#sidepanelAllPourposeContent" ).accordion({&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;collapsible: true,&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;active: 2,&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;heightStyle: "content"&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#associatedForms").mCustomScrollbar({&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;scrollButtons:{enable:true},&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;theme:"minimal-dark"&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#associatedFormResult").mCustomScrollbar({&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;scrollButtons:{enable:true},&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;theme:"minimal-dark"&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$("#gisAttributes").mCustomScrollbar({&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;scrollButtons:{enable:true},&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;theme:"minimal-dark"&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(edithasClass==true){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;var layerId = feature._&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://layer.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNFFPSp8y109AxZVan6hNAIcN6D7YA" href="http://layer.id/" style="color: #1155cc;" target="_blank"&gt;layer.id&lt;/A&gt;;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new AttributeEditor({graphic:feature, layerId:layerId, exists:true});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$(".sideplanelContent").on("click", function(e) {&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNGBQp-6sUxBBryrAOLKBxYQBNopbQ" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'edit-btn' || &lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNGBQp-6sUxBBryrAOLKBxYQBNopbQ" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'edit-img') {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;e.stopPropagation();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var layerId = feature._&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://layer.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNFFPSp8y109AxZVan6hNAIcN6D7YA" href="http://layer.id/" style="color: #1155cc;" target="_blank"&gt;layer.id&lt;/A&gt;;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new AttributeEditor({graphic:feature, layerId:layerId, exists:true});&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;menus.openAttributeEditor();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;/*$(".contentWrapEdit").mCustomScrollbar({&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;scrollButtons:{enable:true},&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;theme:"minimal-dark"&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;});*/&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if(&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNGBQp-6sUxBBryrAOLKBxYQBNopbQ" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'del-btn' || &lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNGBQp-6sUxBBryrAOLKBxYQBNopbQ" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'del-img') {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;e.stopPropagation();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;DeleteFeature.DeleteFeature(feature._&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://layer.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNFFPSp8y109AxZVan6hNAIcN6D7YA" href="http://layer.id/" style="color: #1155cc;" target="_blank"&gt;layer.id&lt;/A&gt;,feature);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;} else if (&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNGBQp-6sUxBBryrAOLKBxYQBNopbQ" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; === 'attachments-btn' || &lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943603000&amp;amp;usg=AFQjCNGBQp-6sUxBBryrAOLKBxYQBNopbQ" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'attachments-img') {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Event.stop(e);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; openAttachmentsModal();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if(&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943604000&amp;amp;usg=AFQjCNGMcT0GjKu0frBwYwEds9k4bdJaqA" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'form-btn' || &lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943604000&amp;amp;usg=AFQjCNGMcT0GjKu0frBwYwEds9k4bdJaqA" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'form-img') {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Event.stop(e);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; openFormsModal();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if(&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://e.target.id&amp;amp;source=gmail&amp;amp;ust=1480515943604000&amp;amp;usg=AFQjCNGMcT0GjKu0frBwYwEds9k4bdJaqA" href="http://e.target.id/" style="color: #1155cc;" target="_blank"&gt;e.target.id&lt;/A&gt; == 'cancel-button') {&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Event.stop(e);&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; map.infoWindow.hide();&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;if(edithasClass==false){&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;$( "#sidepanelAllPourposeContent" ).accordion( "refresh" );&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;}&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;****************************************************************************************************************************************&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;Thanks,&lt;/P&gt;&lt;P style="color: #500050; background-color: #ffffff; font-size: 12.8px; margin-bottom: 0.0001pt;"&gt;Niladri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 14:27:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286320#M26384</guid>
      <dc:creator>NiladriBanerjee</dc:creator>
      <dc:date>2016-11-29T14:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Spatial Editing for Point Feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286321#M26385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saroj,&lt;/P&gt;&lt;P&gt;Thanks for your reply, actually we are using ArcGIS Online services can you please tell me where we will get the geometry service for ArcGIS online?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also like to let you know that without using the geometry service we are able to do the spatial editing for line and polygon layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Niladri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 14:32:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286321#M26385</guid>
      <dc:creator>NiladriBanerjee</dc:creator>
      <dc:date>2016-11-29T14:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Spatial Editing for Point Feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286322#M26386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Niladri,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp;Sorry I can not make sense of the code you posted.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 14:41:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286322#M26386</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-29T14:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Spatial Editing for Point Feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286323#M26387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;For your better understanding I have simplified the code. In the attachment I have shared three java script files( &lt;STRONG&gt;bootstrapmap.js&lt;/STRONG&gt;,&lt;STRONG&gt;main.js&lt;/STRONG&gt;,&lt;STRONG&gt;function.js&lt;/STRONG&gt;) which we are using for the spatial editing. From the bootstrapmap.js file we are setting default pop up window to false and then we are calling the function "displayPopupcontent()" function of function.js &amp;nbsp;file and in this function &amp;nbsp;we have taken the sample code of "&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample%3Dpopup_sidepanel&amp;amp;source=gmail&amp;amp;ust=1480524328900000&amp;amp;usg=AFQjCNES5wymnqtXte7enD2KLQuxObsv8Q" href="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=popup_sidepanel" style="color: #1155cc;" target="_blank"&gt;https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=popup_sidepanel&lt;/A&gt;"&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;and from main.js we are calling "initEditing()" function of function.js file and in this function we have taken the sample code of&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;"&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample%3Ded_default_editingwidget&amp;amp;source=gmail&amp;amp;ust=1480524328900000&amp;amp;usg=AFQjCNHAZRZrCG0ou8LqNwVyZq5Du9Y4wA" href="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=ed_default_editingwidget" style="color: #1155cc;" target="_blank"&gt;https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=ed_default_editingwidget&lt;/A&gt;".&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;Hope I am able to make you understand the code and still if you have any question please let me know.&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;Thanks,&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;Niladri&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 16:53:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-spatial-editing-for-point-feature/m-p/286323#M26387</guid>
      <dc:creator>NiladriBanerjee</dc:creator>
      <dc:date>2016-11-29T16:53:19Z</dc:date>
    </item>
  </channel>
</rss>

