Hi I was hoping someone on here could help me.
I have recently used ArcGIS viewer for flex and Adobe flash builder to build and host an online map.
Now I want to show popups of panoramic photos I have taken in the field which are in .html form. So basically I need a popup or widget which can retrieve these from my local drive and display them.
I first wrote a query widget using the “QueryWidget_Louisville_TrafficCams.xml” as my base. This was my widget code
<?xml version="1.0" ?>
<configuration label=Photos">
<layer>
http://MyMap </layer>
<titlefield>DESCRIPT</titlefield>
<linkfield>"C:\My project photo storage\Photos\"+Hyperlink_Relative_Path</linkfield>
<fields all="false">
<field name="DESCRIPT"/>
<field name="Hyperlink_Relative_Path"/>
<field name="FIELDDATE" alias="Taken"/>
</fields>
<filterfield>
<name></name>
<alias></alias>
</filterfield>
<refreshrate></refreshrate>
<zoomscale>18000</zoomscale>
<query>1=1</query>
</configuration>
this is showing is the “Hyperlink_Relative_path” field information rather than retrieving the actual .html image.
I also wrote a popup
<?xml version="1.0" ?>
<configuration>
<title>{Hyperlink_Relative_Path}</title>
<description>
<![CDATA[<a href='C:\My project photo storage\Photos\Hyperlink_Relative_Path'><u>LINK</u></a>
<p><li>Description = {DESCRIPT}</li>
<li>PHOTOTYPE = {PHOTOTYPE}</li>
<li>Hyperlink_Relative_Path = {Hyperlink_Relative_Path}</li></p>
]]>
</description>
<fields>
<field name="DESCRIPT"/>
<field name="PHOTOTYPE"/>
<field name="Hyperlink_Relative_Path"/>
</fields>
</configuration
This shows “Link” text to click however it is dead, Does not retrieve anything.
Could anyone help me with where I am going wrong or with another solution to displaying “.html” popups in flex viewer?