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" ) )
where
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 task panel.
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 some good _javascript_ understanding. But Do-able.
Good Luck
On Mon, Mar 16, 2009 at 4:29 AM, achectl
<[email protected]>
wrote:
Thanks.
Really?
What I tried?
I try to input the date for the key and $CurrentSelection for the value.
The result is like that:
http://xx.xxx.xxx.xx/app?date=%24CurrentSelection
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 need
>> 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: http://n2.nabble.com/How-to-invoke-URL--tp2484189p2484665.html
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users