<?xml version="1.0" ?> <configuration> <title>{ElementName}</title> <description> <![CDATA[<a href='{CamLink}'><u>Link to Site Records</u></a> ]]> </description> <fields> <field name="ElementName" visible="true"/> <field name="CamLink" alias="Click for Camera" visible="true"/> </fields> <medias> <!-- <media type="image" caption="link" imagesource="{CamLink}" imagelink="{CamLink}"/> --> </medias> </configuration> <!-- Pop-up configuration file for: http://engr_svr/ArcGIS/rest/services/Maps/TVECDATA/MapServer/0
You might want to use description tag as follows:<description> <![CDATA[<a href='{doc_url}'><u>Link to Site Records</u></a> ]]> </description>
<description> <![CDATA[<a href='{doc_url}'><u>Link to Site Records</u></a> ]]> </description>
<?xml version="1.0" ?> <configuration> <title>{ElementName}</title> <fields> <field name="ElementName" visible="true"/> <field name="CamLink" alias="Click for Camera" visible="true"/> </fields> <medias> <!-- <media type="image" caption="link" imagesource="{CamLink}" imagelink="{CamLink}"/> --> </medias> </configuration> <!-- Pop-up configuration file for: http://engr_svr/ArcGIS/rest/services/Maps/TVECDATA/MapServer/0
Adrian, What I am talking about doesn't have anything to do with code. What I am Saying is in ArcMap you would add a field to the featureclass that currently has the Raster Field and make it type Text and then populate the field for each feature using the URL for the location of the image that you want to show. Once that is done and you re-publish the map service and clear the REST cache then you can setup the PopUp using that field.
Adrian, Each feature will have a different URL in the field that you add to the featureclass.
Adrian, Rater fields are not supported by the REST API and thus not supported by the Flex API. You will have to have a field that has a URL to the image.
As you might be able to use UNC paths (you should not)... You should setup a virtual directory (if IIS) that points to the folder, so that you have a true URL to use instead.
<?xml version="1.0" ?> <configuration> <title>Information</title> <description> <![CDATA[<b>Project ID:</b> {PROJID} <br><br><b>Folder: </b><a href='{FolderUNC}'><u>Folder</u></a>]]> </description> </configuration>
Each point has approximately 10 attributes which need to be hyperlinked in the popup. Can anyone give me tips on how to best format the popup?
<layer label="Projects" type="dynamic" visible="true" url="http://gis.myserver.com/ArcGIS/rest/services/MappedProjects2/MapServer"/> <sublayer id = "0" popupconfig="popups/PopUp_Points.xml"/>
Larry, You are making the same mistake as most do. The sublayer element has to be a child of the layer element.<layer label="Projects" type="dynamic" visible="true" url="http://gis.myserver.com/ArcGIS/rest/services/MappedProjects2/MapServer"> <sublayer id = "0" popupconfig="popups/PopUp_Points.xml"/> </layer>
<layer label="Projects" type="dynamic" visible="true" url="http://gis.myserver.com/ArcGIS/rest/services/MappedProjects2/MapServer"> <sublayer id = "0" popupconfig="popups/PopUp_Points.xml"/> </layer>
<?xml version="1.0" ?> <configuration> <title>Project Info</title> <fields> <field name="PROJID"/> <field name="MANAGR"/> </field> </fields> </configuration>
Not sure if your response was truncated by forum?following tags are missing at the end of the config. </widgetcontainer> </configuration>
</widgetcontainer> </configuration>
This Fault code: Client.CouldNotDecode is due to malformed Config.Could you post your entire main config?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.