Select to view content in your preferred language

HTML Popup : How to add a link to a local .pdf

3670
1
02-07-2017 01:13 PM
BuffaloCoWI
Frequent Contributor

How does one go about creating links to locally stored .pdf documents using the HTML Popup XSL templates?

We have thousands of .pdf's stored locally and we would like to reference the .pdfs as links when selecting features. 

Some features would need multiple reference.pdfs links.

In the attribute table I've got a field populated with paths look like this:  p:/Zoning/drawings/40.pdf

I've tried inserting " p:/ " into the XSL with no luck.

What's the trick?

Links in HTML Pop-ups 

Tags (3)
0 Kudos
1 Reply
BuffaloCoWI
Frequent Contributor

Located a working solution

ArcGIS Explorer Desktop Layers & Hyperlink 

The link or url attribute field needs to be formatted like:

file:///C:/Users/testfolder/documents/test2.pdf

In the XSL default HTML Popup template the key was the line below:

<xsl:when test="FieldValue[starts-with(., 'file')]">

mbockenhauer, provided a nice example of how it worked.

http://www.arcgis.com/home/item.html?id=81b39307fde04dd99656f3e19e4e0715 

0 Kudos