<?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: Hide Edit Features section of Editor Widget in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-edit-features-section-of-editor-widget/m-p/1171266#M77240</link>
    <description>&lt;P&gt;That seems to work and the FeatureForm remains visible!&lt;/P&gt;&lt;P&gt;This &lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/can-t-disable-quot-add-feature-quot-button-in/m-p/1118912#M75350" target="_self"&gt;post&lt;/A&gt; seems to indicate that the allowedWorkflows parameter should control what tools are visible and I'd like to know what I'm doing wrong there but for now I'll use your solution.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Many thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2022 19:51:48 GMT</pubDate>
    <dc:creator>JillianStanford</dc:creator>
    <dc:date>2022-05-05T19:51:48Z</dc:date>
    <item>
      <title>Hide Edit Features section of Editor Widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-edit-features-section-of-editor-widget/m-p/1170825#M77224</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using an Editor widget to allow users to add new features to a layer but they will not be able to update or delete existing features. To keep things simple, I'd like to remove the "Edit features" section of the widget and just display the "Create features" section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JillianStanford_1-1651693745848.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/40611iE9BA907AC8C96EAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JillianStanford_1-1651693745848.png" alt="JillianStanford_1-1651693745848.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've set the "allowedWorkflows" property to ["create-features"]&lt;/P&gt;&lt;P&gt;I have the widget configured with a single layerInfo object and it has updateEnabled and deletedEnabled set to false.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;editBikeLayerConfig = {
 layer: layer,
 addEnabled: true,
 updateEnabled: false,
 deleteEnabled: false,
 formTemplate: {
  elements: [{
   type: "field",
   fieldName: "Name",
   label: "Name"
  }]
 }
};

const editor = new Editor({
 view: view,
 layerInfos: [editBikeLayerConfig],
 allowedWorkflows: ["create-features"],
 supportingWidgetDefaults: {
  featureTemplates: {
   visibleElements : {
    filter: false
   }
  }
 }
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a property that I can configure for this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Jill&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 19:58:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-edit-features-section-of-editor-widget/m-p/1170825#M77224</guid>
      <dc:creator>JillianStanford</dc:creator>
      <dc:date>2022-05-04T19:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Edit Features section of Editor Widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-edit-features-section-of-editor-widget/m-p/1170892#M77225</link>
      <description>&lt;P&gt;Somebody can correct me if I'm wrong, but the visibility of that section doesn't appear to be configurable.&amp;nbsp; Adding the following to the style tag of &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-editor-basic" target="_self"&gt;the "Edit features with the Editor widget" sample&lt;/A&gt; causes it to disappear though:&lt;/P&gt;&lt;LI-CODE lang="css"&gt;div.esri-editor__scroller&amp;gt;div:first-child {
	display: none;
}&lt;/LI-CODE&gt;&lt;P&gt;Perhaps you can work that selector (or something similar to it) into your application.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 23:13:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-edit-features-section-of-editor-widget/m-p/1170892#M77225</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2022-05-04T23:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Edit Features section of Editor Widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-edit-features-section-of-editor-widget/m-p/1171130#M77232</link>
      <description>&lt;P&gt;It would be nice if it was configurable but your solutions works.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 15:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-edit-features-section-of-editor-widget/m-p/1171130#M77232</guid>
      <dc:creator>JillianStanford</dc:creator>
      <dc:date>2022-05-05T15:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Edit Features section of Editor Widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-edit-features-section-of-editor-widget/m-p/1171250#M77237</link>
      <description>&lt;P&gt;Oops, I spoke too soon -&lt;BR /&gt;This solution doesn't work because once the widget switches to the attribute editor view the first child div is the FeatureForm widget and it becomes hidden.&lt;/P&gt;&lt;P&gt;I am no css wizard, I can get rid of the Select button but not the Edit feature header.&lt;/P&gt;&lt;P&gt;.esri-editor__update-features-action-buttons {&lt;BR /&gt;display: none;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 19:03:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-edit-features-section-of-editor-widget/m-p/1171250#M77237</guid>
      <dc:creator>JillianStanford</dc:creator>
      <dc:date>2022-05-05T19:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Edit Features section of Editor Widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-edit-features-section-of-editor-widget/m-p/1171264#M77239</link>
      <description>&lt;P&gt;My bad...I didn't actually try using the widget after making that change.&amp;nbsp; It seems that in addition to what you have to hide the Select button, you could add the second selector shown below to get rid of the header as well:&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.esri-editor__update-features-action-buttons {
	display: none;
}

div.esri-editor__scroller&amp;gt;div:first-child h5 {
	display: none;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have actually tried going through the workflow with those, and it appears to work as expected.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 19:41:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-edit-features-section-of-editor-widget/m-p/1171264#M77239</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2022-05-05T19:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Edit Features section of Editor Widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-edit-features-section-of-editor-widget/m-p/1171266#M77240</link>
      <description>&lt;P&gt;That seems to work and the FeatureForm remains visible!&lt;/P&gt;&lt;P&gt;This &lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/can-t-disable-quot-add-feature-quot-button-in/m-p/1118912#M75350" target="_self"&gt;post&lt;/A&gt; seems to indicate that the allowedWorkflows parameter should control what tools are visible and I'd like to know what I'm doing wrong there but for now I'll use your solution.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 19:51:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-edit-features-section-of-editor-widget/m-p/1171266#M77240</guid>
      <dc:creator>JillianStanford</dc:creator>
      <dc:date>2022-05-05T19:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Edit Features section of Editor Widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-edit-features-section-of-editor-widget/m-p/1229021#M79249</link>
      <description>&lt;P&gt;Thank you!!!!&amp;nbsp; I had been trying to figure this out too. I also expected the allowedWorkflows parameter to adjust this. It does in the opposite direction, when you set it to 'update' only, but not in for just adding.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 17:05:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-edit-features-section-of-editor-widget/m-p/1229021#M79249</guid>
      <dc:creator>cybryant</dc:creator>
      <dc:date>2022-11-06T17:05:01Z</dc:date>
    </item>
  </channel>
</rss>

