<?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: Join an External Table without Refreshing the Map in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861669#M4775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dominic,&lt;/P&gt;&lt;P&gt;I use a lot of geoprocessing in my code and GPExecureToolFlags works for me. Could you please send me a piece of code where you call geoprocessing tool?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Dec 2018 06:39:29 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2018-12-18T06:39:29Z</dc:date>
    <item>
      <title>Join an External Table without Refreshing the Map</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861665#M4771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to join an external file (dbf) to a FeatureClass with ArcGIS Pro SDK. To approach this I need to run Geoprocessing Tool "Add Join", which forces the map refresh totally (including base map and all layers). If I join multiple FeatureClasses at one time, the map will refresh several times. That will cause low performance of map display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if there's any solution to avoid that refresh, or any &lt;STRONG&gt;alternative approach to join external tables&lt;/STRONG&gt; instead of Geoprocessing Tool to do the join. Thank you very much!.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 18:29:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861665#M4771</guid>
      <dc:creator>DominicChen1</dc:creator>
      <dc:date>2018-12-11T18:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Join an External Table without Refreshing the Map</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861666#M4772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dominic,&lt;/P&gt;&lt;P&gt;You can use geoprocessing from sdk for joining, but you need to change geoprocessing flags. Do not use &lt;SPAN&gt;GPExecuteToolFlags&lt;/SPAN&gt;.&lt;SPAN&gt;AddOutputsToMap,&lt;/SPAN&gt; &lt;SPAN&gt;GPExecuteToolFlags&lt;/SPAN&gt;.&lt;SPAN&gt;Default&lt;/SPAN&gt; or &lt;SPAN&gt;GPExecuteToolFlags&lt;/SPAN&gt;.&lt;SPAN&gt;RefreshProjectItems&lt;/SPAN&gt; flags. More info here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Geoprocessing"&gt;https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Geoprocessing&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2018 11:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861666#M4772</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2018-12-12T11:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Join an External Table without Refreshing the Map</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861667#M4773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Gintautas. I changed the GP flag to&amp;nbsp;&lt;SPAN style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;GPExecuteToolFlags&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;.&lt;/SPAN&gt;None and it doesn't flash. Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 00:49:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861667#M4773</guid>
      <dc:creator>DominicChen1</dc:creator>
      <dc:date>2018-12-13T00:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Join an External Table without Refreshing the Map</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861668#M4774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry but that issue still exists. It seems that all GP Tools have this problem even if you set the&amp;nbsp;&lt;SPAN style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;GPExecuteToolFlags&lt;/SPAN&gt; param. If you run multiple GP Tools at one function, you have to refresh the map again and again even though it's not necessary to&amp;nbsp; update the map (like the join action).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any alternative solution? Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2018 19:21:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861668#M4774</guid>
      <dc:creator>DominicChen1</dc:creator>
      <dc:date>2018-12-17T19:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Join an External Table without Refreshing the Map</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861669#M4775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dominic,&lt;/P&gt;&lt;P&gt;I use a lot of geoprocessing in my code and GPExecureToolFlags works for me. Could you please send me a piece of code where you call geoprocessing tool?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2018 06:39:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861669#M4775</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2018-12-18T06:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Join an External Table without Refreshing the Map</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861670#M4776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Gintautas. My code is listed as follows:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;public&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;static&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;async&lt;/SPAN&gt; Task&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;bool&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;JoinTable&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;string&lt;/SPAN&gt; sLayerName&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;string&lt;/SPAN&gt; sInField&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;string&lt;/SPAN&gt; sJoinTable&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;string&lt;/SPAN&gt; sJoinField&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;bool&lt;/SPAN&gt; bKeepAll&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; QueuedTask&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Run&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;async&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;try&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;string&lt;/SPAN&gt; sJoinType &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"KEEP_COMMON"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;bKeepAll&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; sJoinType &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"KEEP_ALL"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; parameters &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Geoprocessing&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;MakeValueArray
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sLayerName&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; sInField&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; sJoinTable&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; sJoinField&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; sJoinType&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; cts &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;CancellationTokenSource&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;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; results &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;await&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="string token"&gt;"management.AddJoin"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; parameters&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; cts&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Token&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;eventName&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; o&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;//Debug.WriteLine($@"GP event: {eventName}");&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; GPExecuteToolFlags&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;None&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;results&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;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;catch&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token class-name"&gt;Exception&lt;/SPAN&gt; ex&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;//MessageBox.Show(ex.ToString());&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the Geoprocessing.ExecuteToolAsync() function, all the layers are forced to refresh even if I set GPExecuteToolFlags to None. I can't find a way to avoid that. Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:41:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861670#M4776</guid>
      <dc:creator>DominicChen1</dc:creator>
      <dc:date>2021-12-12T10:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Join an External Table without Refreshing the Map</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861671#M4777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dominic,&lt;/P&gt;&lt;P&gt;Your code does not work from my add-in from ArcGIS Pro 2.3 Beta. I have change it in my style at it works fine without refreshing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        public static bool JoinTable(string sLayerName, string sInField, string sJoinTable, string sJoinField, bool bKeepAll)&lt;/P&gt;&lt;P&gt;        {&lt;/P&gt;&lt;P&gt;            try&lt;/P&gt;&lt;P&gt;            {&lt;/P&gt;&lt;P&gt;                var gpresult1 = Task.Run(() =&amp;gt;&lt;/P&gt;&lt;P&gt;                {&lt;/P&gt;&lt;P&gt;                    string sJoinType = "KEEP_COMMON";&lt;/P&gt;&lt;P&gt;                    if (bKeepAll) sJoinType = "KEEP_ALL";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                    var parameters = Geoprocessing.MakeValueArray(sLayerName, sInField, sJoinTable, sJoinField, sJoinType);&lt;/P&gt;&lt;P&gt;                    return Geoprocessing.ExecuteToolAsync("AddJoin_management", parameters, null,&lt;/P&gt;&lt;P&gt;                        CancelableProgressor.None, GPExecuteToolFlags.AddToHistory);&lt;/P&gt;&lt;P&gt;                });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                return !gpresult1.Result.IsFailed;&lt;/P&gt;&lt;P&gt;            }&lt;/P&gt;&lt;P&gt;            catch (Exception ex)&lt;/P&gt;&lt;P&gt;            {&lt;/P&gt;&lt;P&gt;                //MessageBox.Show(ex.ToString());&lt;/P&gt;&lt;P&gt;                return false;&lt;/P&gt;&lt;P&gt;            }&lt;/P&gt;&lt;P&gt;        }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have never used geoprocessing tool naming like you do: "management.AddJoin" . I use naming like this "AddJoin_management".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2018 07:06:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861671#M4777</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2018-12-19T07:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Join an External Table without Refreshing the Map</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861672#M4778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gintautas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help. I tried your code but the program get stuck when I run &lt;STRONG&gt;Task.Run()&lt;/STRONG&gt; function. I have to make it&amp;nbsp;asynchronous (adding&lt;STRONG&gt; async, await&lt;/STRONG&gt; keyword), which again causes the refresh. Since this refresh after join also occurs in ArcPro, I think it must be related to multithread in ArcGIS Pro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 20:00:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861672#M4778</guid>
      <dc:creator>DominicChen1</dc:creator>
      <dc:date>2018-12-27T20:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Join an External Table without Refreshing the Map</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861673#M4779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dominic,&lt;/P&gt;&lt;P&gt;I think you can use different geoprocessing tool "Join Field" (&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/join-field.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/join-field.htm"&gt;Join Field—Data Management toolbox | ArcGIS Desktop&lt;/A&gt; ). It works without layers so it does not need to refresh the content of map. But at first you need to make a copy of your data and run join field geoprocessing tool on it because this tool adds joined fields permanently. After your calculations are completed you need to delete copy of your data. I do not know which way will be faster with geoprocessing but it will not refresh your screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2018 08:17:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861673#M4779</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2018-12-28T08:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Join an External Table without Refreshing the Map</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861674#M4780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;Thank you for your help, Gintautas. I tried another way to settle the problem. I set "MapView.Active.DrawingPaused = true; "before running GP and&amp;nbsp; "MapView.Active.DrawingPaused = false;" after. That will cause the map rendering suspended and avoid refreshing many times. I think that's an proper way considering current situation. There are still many inconvenience for those who are familiar with ArcObjects but try to use Pro SDK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;Sorry for the delay! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;Dominic&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2019 17:03:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/join-an-external-table-without-refreshing-the-map/m-p/861674#M4780</guid>
      <dc:creator>DominicChen1</dc:creator>
      <dc:date>2019-01-30T17:03:31Z</dc:date>
    </item>
  </channel>
</rss>

