[mapguide-users] LoadProcedure

Hans Milling hm at geograf.dk
Wed Jan 7 04:23:42 PST 2015


Can't you just avoid having load procedures and just replace file files
(stopping the MapGuide service first)?

Perhaps not the most elegant solution, but another solution if you do use
load procedures and managed files could be:
The managed files are placed in the DataFiles folder in the MapGuide
installation:
C:\Program Files\OSGeo\MapGuide22\Server\Repositories\Library\DataFiles

You could just stop the mapguide service, replace the files inside the
folder and start the service again. I don't know if MapGuide or the API can
give you the excact path to a managed resource, but it would be easy to
write some code that just search for the filename (assuming you have no
duplicate filenames) and then replace them.

Best regards
  Hans Milling...



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


More information about the mapguide-users mailing list