<?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: merge/append temporary featurelayer in Javascript in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/merge-append-temporary-featurelayer-in-javascript/m-p/1115622#M14643</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/303886"&gt;@KarenRobine1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I could able to understand your first point. i.e. creating graphic layer..&lt;/P&gt;&lt;P&gt;Can you please explain me how it should be done i.e. creating temporary featurelayer(same schema/fields data as original one for merging/ appending) with attribute from user + geometry as default(static) and appending to existing featurelayer using code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Nov 2021 13:28:18 GMT</pubDate>
    <dc:creator>NehaKshirsagar</dc:creator>
    <dc:date>2021-11-10T13:28:18Z</dc:date>
    <item>
      <title>merge/append temporary featurelayer in Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/merge-append-temporary-featurelayer-in-javascript/m-p/1115548#M14641</link>
      <description>&lt;P&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/1104" target="_self"&gt;&lt;SPAN class=""&gt;@RobertScheitlin__GISP&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Hi I wanted (to create widget) to make temporary featurelayer with same records as existing Polyline featurelayer with &amp;gt;&amp;gt;featureForm(to feed attributes by users)+ geometry(default to be feed in code) and append/merge this record to existing featurelayer.. Basically I wanted to skip editor and add default geometry with records in code and then in featurelayer. How could I achieve this ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 09:46:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/merge-append-temporary-featurelayer-in-javascript/m-p/1115548#M14641</guid>
      <dc:creator>NehaKshirsagar</dc:creator>
      <dc:date>2021-11-10T09:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: merge/append temporary featurelayer in Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/merge-append-temporary-featurelayer-in-javascript/m-p/1115599#M14642</link>
      <description>&lt;P&gt;Just create a graphicsLayer and add in your features.&amp;nbsp; From there you can essentially create your own editor widget to add in users attributes, and use the Feature Service Editor REST endpoint to upload the changes or additions to the actual feature service.&amp;nbsp; &amp;nbsp;Alternatively, you can have the user select the feature(s) to be edited and then create your own editor to edit the original features.&amp;nbsp; Again,&amp;nbsp; send your edits directly to the REST endpoint. You can modify, delete, add features just using the endpoint (no need for a Graphics layer).&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 13:03:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/merge-append-temporary-featurelayer-in-javascript/m-p/1115599#M14642</guid>
      <dc:creator>KarenRobine1</dc:creator>
      <dc:date>2021-11-10T13:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: merge/append temporary featurelayer in Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/merge-append-temporary-featurelayer-in-javascript/m-p/1115622#M14643</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/303886"&gt;@KarenRobine1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I could able to understand your first point. i.e. creating graphic layer..&lt;/P&gt;&lt;P&gt;Can you please explain me how it should be done i.e. creating temporary featurelayer(same schema/fields data as original one for merging/ appending) with attribute from user + geometry as default(static) and appending to existing featurelayer using code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 13:28:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/merge-append-temporary-featurelayer-in-javascript/m-p/1115622#M14643</guid>
      <dc:creator>NehaKshirsagar</dc:creator>
      <dc:date>2021-11-10T13:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: merge/append temporary featurelayer in Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/merge-append-temporary-featurelayer-in-javascript/m-p/1115629#M14644</link>
      <description>&lt;P&gt;Use a graphics layer to copy the edit features into and make the changes on the client.&amp;nbsp; The geometry Service,&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/geometryservice-amd.html" target="_blank"&gt;https://developers.arcgis.com/javascript/3/jsapi/geometryservice-amd.html&lt;/A&gt;&amp;nbsp;or Geometry Engine,&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/esri.geometry.geometryengine-amd.html" target="_blank"&gt;https://developers.arcgis.com/javascript/3/jsapi/esri.geometry.geometryengine-amd.html&lt;/A&gt;&amp;nbsp; all offer routines that can be used to append or merge graphics together. Once you get the graphic(s) you've changed, then you can use the REST API, ApplyEdits,&amp;nbsp;&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/apply-edits-feature-service-.htm" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/apply-edits-feature-service-.htm&lt;/A&gt;&amp;nbsp; or &lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/apply-edits-feature-service-layer-.htm" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/apply-edits-feature-service-layer-.htm&lt;/A&gt; to make the changes to the actual features. There's also the ability to snap lines together (etc etc).... You can create a whole edit workflow using this methodology.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 13:44:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/merge-append-temporary-featurelayer-in-javascript/m-p/1115629#M14644</guid>
      <dc:creator>KarenRobine1</dc:creator>
      <dc:date>2021-11-10T13:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: merge/append temporary featurelayer in Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/merge-append-temporary-featurelayer-in-javascript/m-p/1115649#M14645</link>
      <description>&lt;P&gt;Have the user select the geometries they want to merge.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Use the Geometry Service or Geometry Engine (referenced by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/303886"&gt;@KarenRobine1&lt;/a&gt;&amp;nbsp;) to union the geometries.&lt;/P&gt;&lt;P&gt;Prompt the user to provide the values for the attributes.&lt;/P&gt;&lt;P&gt;Create a new &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/graphic-amd.html" target="_self"&gt;graphic&lt;/A&gt;&amp;nbsp;with the geometry from the union. At the same time, you can set the attribute values. You do not need to have a value for every attribute. Any attributes not included will be set to the default value for that field by the service when the graphic is added.&lt;BR /&gt;&lt;BR /&gt;Make an &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/featurelayer-amd.html#applyedits" target="_self"&gt;applyEdits&lt;/A&gt; call to the feature layer and include the new graphic as an add. If you want to remove the features you used for the union, you can include them in the call as deletes.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 14:56:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/merge-append-temporary-featurelayer-in-javascript/m-p/1115649#M14645</guid>
      <dc:creator>CourtneyMenikheim</dc:creator>
      <dc:date>2021-11-10T14:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: merge/append temporary featurelayer in Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/merge-append-temporary-featurelayer-in-javascript/m-p/1115738#M14646</link>
      <description>&lt;P&gt;user should only able to input attribute data &amp;amp; not allowed to add geometry(It should be given by default geometry i.e. &lt;SPAN&gt;&amp;nbsp;onclick selected feature it should not(skipping/bypassing) take geometry to draw in map&lt;/SPAN&gt; ). It should directly open attribute table to feed attribute&amp;gt;&amp;gt; after submitting, data should update with featurelayer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 17:44:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/merge-append-temporary-featurelayer-in-javascript/m-p/1115738#M14646</guid>
      <dc:creator>NehaKshirsagar</dc:creator>
      <dc:date>2021-11-10T17:44:50Z</dc:date>
    </item>
  </channel>
</rss>

