Anthony,Thank you, that takes care of that issue. However, I'm experiencing the same problem with hyperlinking to a UNC file path. I see the exact same behavior that I was seeing with the url, but now I'm trying to hyperlink to a file via UNC path.For example: file path attribute = \\myserver\fileshare\filename.tifResults after clicking on hyperlink give me that file path appended to the end of the app url.the config hyperlink looks like this:<a href="{FILEPATH}">Image Link</a>Again, this worked in previous versions of the viewer/api, but not in 3.0. Any ideas?Thanks again for the solution with the URL.Kelly
<a href="file:{FILEPATH}" target='_blank'>Image Link</a>
<?xml version="1.0" ?> <configuration> <title>{DESCRIPTION}</title> <fields> <field name="DESCRIPTION" visible="true"/> <field name="ONLINE" visible="true"/> <field name="LAST_UPDATED" visible="true"> <format dateformat="shortDate"/> </field> <field name="URL" visible="true"/> </fields> <medias> <media type="image" caption="Latest Image {LAST_UPDATED} online: {ONLINE}" imagesource="{URL}" imagelink="{URL}"/> </medias> </configuration> <!-- Pop-up configuration file for: http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/MapServer/2 -->
<media type="image" caption="sewer tap {Your_SewerTap_ID_Field}" imagesource="http://yourWebServerURL/YourVirtualDirectory/{hyperlink}" imagelink="http://yourWebServerURL/YourVirtualDirectory/{hyperlink}"/>
<?xml version="1.0" ?> <configuration> <title>{DESCRIPTION}</title> <fields> <field name="DESCRIPTION" visible="true"/> <field name="ONLINE" visible="true"/> <field name="LAST_UPDATED" visible="true"> <format dateformat="shortDate"/> </field> <field name="URL" visible="true"/> </fields> <description> <![CDATA[<p>Sewer Tap: {DESCRIPTION}</p><p>Online: {ONLINE}</p><p>Last Updated: {LAST_UPDATED}</p><p><a href='http://YOUR_WEB_SERVER/YOUR_VIRTUAL_DIRECTORY/{URL}' target='_blank'>View PDF</a></p>]]> </description> </configuration> <!-- Pop-up configuration file for: http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/MapServer/2 -->
Sewer Tap: {DESCRIPTION} Online: {ONLINE} Last Updated: {LAST_UPDATED} <a href='http://YOUR_WEB_SERVER/YOUR_VIRTUAL_DIRECTORY/{URL}' target='_blank'>View PDF</a>
All, UNC paths are for INTRANET and not intended for internet... I know some of you are saying well my Flex Viewer app is only used in my intranet, but it is an http internet application... Setup a virtual directory in IIS so that you have a real url to use.
I am trying to accomplish something similar. Did you ever come up with a solution to get a "Folder" to open in Windows Explorer and not Internet Explorer?
Thanks,
Luci
To create hyperlinks pointing to data on network share is to create virtual directory on data you want to link. You cannot open folder as windows explorer from hyperlink, at least from esri builder, it seems to problem is in Adobe flex technology.
Regards
Jaroslaw
Hey Jarolsaw,
Yes, I have the hyperlink working so that the virtual folder opens in Internet Explorer. The department that is using this one particular popup wants the folder to open in Windows Explorer so they can use windows file management features such as copy, paste, etc. We can open the folder in Windows Explorer in our html/javascript application popup.
Adam,
I have this exact problem. I am not confident my IT will setup a vd in IIS for me to a folder on a shared file drive. Any solution other then that?
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.