[mapguide-users] getSessionID Fusion in MGOS 2.4

GordonL gordon.luckett at arrowgeomatics.com
Tue Oct 23 08:18:48 PDT 2012


Alright, I noticed that the AIMS2012 to AIMS2013 issue is the same as moving
from MGOS 2.2 to MGOS 2.4

With MG 2.2 you get the session id with Fusion like this:
 
	var mapWidget =Fusion.getWidgetById('Map');
   
 	var SESSION = mapWidget.getSessionID();
 	var MAPNAME = mapWidget.getMapName(); 
 
 
BUT with MGOS  2.4  you have to do this:

	var mapWidget =Fusion.getWidgetById('Map');
   
 	var SESSION =  mapWidget.aMaps[0].getSessionID();
 	var MAPNAME = mapWidget.aMaps[0].getMapName(); 

Similar to this post:
http://forums.autodesk.com/t5/Autodesk-MapGuide-Enterprise/AIMS-2013-getSessionID-API-change/td-p/3418385




--
View this message in context: http://osgeo-org.1560.n6.nabble.com/getSessionID-Fusion-in-MGOS-2-4-tp5010520.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list