[mapguide-users] Invkoe URL with parameters

Jayanta jayanta.ghosh at cesc.co.in
Wed Mar 30 02:55:55 EDT 2011

I want to invoke a url along with parameters. Using Mapguide I have
configured the invoke url and passed the parameter by providing the
key/value pair i.e SELECTION/$currentSelection. The url is basically an
asp.net page and its source code is given below:-
<%@ Page Language="C#" ValidateRequest="false" %>

<%@ Import Namespace="OSGeo.MapGuide" %>

    String sessionID = Request.Form.Get("SESSION");
    string realPath = Request.ServerVariables["APPL_PHYSICAL_PATH"];
    String configPath = realPath + "webconfig.ini";

    MgUserInformation userInfo = new MgUserInformation(sessionID);
    MgSiteConnection siteConnection = new MgSiteConnection();

    String selString = Request.Form.Get("SELECTION");
    String selection = HttpUtility.UrlDecode(selString);

    List Selection


The output that i am getting from the above page is also given below:-


My requirement is that when i will select a layer in the map that selected
object has got some attribute, I want to capture the attribute value in a

I will be greatful if any body can help me in this regard.

View this message in context: http://osgeo-org.1803224.n2.nabble.com/Invkoe-URL-with-parameters-tp6222045p6222045.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list