Yes, the MaestroAPI wraps the call to ApplyResourcePackage.
An example:

ServerConnectionI con = new HttpServerConnection(new Uri("http://localhost/mapguide";), "Administrator", "admin", null, true);
con.UploadPackage("c:\\package.mgp", null);

Regards, Kenneth Skovhede, GEOGRAF A/S



Jackie Ng skrev:
The mapagent http endpoint exposes an ApplyResourcePackage function.

You could programatically HTTP post your package files to this mapagent url.

You might also be able to do this via the MaestroAPI library (I'm not
personally sure)

- Jackie


Sebastian NICIU wrote:
Hi all, Is it possible to automatically load mgp packages ? At the moment I use MapGuide Site Administrator --> Manage Packages-->Load package to load packages. I am trying to create maps without the user intervention because we have
to load more than 100 mgp files for a single synchronization.
Thanks


_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users



_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to