<?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: What triggers EditOperation.ShowProgressor in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/what-triggers-editoperation-showprogressor/m-p/850876#M4236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Brian,&lt;/P&gt;&lt;P&gt;Just time.&lt;/P&gt;&lt;P&gt;The progressor will show 2 seconds after the EditOperation is executing. If the operation methods are quicker than that, you wont see it.&lt;/P&gt;&lt;P&gt;In your chained environment, each operation is treated separately with its own execution. The chain just bolts it onto the last operation for the undo stack.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also look into the framework progress dialog, which is more complicated to setup, but can wrap around the whole process.&lt;/P&gt;&lt;P&gt;There's a sample here:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/ProgressDialog"&gt;https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/ProgressDialog&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jul 2019 18:14:32 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-07-24T18:14:32Z</dc:date>
    <item>
      <title>What triggers EditOperation.ShowProgressor</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/what-triggers-editoperation-showprogressor/m-p/850875#M4235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've added .ShowProgressor = true to my EditOperation, but I'm just wondering what exactly needs to get triggered for it to appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my code, I am looping though bunch of selected features, and doing a chainedEdit operation.&amp;nbsp; The progressDialog never shows though the entire process.&amp;nbsp; Occasionally I do get a "Performing Edits" window message pop-up, but I'm assuming that is just a standard ArcPro message that I am seeing.&amp;nbsp; It shows up for a few seconds, then disappears perhaps showing up again if a lot of features were selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get the Progressor to show and stay on the screen until finished?&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; editOperation &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;ArcGIS&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Desktop&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Editing&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;EditOperation&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;
                    editOperation&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Name &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Create new Facility IDs"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    editOperation&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ProgressMessage &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Calculating FacilityID's..."&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    editOperation&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ShowProgressor &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;                    
                    editOperation&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CancelMessage &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Operation Cancelled"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    editOperation&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ErrorMessage &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Error Updating Attributes"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    editOperation&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;EditOperationType &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; ArcGIS&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Desktop&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Editing&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;EditOperationType&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Long&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:28:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/what-triggers-editoperation-showprogressor/m-p/850875#M4235</guid>
      <dc:creator>BrianBulla</dc:creator>
      <dc:date>2021-12-12T10:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: What triggers EditOperation.ShowProgressor</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/what-triggers-editoperation-showprogressor/m-p/850876#M4236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Brian,&lt;/P&gt;&lt;P&gt;Just time.&lt;/P&gt;&lt;P&gt;The progressor will show 2 seconds after the EditOperation is executing. If the operation methods are quicker than that, you wont see it.&lt;/P&gt;&lt;P&gt;In your chained environment, each operation is treated separately with its own execution. The chain just bolts it onto the last operation for the undo stack.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also look into the framework progress dialog, which is more complicated to setup, but can wrap around the whole process.&lt;/P&gt;&lt;P&gt;There's a sample here:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/ProgressDialog"&gt;https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/ProgressDialog&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2019 18:14:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/what-triggers-editoperation-showprogressor/m-p/850876#M4236</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-07-24T18:14:32Z</dc:date>
    </item>
  </channel>
</rss>

