Query popup photo does not display

471
3
09-25-2013 12:56 PM
MattShetzer
New Contributor
I've noticed that the Query popup with a photo does not seem to be working.  I've tested it in 3.3 and 3.4 with the same results

I've referenced the sample from ESRI for traffic cameras, and the photo does not appear, but when you click the link it opens correctly in a new tab.

Has anyone else seen this behavior?

[ATTACH=CONFIG]27762[/ATTACH]

<?xml version="1.0" ?>
<configuration label="Louisville Traffic Cameras">
    <layer>http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/...</layer>
    <titlefield>DESCRIPTION</titlefield>
    <linkfield>URL</linkfield>
    <fields all="false">
        <field name="DESCRIPTION"/>
        <field name="URL"/>
        <field name="LAST_UPDATED" alias="Updated"/>
    </fields>
    <filterfield>
        <name></name>
        <alias></alias>
    </filterfield>
    <refreshrate></refreshrate>
    <zoomscale>18000</zoomscale>
    <query>1=1</query>
</configuration>


Thank you,
Matt Shetzer
Tags (2)
0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus
Matt,

   This is a known issue and is fixed for 3.5. If you use the source code then you can make the change without waiting for 3.5:

https://github.com/Esri/arcgis-viewer-flex/issues/158
0 Kudos
MattShetzer
New Contributor
Thanks Robert !!!!

Matt

Matt,

   This is a known issue and is fixed for 3.5. If you use the source code then you can make the change without waiting for 3.5:

https://github.com/Esri/arcgis-viewer-flex/issues/158
0 Kudos
by Anonymous User
Not applicable
I'm not sure about the Query pop-up, but in version 3.4 I am able to display an image in the stanard pop-up using the following code:

[ATTACH=CONFIG]27783[/ATTACH]

<?xml version="1.0" ?>
<configuration>
    <title>OUTFALL - {Outfall_ID}</title>
    <description><![CDATA[<a href='http://gisfile1.cob.cob.com/flexviewers/WSR/images/Storm_Sewer_Images/OutfallPhotos/{PhotoID}.jpg'>
<img src="http://gisfile1.cob.cob.com/flexviewers/WSR/images/Storm_Sewer_Images/OutfallPhotos/{PhotoID}.jpg" width="240" height="180" />
IMAGE</a>
TYPE: {Subtype}<br />
LOC DESC: {LocationDesc} <br />
DIAMETER: {SIze_Inches}"<br />
SOURCE: {RecordSource}<br />
SHAPE: {Shape_of_Outfall}<br />
CONDITION: {Structural_Condition}<br />
DATE: {Date_Survey}<br />
DICHARGE: {Discharge}<br />
NOTES:{DischargeNotes}<br />
ODOR: {Odor}<br />
COLOR: {Color}<br />
CLARITY: {Clarity}<br />
FLOATABLES: {Floatables}<br />
DEPOSITS: {Deposits}<br />
VEGITATION: {Vegitation}<br />
BIOLOGICAL: {Biological}<br />
COMMENTS: {OtherComments}<br />



]]></description>
    <fields>
        <field name="Outfall_ID" alias="Outfall_ID"/>
        <field name="NumberOnPlan" alias="NumberOnPlan"/>
        <field name="Development" alias="Development"/>
        <field name="DiameterFt" alias="DiameterFt"/>
        <field name="TopOfGrate" alias="TopOfGrate"/>
        <field name="Weir" alias="Weir"/>
        <field name="Invert" alias="Invert"/>
        <field name="RecordSource" alias="RecordSource"/>
        <field name="Avg_Est_Acc" alias="Avg_Est_Acc"/>
        <field name="Wor_Est_Acc" alias="Wor_Est_Acc"/>
        <field name="SIze_Inches" alias="Size (In.)"/>
        <field name="Shape_of_Outfall" alias="Shape_of_Outfall"/>
        <field name="Type_of_Outfall" alias="Type"/>
        <field name="LocationDesc" alias="Location"/>
        <field name="Subtype" alias="Structure Type"/>
        <field name="Rainfall" alias="Rain Fall"/>
        <field name="Discharge" alias="Discharge"/>
        <field name="DischargeNotes" alias="DischargeNotes"/>
        <field name="PhotoID" alias="PhotoID"/>
        <field name="Odor" alias="Odor"/>
        <field name="Color" alias="Color"/>
        <field name="Clarity" alias="Clarity"/>
        <field name="Floatables" alias="Floatables"/>
        <field name="Deposits" alias="Deposity"/>
        <field name="Vegitation" alias="Vegitation"/>
        <field name="Structural_Condition" alias="Structural_Condition"/>
        <field name="Biological" alias="Biological"/>
        <field name="OtherComments" alias="OtherComments"/>
        <field name="Date_Survey" alias="Date_Survey"/>
        <field name="PhotoLink" alias="Photo Link"/>
    </fields>
    <showattachments>false</showattachments>
    <showrelatedrecords>false</showrelatedrecords>
</configuration>
0 Kudos