<?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: Create a custom Geoprocessing pane in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-a-custom-geoprocessing-pane/m-p/879353#M5592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very good video indeed. The control I was needing is the Dockpane.&lt;/P&gt;&lt;P&gt;Many Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2020 18:32:13 GMT</pubDate>
    <dc:creator>AbelPerez</dc:creator>
    <dc:date>2020-04-20T18:32:13Z</dc:date>
    <item>
      <title>Create a custom Geoprocessing pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-a-custom-geoprocessing-pane/m-p/879347#M5586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So am not sure how to ask this but when in ArcGIS Pro 2.5 I can pull up the Geoprocessing pane and then execute a geoprocessing function like "Buffer". How would I do something similar in my custom add-in? Basically I am taking 3 standard ESRI geoprocessing functions and setting my companies standard options&amp;nbsp;internally so the user doesn't have to do it and then running the entire chain to get an output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking through the tons of community samples but cant figure out where to start.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 01:05:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-a-custom-geoprocessing-pane/m-p/879347#M5586</guid>
      <dc:creator>AbelPerez</dc:creator>
      <dc:date>2020-04-07T01:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create a custom Geoprocessing pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-a-custom-geoprocessing-pane/m-p/879348#M5587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/4002" target="_blank"&gt;Abel Perez&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might want to take a look at this sample.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-pro-sdk-community-samples/blob/master/Geodatabase/AddDeleteFieldToFromFeatureClass/AddAField.cs" title="https://github.com/Esri/arcgis-pro-sdk-community-samples/blob/master/Geodatabase/AddDeleteFieldToFromFeatureClass/AddAField.cs" rel="nofollow noopener noreferrer" target="_blank"&gt;arcgis-pro-sdk-community-samples/AddAField.cs at master · Esri/arcgis-pro-sdk-community-samples · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create your own python toolbox for multiple arcpy command and call in the following way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; arguments &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Geoprocessing&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;MakeValueArray&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;parameters seperated by comma&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                &lt;SPAN class="comment token"&gt;//Geoprocessing.OpenToolDialog([pyt python toolbox file path], arguments); //- for general testing to check your arguments are correct&lt;/SPAN&gt;
                
                &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; gpResult &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Geoprocessing&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ExecuteToolAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;pyt python toolbox file path&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; arguments&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="comment token"&gt;//execute&lt;/SPAN&gt;

                &lt;SPAN class="keyword token"&gt;using&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; progress &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;ProgressDialog&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"processing python tool"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; status &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;ProgressorSource&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;progress&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    progress&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Show&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

                    gpResult&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Wait&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

                    progress&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Hide&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

                &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
                

                IGPResult ProcessingResult &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gpResult&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Result&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ProcessingResult&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;IsFailed&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;string&lt;/SPAN&gt; errorMessage &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;foreach&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;IGPMessage gpMessage &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; ProcessingResult&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Messages&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                    &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                        errorMessage &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; $&lt;SPAN class="string token"&gt;"{{Error Code: {gpMessage.ErrorCode}, Text :  {gpMessage.Text} }}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
                   &lt;SPAN class="comment token"&gt;//for general error message&lt;/SPAN&gt;
                &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 11:04:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-a-custom-geoprocessing-pane/m-p/879348#M5587</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T11:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create a custom Geoprocessing pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-a-custom-geoprocessing-pane/m-p/879349#M5588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an add-in so I am doing everything through .NET and WPF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 14:36:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-a-custom-geoprocessing-pane/m-p/879349#M5588</guid>
      <dc:creator>AbelPerez</dc:creator>
      <dc:date>2020-04-07T14:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create a custom Geoprocessing pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-a-custom-geoprocessing-pane/m-p/879350#M5589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abel, thanks for this useful question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way, as @Than Aung stated, is to call a Python script tool (or a ModelBuilder model tool) and call the tool by clicking on a button - the tool dialog will be shown in Geoprocessing pane. You can combine multiple tools while exposing only a few of the parameters (using organizational defaults for the other parameters) - the user will enter data and execute the tool. You can capture the result and use that in your next task in sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using a custom ModelBuilder or Python script tool will hugely minimize the amount of code they would need to manage.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way you are looking for is to create a dockpane app, where you'll create a WPF dialog and provide parameters etc. Let me create a simple sample - I 'll share it once ready.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Nobbir Ahmed&lt;/P&gt;&lt;P&gt;Esri GP team.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 15:54:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-a-custom-geoprocessing-pane/m-p/879350#M5589</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2020-04-07T15:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create a custom Geoprocessing pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-a-custom-geoprocessing-pane/m-p/879351#M5590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My add-in logic is all written in .NET so that's where my confusion is. I don't code very much in Python and am looking for just a way to get the users to provide input, run some code, and then use the geoprocessing functions. But all through ArcObjects (if that's what its still called in Pro SDK).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 20:56:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-a-custom-geoprocessing-pane/m-p/879351#M5590</guid>
      <dc:creator>AbelPerez</dc:creator>
      <dc:date>2020-04-16T20:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create a custom Geoprocessing pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-a-custom-geoprocessing-pane/m-p/879352#M5591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this youtube channel you'll find all presentations made during Developer Summit 2020:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.youtube.com/playlist?list=PLaPDDLTCmy4Ys8vfmC7DbX3FHSsyosvh7" title="https://www.youtube.com/playlist?list=PLaPDDLTCmy4Ys8vfmC7DbX3FHSsyosvh7"&gt;Esri 2020 Developer Summit Tech Sessions - YouTube&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of the many presentations, I think the following one will help you most:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=1HgPRTmNAOM&amp;amp;list=PLaPDDLTCmy4Ys8vfmC7DbX3FHSsyosvh7&amp;amp;index=17&amp;amp;t=186s"&gt;https://www.youtube.com/watch?v=1HgPRTmNAOM&amp;amp;list=PLaPDDLTCmy4Ys8vfmC7DbX3FHSsyosvh7&amp;amp;index=17&amp;amp;t=186s&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know how it goes. If you have any question please post it here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 21:32:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-a-custom-geoprocessing-pane/m-p/879352#M5591</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2020-04-16T21:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create a custom Geoprocessing pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-a-custom-geoprocessing-pane/m-p/879353#M5592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very good video indeed. The control I was needing is the Dockpane.&lt;/P&gt;&lt;P&gt;Many Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 18:32:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-a-custom-geoprocessing-pane/m-p/879353#M5592</guid>
      <dc:creator>AbelPerez</dc:creator>
      <dc:date>2020-04-20T18:32:13Z</dc:date>
    </item>
  </channel>
</rss>

