[mapguide-users] resource always exists

mika at digikartta.net mika at digikartta.net
Thu Dec 12 01:49:39 PST 2013


Yes!
It works now!

Thanks a lot,
- mika -


Jackie Ng kirjoitti 2013-12-12 11:42:
> 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.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list