When you save or access a resource, you use "Library://<folder>/<resource>.<ext>". To make the resource temporary, use "Session:<sessionid>//<folder>/<resource>.<ext>".

So, to modify the code, search for "Library://" and determine if that particular access is supposed to be temporary, and change as note above.

Regards, Kenneth, GEOGRAF A/S



Denis Lalonde skrev:

Is there sample code for creating map markups/redlining that are saved to the session only and not directly to the Library in Repositories?

Alternatively, can someone point me in the right direction as to what to change in the Shareable Markup Sample site ( http://data.mapguide.com/mapguide/gt/index.php) so that I can create a temporary layer rather than one of the permanent layers listed in the "Available Markup" combo-box? 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