[mapguide-users] Regarding -- Setting URL Link to Feature

ravinder.singh at BIRLASOFT.COM ravinder.singh at BIRLASOFT.COM
Mon Mar 2 06:56:20 EST 2009


Thanks Kenneth.

 

Silly mistake I made.

 

Thanks & Regards,

Ravinder

________________________________

From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Kenneth
Skovhede, GEOGRAF A/S
Sent: Monday, March 02, 2009 5:19 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Regarding -- Setting URL Link to Feature

 

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



ravinder.singh at BIRLASOFT.COM 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()))
<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 (administrator at birlasoft.com) and permanently delete this message and
any attachments. Thank
you."%CRLF%*************************************************************
************************************************************************
********************************%CRLF%
 



________________________________



 
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
  

*********************************************************************************************************************************************************************%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 (administrator at birlasoft.com) and permanently delete this message and any attachments. Thank you."%CRLF%*********************************************************************************************************************************************************************%CRLF%
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090302/40d38431/attachment.html


More information about the mapguide-users mailing list