<?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 froozen UI in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/froozen-ui/m-p/1233206#M9095</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using a ExecuteToolAsync for join one featureclass and a table. I need to wait for the result to understand if it is good/bad.&lt;/P&gt;&lt;P&gt;The problem is that waiting for the result cause the ui to freeze forever. It seems like the Task doesn't retrieve the result.&lt;/P&gt;&lt;P&gt;What I'm doing wrong?&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="pspada_WT_0-1668781541082.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/56343iC1771B1F67DC1021/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pspada_WT_0-1668781541082.png" alt="pspada_WT_0-1668781541082.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 14:28:17 GMT</pubDate>
    <dc:creator>pspada_WT</dc:creator>
    <dc:date>2022-11-18T14:28:17Z</dc:date>
    <item>
      <title>froozen UI</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/froozen-ui/m-p/1233206#M9095</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using a ExecuteToolAsync for join one featureclass and a table. I need to wait for the result to understand if it is good/bad.&lt;/P&gt;&lt;P&gt;The problem is that waiting for the result cause the ui to freeze forever. It seems like the Task doesn't retrieve the result.&lt;/P&gt;&lt;P&gt;What I'm doing wrong?&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="pspada_WT_0-1668781541082.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/56343iC1771B1F67DC1021/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pspada_WT_0-1668781541082.png" alt="pspada_WT_0-1668781541082.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 14:28:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/froozen-ui/m-p/1233206#M9095</guid>
      <dc:creator>pspada_WT</dc:creator>
      <dc:date>2022-11-18T14:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: froozen UI</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/froozen-ui/m-p/1233226#M9096</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;ExecuteToolAsync doesn't need&amp;nbsp;QueuedTask.Run. You can use ExecuteToolAsync with&amp;nbsp;&lt;SPAN&gt;CancelableProgressor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sample here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic9385.html" target="_self"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic9385.html&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 14:49:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/froozen-ui/m-p/1233226#M9096</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2022-11-18T14:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: froozen UI</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/froozen-ui/m-p/1233229#M9097</link>
      <description>&lt;P&gt;This might work:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;private static async Task&amp;lt;bool&amp;gt; makeJoin(string rightTableName)
{
	var pathRight = Path.Combine(Project.Current.DefaultGeodatabasePath, rightTableName);
	var args = Geoprocessing.MakeValueArray(fcName, idField, pathRight, zoneField);
	var test2 = await Geoprocessing.ExecuteToolAsync("management.AddJoin", args);
	return !test2.IsFailed;
}&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 18 Nov 2022 14:55:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/froozen-ui/m-p/1233229#M9097</guid>
      <dc:creator>FridjofSchmidt</dc:creator>
      <dc:date>2022-11-18T14:55:41Z</dc:date>
    </item>
  </channel>
</rss>

