[mapguide-users] help, pass variables
oscar
carpetascatastro at laplata.gov.ar
Thu Mar 2 07:12:07 EST 2006
thks Andy its works, only to works in php its active pass variables in
php.ini
other question i have traslate the commands to spanish but i dont find the
word (task) to traslate, where are in the code?
thanks a lot.
oscar
----- Original Message -----
From: "Andy Morsell" <amorsell at spatialgis.com>
To: <users at mapguide.osgeo.org>
Sent: Sunday, June 11, 2006 4:03 PM
Subject: RE: [mapguide-users] help, pass variables
> In the layer definition, under the URL activated for feature section, you
> should be able to create your full URL as long as your feature data has
the
> dynamic field(s) you are wanting to pass. In the Text Expression dialog
in
> Builder mode, select Constant and type in your URL. An example is:
>
> http://yoursite/mapguide/yourreport.asp?key=
>
> Then the next item in the expression will be from a Property where you
> select the field, lets call it FEATKEY. Viewed in the Advanced view, it
> would look like:
>
> concat('http://yoursite/mapguide/yourreport.asp?key=', FEATKEY)
>
> If you need to concatenate from multiple fields, just keep adding to the
> expression with Constants and Properties.
>
> I hope this helps.
>
>
> Andy Morsell, P.E.
> Spatial Integrators, Inc.
> http://www.SpatialGIS.com
>
> -----Original Message-----
> From: carpetascatastro at laplata.gov.ar
> [mailto:carpetascatastro at laplata.gov.ar]
> Sent: Sunday, June 11, 2006 10:30 AM
> To: users at mapguide.osgeo.org
> Subject: [mapguide-users] help, pass variables
>
>
> Hi, I have a SDF that has a key and a URL path. When I select a parcel I
> get a URL and I want to pass the variable key to my index path, but, of
> course, I don't know how.
> What I want to do is use that variable key to connect to my data base, is
it
> possible to do?
> Thanks a lot,
> Oscar.
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.8.0/353 - Release Date: 31/05/2006
>
>
More information about the Mapguide-users
mailing list