Is a folder connection in arc catalog necessary for IGxCatalog.GetObjectFromFullName ?

3725
2
02-20-2015 08:52 AM
TedRakel
New Contributor III

I'm using the IGxCatalog.GetObjectFromFullName method to find layer files on the c: drive.  The call to IGxCatalog.GetObjectFromFullName returns null unless I have a folder connection in arc catalog to the c: drive.  I'll have to update all the users Normal.gxt if this connection is really necessary.  Does anyone know if IGxCatalog.GetObjectFromFullName can find layer files on the c: drive WITHOUT creating a folder connection in arc catalog?

0 Kudos
2 Replies
SachinKanaujia
Occasional Contributor III

As far as I remember you need to have the folders mapped in ArcCatalog but disk drives should be there by default. If its not there then you will have to add them as connections.

0 Kudos
AhmedEl-Sisi
Occasional Contributor III

GetObjectFromFullName used to find objects in the catalog tree, you can connect the target folder programmatically using  IGxCatalog.ConnectFolder Method.