[mapguide-users] resource always exists

Jackie Ng jumpinjackie at gmail.com
Thu Dec 12 01:42:06 PST 2013


You could try this and see if this works.

Go to the LocalNativeProvider/Src directory of the Maestro SDK and edit
LocalNativeConnection.cs

Put this method into the LocalNativeConnection class

        public override bool ResourceExists(string resourceid)
        {
            MgResourceIdentifier resId = new
MgResourceIdentifier(resourceid);
            MgResourceService res =
this.Connection.CreateService(MgServiceType.ResourceService) as
MgResourceService;
            return res.ResourceExists(resId);
        }

Then build a new local native connection provider using the ProviderTemplate
tool.

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/resource-always-exists-tp5093874p5093883.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list