That is correct. in fact, I just re-downloaded it and am seeing the same thing.However, if I use 3.0i, the error is NOT there.R_
<widgetcontainer layout="horizontal"> <widget label="Identify" left="9990" top="80" preload="open" icon="assets/images/i_info.png" config="widgets/Identify/IdentifyWidget.xml" url="widgets/Identify/IdentifyWidget.swf"/>
Robert,I am using the compiled version. Today I started from scratch, deleting all identify widget files and then adding the contents of your identify folder to the Flex Viewer folder; IdentifyWidget.xml, IdentifyWidget.swf, meta.xml.
<widget label="Identify" left="330" top="80" preload="open" icon="assets/images/i_info.png" config="widgets/Identify/IdentifyWidget.xml" url="widgets/Identify/IdentifyWidget.swf"/>
The xml gets compiled into the swf, right?
<layers onlythese="false"> <!--<layer> <name>DMNA_Fac2011_DESCRIP</name> <fields> <field name="INSTNAME2" alias="site name" /> <field name="SiteNumber" alias="site number" popuponly="true" /> </fields> <links> <link includeinresults="false" field="" alias="" tooltip=""> <linkprefix></linkprefix> <linksuffix></linksuffix> <iconfield></iconfield> <iconprefix></iconprefix> <iconsuffix></iconsuffix> </link> </links> <zoomscale>15000</zoomscale> <forcescale>true</forcescale> </layer>-->
The labels\names\layers look like they match. Am I matching up the correct parts? CONFIG.XML <layer label="Armory Locations" type="dynamic" visible="true" alpha="10.0" url="http://ngnya0-gis-02/NYArcGIS/rest/services/Armory_Locations/MapServer"/> IDENTIFYWIDGET.XML </labels> <useproxy><!-- Enter the label of the MapService from the main config.xml --> <!--<proxymapservice label="Imagery" /> <proxymapservice label="Armory Locations" />--> </useproxy> REST SERVICE: Layer: DMNA_Fac2011_DESCRIP (ID: 0) Display Field: Descrip Type: Feature Layer Geometry Type: esriGeometryPoint Description: Definition Expression: "label_site" = 'SITE' OR "label_site" = 'TNG' Copyright Text: Min. Scale: 0 Max. Scale: 0 Default Visibility: True Extent: XMin: 144442.606310887 YMin: 4495714.38354477 XMax: 698655.175929449 YMax: 4950087.10403643 Spatial Reference: 26918 ������ Fields: � OBJECTID (Type: esriFieldTypeOID, Alias: OBJECTID) � Shape (Type: esriFieldTypeGeometry, Alias: Shape) � SiteNumber (Type: esriFieldTypeString, Alias: SiteNumber, Length: 6 ) � INSTNAME (Type: esriFieldTypeString, Alias: INSTNAME, Length: 34 ) � INSTNAME2 (Type: esriFieldTypeString, Alias: INSTNAME2, Length: 40 ) Type ID Field: N/A Supported Interfaces: REST IDENTIFYWIDGET.XML <layers onlythese="false"> <layer> <name>DMNA_Fac2011_DESCRIP</name> <fields> <field name="INSTNAME2" alias="INSTNAME2" /> popuponly="true" /> </fields>
<layers onlythese="false"> <layer> <name>DMNA_Fac2011_DESCRIP</name> <fields> <field name="INSTNAME2" alias="INSTNAME2" popuponly="true" /> </fields>
The name element specifies the EXACT name of the layer as it is displayed in the REST servicesdirectory.
The fields parent element contains all the individual field child elements that will be used for thisparticular layer. Everything for the field element is specified as an attribute of the element. The nameattribute is the EXACT ALIAS (as it is displayed in the REST services directory) of the field and is aREQUIRED attribute.
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.