[mapguide-users] How to invoke URL?
rnorthcott at gmail.com
Mon Mar 16 09:39:10 EDT 2009
To repeat the above, the URL activated for Feature option will not work on
Fusion layouts. Use a regular Layout.
You would need to put in a value from your feature data into the URL
activated expression.Build an expression like
concat('/app/DataPullPage.aspx?date=', ToDate ( "AddedDate" ) )
app os the virtual directory or application directory on your web-server
and DataPullPage.aspx (or .php) is the page you want data to show in the
and AddedDate is a Date field in your feature attribute table of the data
you are displaying.
When you move you mouse over, there should be a yellow tool-tip saying press
Cntrl+Click to open URL for this feature.
If a user does that, the parameter is passed to your page with the value
from your attribute table. You make the page then spit out whatever you need
it to based on what you want your program to do with the feature.
Pulling data out of a selected set is a bit labor intensive, and requires
On Mon, Mar 16, 2009 at 4:29 AM, achectl <achectl at gmail.com> wrote:
> What I tried?
> I try to input the date for the key and $CurrentSelection for the value.
> The result is like that:
> What is the meaning - %24CurrentSelection?
> Any suggestion will be appreciate.
> lolob wrote:
> > I think you can't use invoke url in Fusion. I think it is for Ajax only.
> > achectl wrote:
> >> Dear All,
> >> I trying the invoke url feature. Fusion viewer is my testing viewer. I
> >> would like to pass the custom parameter to the application by using url.
> >> I make use of MapGuide Studio 2009. Inside the invoke url command, i
> >> to input Key and Value of additional parameters. What is the key and
> >> value? Key is the attribute of the feature data? Value should be a
> >> $CurrentSelection?
> >> Any suggestion will be appreciate.
> View this message in context:
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mapguide-users