laptop and a wrench

Bug

When a locator is copied to SDE, user should be given an opportunity to select destination Config Keyword.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM004383
SubmittedSeptember 26, 2006
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
StatusWill Not Be Addressed

Additional Information

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

Use the following VBA script to change the config keyword of the locator.Private Sub CopyLocator() CopyLocatorToSDEWorkspace "<a href="file:c:/MyLocators" target="_blank">c:\MyLocators</a>", "MyLocator1", "myconn.sde", "MyKeyword"End SubPrivate Sub CopyLocatorToSDEWorkspace(localWksDir As String, locatorName As String, sdeConnFile As String, configKeyword as String) Dim locMgr As ILocatorManager2 Set locMgr = New LocatorManager ' get the full name of the ArcSDE connection file Dim fullConnFileName As String fullConnFileName = Environ("USERPROFILE") + "\Application Data\ESRI\ArcCatalog\" + sdeConnFile ' open ArcSde connection Dim sdeLocWks As ILocatorWorkspace Set sdeLocWks = locMgr.GetLocatorWorkspaceFromPath(fullConnFileName) ' get locator from a local folder Dim localLocWks As ILocatorWorkspace Set localLocWks = locMgr.GetLocatorWorkspaceFromPath(localWksDir) Dim loc As ILocator Set loc = localLocWks.GetLocator(locatorName) ' copy the locator to ArcSDE workspace sdeLocWks.AddLocator locatorName, loc, configKeyword, NothingEnd Sub

Steps to Reproduce

Bug ID: NIM004383

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options