Hello. Has anyone been able to add an Address Locator (.loc file) through the Pro SDK that is on a network drive? It seems to be hit and miss. Most times after adding, it finishes adding, but the locator cannot be used and when attempting to view all map locators in the catalog tree (including esri built-in), they cannot be viewed and there is a spinning icon that persists. I can add one from the local C drive though (same as the one copied from the network drive). Also, has anyone been able to add a locator to their favorites in Pro (this would remove the need for the above). Thank you.
Pretty straight forward code:
MapView mapView = MapView.Active;
LocatorManager locatorManager = mapView.LocatorManager;
await locatorManager.AddLocatorAsync(strLocatorPath);
Are you using a mapped network drive or a unc path?
Hi Michael. I have tried both a unc path and mapped network drive resulting with the same issue.
Did you try it with write-access enabled on the UNC folder?
Hi Kirk,
I have full access to the UNC folder. Thank you.