Wednesday, 11 September 2013

Maestro tip: Editing session resources

So ... You know about that resource ID "address bar" which I've introduced to MapGuide Maestro 5.0 since beta 4?

That thing also takes session-based resource IDs. Thus, assuming you connected as an Administrator you can use this address bar to also open session-based resources and view/edit them. A nice way to debug any code you have that works with session-based resources.


Now sadly there's currently no way to open a resource ID from the "address bar" using the Generic XML editor. So for the next release we're going to fix that, by letting you choose which editor you want to open the resource with: The designated one or the Generic XML editor



Credit to Crispin Hoult for the original discovery.

EDIT: Correction. It seems you can only view session resources at the moment with this technique and not be able to edit them as saving will prompt you to save back into the site repository. We're gonna have to do something about that.

No comments: