Make Folder Favorites References Again!

616
6
08-21-2021 11:56 AM
Status: Under Consideration
Labels (1)
John_Spence
Occasional Contributor III

Please make folders in Favorites, references again (ref ArcGIS Desktop/Catalog connect to a folder as example).

Here is the scenario I just warned my organization about.

If you are like me and setup connections, folders, etc in your favorites or project in Pro the following is something you need to be aware of!

In ArcGIS Desktop/Catalog, when a folder was added for access within the application it was a reference link to the folder.  For example, in catalog you could create a folder connection to V:\is\work to get access to the work directory.  It would show up in ArcCatalog as V:\is\work and you could rename it be something else like “My Work Files”, but it would always point to V:\is\work.  If you continue that process in ArcGIS Pro, for those of us who have the ability to rename folders, you will rename the actual folder.  It other words, it is not a link to the folder anymore.  It happens throughout Pro regardless if you are in Catalogs’ Project or Favorites tabs.  Example A shows how to initiate the workflow described.

Example A

John_Spence_0-1629571813417.png

 

There is a way around this, but I do not think this is going to work for everyone.  I have also not found any particular setting that stops the behavior either be it a options menu item or registry modification.  Using file explorer, place “%appdata%\Roaming\Esri\ArcGISPro\Favorites” in the file path will take you to the user specific location where favorites are stored.  Withing the directory there is a json file named Favorites.json.  This file can be edited when ArcGIS Pro is not running to change the directory alias without renaming the item.  This change will carry over to a project when you add it from your favorites, but if you change the name again within Pro project or favorites, the folder name will change.

Pre-Modification JSON Entry

{"TypeId":"folder_general","Path":"V:\\is\\work","Id":"","url":null,"name":"work","persistFavorite":false}

Post Modification JSON Entry

{"TypeId":"folder_general","Path":"V:\\is\\work","Id":"","url":null,"name":"GTS - Work","persistFavorite":false}

 

In Example A, you can see the folders at the bottom before I modified the JSON file.  In Example B below, you can see the affect of the change made to the JSON configuration.

Example B

John_Spence_1-1629571813425.png

 

There are a couple of scenarios where this rename process will not work.  For example, if you setting a path to your C:\ or D:\ drives.  Trying to rename them is impossible.  Always connect to a folder under root of the directory rather than the root if you want to be able to rename it via the process described above.

Hope that helps everyone out and avoids some potentially difficult troubleshooting in the future.

6 Comments
KoryKramer

Thank you for submitting this idea @John_Spence ! For users who are looking for the ability to create aliases for folder connections (not Favorites), please see Let us create an alias for connected folders in ArcGIS Pro  That idea is In Product Plan and we expect it to be included in ArcGIS Pro 2.9 later this year.

Due to how Favorites are stored, we will need to take a different approach meaning that this work will be done separately.

Thanks again for the idea.  We will continue to communicate here through status updates.

John_Spence

@KoryKramer  oh that is great news!  Thanks Kory.

NaicongLi
Status changed to: Under Consideration
 
John_Spence

Outstanding news!  Thank you.

AndreaB

I commented on this article https://www.esri.com/arcgis-blog/products/data-management/data-management/arcgis-pro-tips-this-might... but I wanted to point out here too that this article is wrong and please correct it. It says "In the Favorites tab, double-click to rename any of your favorite items. This name is saved as an alias and does not affect the referenced item’s name." Thanks.

KoryKramer

Sorry about that @AndreaB that blog is from 2017 and I'm not sure if the functionality actually changed between then and now. The blog has been updated. Thank you for pointing out the error so that we could correct it.