Select to view content in your preferred language

InfoPopupWidget not working with Line features

832
1
02-28-2012 08:37 AM
Motangestani
New Contributor
Hi there,

Anyone has experience with the InfoPopupWidget? It's a great Widget created by Robert Scheitlin GIS Manager at Calhoun Co. Commission Alabama.
This Widget allows for a feature class and it's related tables to display the related records in a Flex app.
My problem is that, I've got it to work with a polygon feature, and it works great. But I cannot get it to work with a line feature. I have tried different methods, such as creating a service in the ArcGIS server with line features only and then tried to get this widget to work with this service, but no results.
Anybody out there has any experience with this widget?
I'd appreciate any ideas.
And I thank you!
Mo
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Mo,

   I have tested this before and just tested it again to double check and I can get the Attachment Relate Info Window Widget to work with lines.

Here is an example of what I have in the main config.xml:

        <operationallayers>
             <layer label="County Roads" type="feature" visible="true" alpha="1" useamf="true" mode="onDemand"
                   info="widgets/InfoTemplates/AttRelateInfoWinWidget.swf"
                   infoconfig="widgets/InfoTemplates/IWT_Roads.xml"
                   url="http://myserver/ArcGIS/rest/services/myservice/MapServer/5"/>
        </operationallayers>


And the contents of my IWT_Roads.xml

<?xml version="1.0" ?>
<configuration>
    <fields>Surf_Type,Name,Classification,County_Maintained,Road_Id,Plan_Hyper,Deed_Hyper</fields>
    <titlefield>Name</titlefield>
    <layername>County Roads</layername>
    <links>
        <linkfield icon_or_text_or_img="icon" icon="" linkalias="" linkprefix="" linksuffix="">Plan_Hyper</linkfield>
    </links>
    <datefields></datefields> <!-- field in milliseconds -->
    <zoomscale>150000</zoomscale>
</configuration>
0 Kudos