<?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 Remove tools from modify features pane in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/remove-tools-from-modify-features-pane/m-p/1330521#M10426</link>
    <description>&lt;P&gt;Hi, as on subject, I would like to remove (programmatically) some tools from the Modify Features pane in order to leave the user with just the tools they need, plus some custom tool we'll add: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/81180iD532F90275A31665/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen.png" alt="Screen.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I know I can add my custom tools to it, setting categoryRefID attribute "esri_editing_commandList" on the daml, but I'm not able to find how to remove/hide the stock items (or entire categories) I don't need. Is there a way to accomplish this through the SDK?&lt;/P&gt;&lt;P&gt;An alternative way to implement the workflow I need would be to intercept the&amp;nbsp;OnToolActivate event of the stock tools in order to do the things I need before the user starts to use the tool, but I couldn't find any way to listen to events of a stock tool. I know I can define my own tools in order to do it, but this would take me back to the beginning, since I would still need a way to act in case a stock tool is selected.&lt;/P&gt;&lt;P&gt;Any idea is appreciated, thanks in advance.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Sep 2023 09:26:14 GMT</pubDate>
    <dc:creator>Asimov</dc:creator>
    <dc:date>2023-09-20T09:26:14Z</dc:date>
    <item>
      <title>Remove tools from modify features pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/remove-tools-from-modify-features-pane/m-p/1330521#M10426</link>
      <description>&lt;P&gt;Hi, as on subject, I would like to remove (programmatically) some tools from the Modify Features pane in order to leave the user with just the tools they need, plus some custom tool we'll add: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/81180iD532F90275A31665/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen.png" alt="Screen.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I know I can add my custom tools to it, setting categoryRefID attribute "esri_editing_commandList" on the daml, but I'm not able to find how to remove/hide the stock items (or entire categories) I don't need. Is there a way to accomplish this through the SDK?&lt;/P&gt;&lt;P&gt;An alternative way to implement the workflow I need would be to intercept the&amp;nbsp;OnToolActivate event of the stock tools in order to do the things I need before the user starts to use the tool, but I couldn't find any way to listen to events of a stock tool. I know I can define my own tools in order to do it, but this would take me back to the beginning, since I would still need a way to act in case a stock tool is selected.&lt;/P&gt;&lt;P&gt;Any idea is appreciated, thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 09:26:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/remove-tools-from-modify-features-pane/m-p/1330521#M10426</guid>
      <dc:creator>Asimov</dc:creator>
      <dc:date>2023-09-20T09:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Remove tools from modify features pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/remove-tools-from-modify-features-pane/m-p/1331343#M10450</link>
      <description>&lt;P&gt;From daml, you can delete a button, here as an example I delete sequential numbering (no hard feelings)...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  &amp;lt;dependencies&amp;gt;
    &amp;lt;dependency name="Editing.daml" /&amp;gt;
  &amp;lt;/dependencies&amp;gt;
  &amp;lt;modules&amp;gt;
    &amp;lt;updateModule refID="esri_editing_EditingModule"&amp;gt;
      &amp;lt;controls&amp;gt;
        &amp;lt;deleteButton refID="esri_editing_SeqNum"/&amp;gt;
      &amp;lt;/controls&amp;gt;
    &amp;lt;/updateModule&amp;gt;
  &amp;lt;/modules&amp;gt;  &lt;/LI-CODE&gt;&lt;P&gt;I suppose it would be less invasive to not remove the button but just clear its categoryRefID, but I had less luck with that approach.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="John_Jones_0-1695365013547.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/81345i76CF84D9F5DABFDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="John_Jones_0-1695365013547.png" alt="John_Jones_0-1695365013547.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 06:44:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/remove-tools-from-modify-features-pane/m-p/1331343#M10450</guid>
      <dc:creator>John_Jones</dc:creator>
      <dc:date>2023-09-22T06:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Remove tools from modify features pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/remove-tools-from-modify-features-pane/m-p/1331366#M10451</link>
      <description>&lt;P&gt;That was exactly what I was hoping to do, but I couldn't find how to refer to that dock pane (and I didn't consider the dependency requirement, also).&lt;/P&gt;&lt;P&gt;It works perfectly, thank you so much&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/450161"&gt;@John_Jones&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 08:05:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/remove-tools-from-modify-features-pane/m-p/1331366#M10451</guid>
      <dc:creator>Asimov</dc:creator>
      <dc:date>2023-09-22T08:05:53Z</dc:date>
    </item>
  </channel>
</rss>

