Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

Identify Widget 3.6.5 links

$
0
0
I was having issues with the links not showing up for one of my features using the Identify Widget 3.4? I thought I would try to upgrade to the latest version 3.6.5. I also saw where I could use the App Builder to assist in configuring it to avoid any xml errors. Well, now my links wont work for any of the features including the problem feature from before. I tried typing in the link as the widget would interpret it into my browser and the object opened just fine. Here is an example of the links section I am using as a result of the Application Builder:
Code:

links>
                <link includeinresults="false" field="PHOTO" alias="Photo">
                    <linkprefix>http://70.167.59.150/Sewer/Snapshots/</linkprefix>
                    <linkprefix>null</linkprefix>
                    <linkprefix>null</linkprefix>
                    <linkprefix>null</linkprefix>
                    <linkprefix>null</linkprefix>
                </link>
            </links>

I discovered the issue was with the linkprefix tags being repeated, I adjusted them and now they work but my Manholes layer is still not displaying the picture. Is there a limit on the number of fields that can be displayed? I check the linkprefix and it appears to be correct. Here is that layer in xml:
Code:

<layer>
            <name>Sewer Manholes</name>
            <id>13</id>
            <url>http://70.167.59.150/maps/rest/services/CityUtilities/Sewer/MapServer</url>
            <fields>
                <field name="FACILITYID"/>
                <field name="WALLMAT"/>
                <field name="DEPTH"/>
                <field name="CUTDEPTH"/>
                <field name="MAINSIZE"/>
                <field name="LOCDESC"/>
                <field name="FLOWDIR"/>
                <field name="CONDITION"/>
                <field name="CoverCond" alias="Cover Condition"/>
                <field name="GroutCond"/>
                <field name="ShelfCond"/>
                <field name="FrameCond"/>
                <field name="StepsCond"/>
                <field name="InvertsCond"/>
                <field name="REMARKS"/>
                <field name="PHOTO"/>
            </fields>
            <links>
                <link includeinresults="false" field="PHOTO" alias="Photo">
                    <linkprefix>http://70.167.59.150/Sewer/Snapshots/</linkprefix>
                    <linksuffix></linksuffix>
                                        <iconfield></iconfield>
                                        <iconprefix></iconprefix>
                                        <iconsuffix></iconsuffix>
                </link>
            </links>
            <zoomscale>1500</zoomscale>
            <forcescale>true</forcescale>
        </layer>


Viewing all articles
Browse latest Browse all 2097

Trending Articles