Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Link to word doc or tif file

4 REPLIES 4
Reply
Message 1 of 5
sellert
214 Views, 4 Replies

Link to word doc or tif file

What would be the simplest method to link a polygon in a SDF to a relevant word doc or a bitmap? I would like to click the polygon and then run a report that would directly open the associated document.
Thanks,
Steven
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: sellert

The simplest (not necessarily the best) method is to use the out-of-the-box
hyperlink capabililty. Make your URL field in your SDF file either the full
path or the file name. Then, when authoring the layer, select the URL field
to be the URL. You could add the path prefix at this point, eg,
'http://yoursite/yourdocs/'+URL or '\\yourserver\yourdocs'+URL

Once authored this way, when the users are viewing the map, the cursor
changes to a hand when floating over an object with a URL. Double-clicking
on the object will open the document in the URL target window.


--
Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com


wrote in message news:5104393@discussion.autodesk.com...
What would be the simplest method to link a polygon in a SDF to a relevant
word doc or a bitmap? I would like to click the polygon and then run a
report that would directly open the associated document.
Thanks,
Steven
Message 3 of 5
sellert
in reply to: sellert

Thanks Andy,
I did as you suggested and now when I double click with the hand my tif image displays within IE using a plug-in from Brava Reader.
Now on to "not necessarily the best"
What if I want to link other files to the same polygon?
Can I create a report that will automatically open the document?

Thank-you,
Steven
Message 4 of 5
Anonymous
in reply to: sellert

sellert wrote:
> What if I want to link other files to the same polygon?
> Can I create a report that will automatically open the document?

Yes, but you'd need to use some kind of server side script (cfm/php/asp)
to handle the request and produce a list of documents associated with
the polygon.

I do this for linking asbuilts to infrastructure features that may have
more than one asbuilt.

Jason
Message 5 of 5
Anonymous
in reply to: sellert

I've also used server side scripting to enumerate files in physical folders
defined as aliases on the web server. The folder names are standardized
based on something like work order numbers. So, after selecting the object
in MapGuide, programatically get the WO# and then read the corresponding
folder. In this case we displayed in a tree structure and the user could
click any file to open it.

Andy

"Jason Birch" wrote in message
news:5109435@discussion.autodesk.com...
sellert wrote:
> What if I want to link other files to the same polygon?
> Can I create a report that will automatically open the document?

Yes, but you'd need to use some kind of server side script (cfm/php/asp)
to handle the request and produce a list of documents associated with
the polygon.

I do this for linking asbuilts to infrastructure features that may have
more than one asbuilt.

Jason

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report