<?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 I get error on a SearchTextBox on XAML saying SuggestionSource property not found in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/i-get-error-on-a-searchtextbox-on-xaml-saying/m-p/1189931#M8335</link>
    <description>&lt;P&gt;I used to run this w/o a problem but now saying there is no SuggestionSource property. I am migrating my AddIn to 3.0/.Net6. I check the documentation. I didn't find any info that says SuggestionSource replaced/removed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic15062.html" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic15062.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic15120.html" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic15120.htmlhttps://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic15062.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what might be the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;controls:SearchTextBox x:Name="SearchLayersBox" Height="23" Width="212" Margin="5,5,5,10" Grid.Row="0" Grid.Column="0" 
                                                VerticalAlignment="Top" InfoText="Search layers here"                                               
                                                SearchMode="Auto" ShowHistory="True" SuggestionListMax="15" 
                                                
                                                ToolTip = "{Binding SearchLayersBoxToolTip, UpdateSourceTrigger=PropertyChanged}"
                                                Text="{Binding SearchLayersBoxText, UpdateSourceTrigger=PropertyChanged}"
                                                SuggestionSource="{Binding SearchLayersBoxSuggestionSource, UpdateSourceTrigger=PropertyChanged}"
                                                 
                                                /&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 16:02:08 GMT</pubDate>
    <dc:creator>Amadeus111</dc:creator>
    <dc:date>2022-07-06T16:02:08Z</dc:date>
    <item>
      <title>I get error on a SearchTextBox on XAML saying SuggestionSource property not found</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/i-get-error-on-a-searchtextbox-on-xaml-saying/m-p/1189931#M8335</link>
      <description>&lt;P&gt;I used to run this w/o a problem but now saying there is no SuggestionSource property. I am migrating my AddIn to 3.0/.Net6. I check the documentation. I didn't find any info that says SuggestionSource replaced/removed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic15062.html" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic15062.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic15120.html" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic15120.htmlhttps://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic15062.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what might be the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;controls:SearchTextBox x:Name="SearchLayersBox" Height="23" Width="212" Margin="5,5,5,10" Grid.Row="0" Grid.Column="0" 
                                                VerticalAlignment="Top" InfoText="Search layers here"                                               
                                                SearchMode="Auto" ShowHistory="True" SuggestionListMax="15" 
                                                
                                                ToolTip = "{Binding SearchLayersBoxToolTip, UpdateSourceTrigger=PropertyChanged}"
                                                Text="{Binding SearchLayersBoxText, UpdateSourceTrigger=PropertyChanged}"
                                                SuggestionSource="{Binding SearchLayersBoxSuggestionSource, UpdateSourceTrigger=PropertyChanged}"
                                                 
                                                /&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 16:02:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/i-get-error-on-a-searchtextbox-on-xaml-saying/m-p/1189931#M8335</guid>
      <dc:creator>Amadeus111</dc:creator>
      <dc:date>2022-07-06T16:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: I get error on a SearchTextBox on XAML saying SuggestionSource property not found</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/i-get-error-on-a-searchtextbox-on-xaml-saying/m-p/1190899#M8365</link>
      <description>&lt;P&gt;Using your XAML I made a 2.9 sample and then migrated the sample using the Pro Migration tool vsix:&amp;nbsp;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-3.0-Migration-Guide#step-1-conversion" target="_self"&gt;ProConcepts 3.0 Migration Guide · ArcGIS/arcgis-pro-sdk Wiki (github.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I attached my sample project for your reference.&amp;nbsp; The&amp;nbsp;&lt;SPAN&gt;SuggestionSource&amp;nbsp;property still exists,&amp;nbsp;and my 3.0 add-in project compiled without error after the migration.&amp;nbsp; &amp;nbsp;You can't find&amp;nbsp;the&amp;nbsp;SuggestionSource&amp;nbsp; property in the API reference guide because it is inherited from the ArcGIS.Desktop.Internal.Framework.Controls.SearchTextBox control&amp;nbsp;and our online API reference guide&amp;nbsp;&lt;STRONG&gt;always&lt;/STRONG&gt; excluded such inherited "Internal" properties hence the property was not documented in the 2.x API reference guide.&amp;nbsp; &amp;nbsp;Such properties can be used in add-ins but&amp;nbsp;are not supported by the Pro API regarding the API's '&lt;A title="forwards compatible across&amp;nbsp;minor releases&amp;nbsp;of Pro" href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-3.0-Migration-Guide#forwards-compatibility" target="_self"&gt;forwards compatible across&amp;nbsp;&lt;STRONG&gt;minor releases&lt;/STRONG&gt;&amp;nbsp;of Pro&lt;/A&gt;' support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My sample code implements an initial Suggestion list: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Wolf_0-1657297963335.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45563i1D19EF41A3BDCF5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Wolf_0-1657297963335.png" alt="Wolf_0-1657297963335.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and updates that list during runtime by clicking the button that adds feature layer names to the suggestion list.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Wolf_1-1657297989869.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45564iC4D4553B55EF28A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Wolf_1-1657297989869.png" alt="Wolf_1-1657297989869.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 16:37:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/i-get-error-on-a-searchtextbox-on-xaml-saying/m-p/1190899#M8365</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2022-07-08T16:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: I get error on a SearchTextBox on XAML saying SuggestionSource property not found</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/i-get-error-on-a-searchtextbox-on-xaml-saying/m-p/1190930#M8366</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;Thanks for the reply. I will check out and let you know. I use SearchBox heavily in my AddIns.&amp;nbsp; I gotta figure this out&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 17:43:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/i-get-error-on-a-searchtextbox-on-xaml-saying/m-p/1190930#M8366</guid>
      <dc:creator>Amadeus111</dc:creator>
      <dc:date>2022-07-08T17:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: I get error on a SearchTextBox on XAML saying SuggestionSource property not found</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/i-get-error-on-a-searchtextbox-on-xaml-saying/m-p/1191246#M8372</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;I just realized I didn't do Pro Migrate Solution. After the migration 2-&amp;gt;3 it works fine. I am sorry! I should have paid more attention. Knowing there is no problem pushed me find my own mistake. Thank you for your support, I appreciate that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 14:41:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/i-get-error-on-a-searchtextbox-on-xaml-saying/m-p/1191246#M8372</guid>
      <dc:creator>Amadeus111</dc:creator>
      <dc:date>2022-07-11T14:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: I get error on a SearchTextBox on XAML saying SuggestionSource property not found</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/i-get-error-on-a-searchtextbox-on-xaml-saying/m-p/1191540#M8387</link>
      <description>&lt;P&gt;Ok, that explains it.&amp;nbsp; &amp;nbsp;I guess the Migation guide (&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-3.0-Migration-Guide" target="_self"&gt;ProConcepts-3.0-Migration-Guide&lt;/A&gt;&amp;nbsp; ) in the ArcGIS Pro SDK wiki could be a bit more frontline and center.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 14:03:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/i-get-error-on-a-searchtextbox-on-xaml-saying/m-p/1191540#M8387</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2022-07-12T14:03:40Z</dc:date>
    </item>
  </channel>
</rss>

