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

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Mon Mar 2 06:49:19 EST 2009


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()))
>
>  
>
> 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
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090302/5fe4df4b/attachment.html


More information about the mapguide-users mailing list