<?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: How to add predefined folder connections into favorites programmatically in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839449#M3727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Than&lt;/P&gt;&lt;P&gt;The ability to add folder connections to the "Favorites" is slated to be available with 2.5 release. But in the meantime, you can definitely re-use the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;esri_geodatabase_addFolderConnectionToFavoritesButton button in your customization.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Uma&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Aug 2019 15:39:18 GMT</pubDate>
    <dc:creator>UmaHarano</dc:creator>
    <dc:date>2019-08-09T15:39:18Z</dc:date>
    <item>
      <title>How to add predefined folder connections into favorites programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839446#M3724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw a lot of sample code to add folder connection dynamically with sdk. But I got a requirement that the users want to have set of predefined folder connections into their favorite before they create the project. Is there any code snippet I can refer to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 02:01:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839446#M3724</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-08-08T02:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to add predefined folder connections into favorites programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839447#M3725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;One way to accomplish this is to -&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Custom-settings"&gt;custom application property&lt;/A&gt; that holds the values for these folder connections.&lt;/LI&gt;&lt;LI&gt;Then on &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic9319.html"&gt;project open&lt;/A&gt; event execute your logic to add these connections to the project.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 13:33:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839447#M3725</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2019-08-08T13:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to add predefined folder connections into favorites programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839448#M3726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank&amp;nbsp;Uma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the good idea.&lt;/P&gt;&lt;P&gt;And also your suggestion is one of the requirement for me to do so as well together with checking the existing project's folder connection to validate.&lt;/P&gt;&lt;P&gt;As an additional, they also want to add those connections into favorites.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do&amp;nbsp;manage to add folder into folder connection with below code&lt;/P&gt;&lt;P&gt;var folderToAdd = ItemFactory.Instance.Create(folderpath);&lt;BR /&gt;await QueuedTask.Run(() =&amp;gt; Project.Current.AddItem(folderToAdd as IProjectItem);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing I can't manage to do is that can't find a way to add the folder path into favorites and read the existing paths from favorites.&lt;/P&gt;&lt;P&gt;And I am thinking whether it is good way to update&amp;nbsp;[profile path]\AppData\Roaming\Esri\ArcGISPro\Favorites\favorites.json file as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/456681_favorite.PNG" /&gt;&lt;/P&gt;&lt;P&gt;I saw the command but there is precondition mentioned in it to call that command, [esri_geodatabase_addFolderConnectionToFavoritesButton] , not sure how to use that or is that correct one as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you recommend?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 01:30:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839448#M3726</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-08-09T01:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to add predefined folder connections into favorites programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839449#M3727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Than&lt;/P&gt;&lt;P&gt;The ability to add folder connections to the "Favorites" is slated to be available with 2.5 release. But in the meantime, you can definitely re-use the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;esri_geodatabase_addFolderConnectionToFavoritesButton button in your customization.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Uma&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 15:39:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839449#M3727</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2019-08-09T15:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to add predefined folder connections into favorites programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839450#M3728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank Uma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I shall try use it and contact you when I encountered issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2019 02:04:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839450#M3728</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-08-12T02:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to add predefined folder connections into favorites programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839451#M3729</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/86730"&gt;Uma Harano&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I know how to do it in 2.5, since it is released.&lt;/P&gt;&lt;P&gt;I tried to find it in api doco url as below reference and didn't manage to find out.&lt;/P&gt;&lt;P&gt;I might have missed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic9110.html" title="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic9110.html"&gt;ArcGIS Pro 2.5 API Reference Guide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic8950.html" title="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic8950.html"&gt;ArcGIS Pro 2.5 API Reference Guide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank and Best Regards,&lt;/P&gt;&lt;P&gt;Than&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 02:42:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839451#M3729</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-03-20T02:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to add predefined folder connections into favorites programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839452#M3730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Than,&lt;/P&gt;&lt;P&gt;Unfortunately this did not make it in 2.5. I will reply to this thread when I have more information.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 15:20:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839452#M3730</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2020-03-26T15:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to add predefined folder connections into favorites programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839453#M3731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank &lt;A href="https://community.esri.com/migrated-users/86730"&gt;Uma Harano&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2020 15:34:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839453#M3731</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-04-04T15:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to add predefined folder connections into favorites programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839454#M3732</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/86730"&gt;Uma Harano&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I know whether that feature is available in 2.6 now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2020 05:52:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/839454#M3732</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-03T05:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to add predefined folder connections into favorites programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/1056515#M6569</link>
      <description>&lt;P&gt;Hi&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/migrated-users/86730" target="_blank"&gt;Uma Harano&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;May I know whether that feature is available in 2.7 sdk already?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Than&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 01:23:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-add-predefined-folder-connections-into/m-p/1056515#M6569</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-05-11T01:23:38Z</dc:date>
    </item>
  </channel>
</rss>

