In the code below, you are missing a single quote:
concat(http://localhost/mapguide/MyApplication/TestPage.aspx?FeatureID=', URLENCODE(FEATUREID()))
should be:
concat('http://localhost/mapguide/MyApplication/TestPage.aspx?FeatureID=', URLENCODE(FEATUREID()))

Regards, Kenneth Skovhede, GEOGRAF A/S



[email protected] skrev:

Hi,

I have set the Link to the feature in the Maestro to my layer , but when I run the viewer & ctrl+click the feature it opens a new window (as I set it to open in new window in layout) but the path it takes is wrong.

I have set this in Link:

concat(http://localhost/mapguide/MyApplication/TestPage.aspx?FeatureID=', URLENCODE(FEATUREID()))

And it takes the following path: it prefix my string with http://localhost/mapguide/mapviewerajax/

http://localhost/mapguide/mapviewerajax/concat(http://localhost/mapguide/MyApplication/TestPage.aspx?FeatureID=',%20URLENCODE(FEATUREID()))

And as this path does not exist

HTTP 404

Resource can not be found error comes.

Please assist...

*Thanks & Regards,*

Ravinder

*********************************************************************************************************************************************************************%CRLF%"This
 message and any attachments are solely for the intended recipient and may contain 
Birlasoft confidential or privileged information. If you are not the intended 
recipient,any disclosure,copying, use, or distribution of the information included in 
this message and any attachments is %CRLF%prohibited. If you have received this 
communication in error, please notify us by reply e-mail at ([email protected]) 
and permanently delete this message and any attachments. Thank 
you."%CRLF%*********************************************************************************************************************************************************************%CRLF%

------------------------------------------------------------------------

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to