[mapguide-users] URL Activated For Feature
Homan, Thomas
thoman at co.gila.az.us
Thu Sep 16 18:58:07 EDT 2010
Make a field in your source data for the pdf and enter just the file
name (1.pdf, 2.pdf, ...) in that field. Then in the URL Activated use
Concat ('http://localhost/Valve Sketch Boundary/', fieldwithpdfname)
This way when the correct pdf will be returned when you select and
object.
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Mark Hedges
Sent: Thursday, September 16, 2010 3:33 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] URL Activated For Feature
Hi All,
I have a Directory called PDF. It is located at C:\PDF on my hard
drive.
This directory contains approximately 5,000 differently named PDF files.
Using IIS I have set up a Virtual Directory called "Valve Sketch
Boundary".
The path for this directory is C:\PDF. In MG Studio I have a layer
created
and in the URL Activated For Feature I have the following:
'http://localhost/Valve Sketch Boundary/1.pdf' (The 1.pdf is the name of
the
first of approximately 5,000 other PDF files. Using MGOS I press Ctrl +
select and the PDF file opens fine. My issue is that I don't want to
open
the 1.pdf file everytime. I want it to fire off the correct pdf file.
I
have spent all afternoon searching this site and online and can't figure
this out.
Any Help Would Be Greatly Appreciated.
Mark
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/URL-Activated-For-Feature-tp55406
81p5540681.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list