<?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 Attribute Inspector custom buttons not shown when editing a feature service with delete/update operations disabled in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-custom-buttons-not-shown-when/m-p/690857#M64314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a web application with an editor that allows the user to create new points but not edit or delete existing ones. I've added a 'close' button to the bottom of the attribute inspector (where the delete button would be if delete/update capabilities were enabled) that will allow the user to dismiss the form after completing it. However, the new button is only displayed when the feature service has delete/update capabilities enabled. If I disable update or delete capabilities, no buttons are shown at the bottom of the attribute inspector when a point is created. If delete/update are disabled, the button will work when the attribute inspector is open to view an existing point, but not when creating a new point. Does anybody know what could be causing this? The code I used to create the button is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;attInspector = this.editor.attributeInspector;

closeButton = new Button({ label: "Close", "class": "closeButton"},domConstruct.create("div"));
domConstruct.place(closeButton.domNode, attInspector.domNode, "after");&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 05:04:55 GMT</pubDate>
    <dc:creator>MaxMcCosham</dc:creator>
    <dc:date>2021-12-12T05:04:55Z</dc:date>
    <item>
      <title>Attribute Inspector custom buttons not shown when editing a feature service with delete/update operations disabled</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-custom-buttons-not-shown-when/m-p/690857#M64314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a web application with an editor that allows the user to create new points but not edit or delete existing ones. I've added a 'close' button to the bottom of the attribute inspector (where the delete button would be if delete/update capabilities were enabled) that will allow the user to dismiss the form after completing it. However, the new button is only displayed when the feature service has delete/update capabilities enabled. If I disable update or delete capabilities, no buttons are shown at the bottom of the attribute inspector when a point is created. If delete/update are disabled, the button will work when the attribute inspector is open to view an existing point, but not when creating a new point. Does anybody know what could be causing this? The code I used to create the button is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;attInspector = this.editor.attributeInspector;

closeButton = new Button({ label: "Close", "class": "closeButton"},domConstruct.create("div"));
domConstruct.place(closeButton.domNode, attInspector.domNode, "after");&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:04:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-custom-buttons-not-shown-when/m-p/690857#M64314</guid>
      <dc:creator>MaxMcCosham</dc:creator>
      <dc:date>2021-12-12T05:04:55Z</dc:date>
    </item>
  </channel>
</rss>

