[mapguide-users] Querystring Parameters
Jason Birch
Jason.Birch at nanaimo.ca
Thu Mar 30 01:17:21 EST 2006
Each of the aspx files has a GetRequestParameters function which in most (all?) cases seems to call a GetParameters function. This function handles the translation of query parameters into system variables, and by reading the code you can get a good idea of what parameters can be passed to the various web layout components.
The one you're probably interested in is mainframe.aspx (line 598):
https://mapguide.osgeo.org/source/browse/mapguide/trunk/MgDev/Web/src/mapviewernet/mainframe.aspx?view=markup
Not much luck there, though. The only additional variables that I can see are LOCALE, USERNAME and PASSWORD. Ideally, all of the pre-set web layout parameters could be overridden with parameters sent to the mapframe.aspx file (line 205):
https://mapguide.osgeo.org/source/browse/mapguide/trunk/MgDev/Web/src/mapviewernet/mapframe.aspx?view=markup
I would imagine that Autodesk wants to keep feature equivalencies between the AJAX and HTML viewers, so maybe this is a non-starter. It is open source, and as such... quite hackable.
Jason
________________________________
From: Randy Glen Johnson [mailto:rjohnson at maintenanceconnection.com]
Sent: Wed 2006-03-29 4:21 PM
To: Map Guide User Group
Subject: [mapguide-users] Querystring Parameters
It would be helpful if there were a documented list of QueryString parameters available to use. Parameters such as those used below like SESSION and WEBLAYOUT. It seems that there would be more so that I could Query a map for an attribute and zoom to that attribute...
src="/mapguide/mapviewernet/ajaxviewer.aspx?SESSION=<%= sessionId %>&WEBLAYOUT=<%= webLayout %>" name="ViewerFrame"
Thanks.
Best Regards,
Randy Glen Johnson
Programmer Analyst
Maintenance Connection, Inc.
1-888-567-3434 ext 800
http://www.maintenanceconnection.com <http://www.maintenanceconnection.com/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 6220 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide_users/attachments/20060329/58b5fbb8/attachment.bin
More information about the Mapguide_users
mailing list