POST
|
Alex, I provide a pretty detailed pdf that covers how to configure this widget. Have you looked at it. Is "SkidooChange" the way you have your layer labeled in your main config.xml? Yes, I have. Here is my main config file: <configuration> <title>ArcGIS Viewer for Flex</title> <subtitle>a configurable web mapping application</subtitle> <style> <!-- Black Gold --> <colors>0xFFFFFF,0x333333,0x101010,0x000000,0xFFD700</colors> </style> <!-- replace the following url with your own geometryservice --> <geometryservice url="http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer" /> <!-- replace the following key with your own Bing key --> <bing key="Ahw1due6dkmZg98wUJJYLrVmYlDik4oleCg6hoNqx6l2jFYRToImQH1HfH-asjjH"/> <splashpage label="ArcGIS Viewer for Flex" config="widgets/Splash/SplashWidget.xml" url="widgets/Splash/SplashWidget.swf"/> <widget left="10" top="50" config="widgets/Navigation/NavigationWidget.xml" url="widgets/Navigation/NavigationWidget.swf"/> <widget bottom="35" right="5" config="widgets/StaticImage/StaticImageWidget.xml" url="widgets/StaticImage/StaticImageWidget.swf"/> <widget right="-2" bottom="-2" config="widgets/OverviewMap/OverviewMapWidget.xml" url="widgets/OverviewMap/OverviewMapWidget.swf"/> <widget right="15" top="55" config="widgets/MapSwitcher/MapSwitcherWidget.xml" url="widgets/MapSwitcher/MapSwitcherWidget.swf"/> <widget left="0" top="0" config="widgets/HeaderController/HeaderControllerWidget.xml" url="widgets/HeaderController/HeaderControllerWidget.swf"/> <widget left="3" bottom="3" config="widgets/Coordinate/CoordinateWidget.xml" url="widgets/Coordinate/CoordinateWidget.swf"/> <map wraparound180="true" initialextent="-14083000 3139000 -10879000 5458000" fullextent="-20000000 -20000000 20000000 20000000" top="40"> <basemaps> <layer label="Streets" type="tiled" visible="true" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/> <layer label="Aerial" type="tiled" visible="false" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"/> <layer label="Topo" type="tiled" visible="false" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/> </basemaps> <operationallayers> <layer label="SkidooChange" type="feature" visible="true" alpha="1" info="widgets/InfoTemplates/AttRelateInfoWinWidget.swf" infoconfig="widgets/InfoTemplates/SkidooChange.xml" url="http://664-05/ArcGIS/rest/services/skidoo/MapServer/0"/> </operationallayers> </map> <widgetcontainer layout="horizontal"> <!--horizontal(default)|float|vertical|fix--> <widget label="Query Widget" icon="assets/images/i_attachment.png" config="widgets/Query/QueryWidget.xml" url="widgets/Query/QueryWidget.swf"/> <widget label="Bookmarks" icon="assets/images/i_bookmark.png" config="widgets/Bookmark/BookmarkWidget.xml" url="widgets/Bookmark/BookmarkWidget.swf"/> <widget label="Draw and Measure" icon="assets/images/i_draw2.png" config="widgets/Draw/DrawWidget.xml" url="widgets/Draw/DrawWidget.swf"/> <widget label="Earthquakes (GeoRSS)" icon="assets/images/i_rss.png" config="widgets/GeoRSS/GeoRSSWidget.xml" url="widgets/GeoRSS/GeoRSSWidget.swf"/> </widgetcontainer> </configuration> Config ITW_Camera: <?xml version="1.0" ?> <configuration> <fields>http://664-05/ArcGIS/rest/services/Feature/FeatureServer/0/1,1,ONLINE,DESCRIPTION,LAST_UPDATED</fields> <titlefield>SkidooChange</titlefield> <links> <linkfield icon_or_text_or_img="img" icon="" linkalias="" linkprefix="" linksuffix="">http://664-05/ArcGIS/rest/services/Feature/FeatureServer/0/1</linkfield> <linkfield icon_or_text_or_img="text" icon="" linkalias="Show Image..." linkprefix="" linksuffix="">http://664-05/ArcGIS/rest/services/Feature/FeatureServer/0/2</linkfield> <linkfield icon_or_text_or_img="icon" icon="assets/images/i_lego.png" linkalias="Show Image..." linkprefix="" linksuffix="">http://664-05/ArcGIS/rest/services/Feature/FeatureServer/0/2</linkfield> <linkfield icon_or_text_or_img="icon" icon="assets/images/i_camera.png" linkalias="Show Image..." linkprefix="" linksuffix="">http://664-05/ArcGIS/rest/services/skidooalex/MapServer/0</linkfield> <linkfield icon_or_text_or_img="icon" icon="assets/images/i_clock.png" linkalias="Show Image..." linkprefix="" linksuffix="">ONLINE</linkfield> <linkfield icon_or_text_or_img="icon" icon="assets/images/i_about.png" linkalias="Show Image..." linkprefix="" linksuffix="">http://664-05/ArcGIS/rest/services/skidooalex/MapServer/0</linkfield> </links> <multiimagefield linkprefix="" linksuffix="" nexttooltip="Next" prevtooltip="Prev"></multiimagefield> <layername>SkidooChange</layername> <datefields>LAST_UPDATED</datefields> <zoomscale>5000</zoomscale> <csvseparator>,</csvseparator> <labels> <csvdefaultname>Related Records</csvdefaultname> <exportbtnlabel>Export...</exportbtnlabel> <export2csvoptionlabel>Export to CSV...</export2csvoptionlabel> <export2txtoptionlabel>Export to Txt...</export2txtoptionlabel> </labels> </configuration> Thanks for your help, PS: I am reading your documentation (very well done) but still does not work... What am I doing wrong?
... View more
07-10-2011
05:45 PM
|
0
|
0
|
478
|
POST
|
http://forums.arcgis.com/threads/24574-FlexViewer-SDE-Attachments?highlight=ArcSDE+attachments I downloaded this widget but where do I plug-in my JPG ArcSDE attachments. It does not see any of my attachments. Does it work with a feature service? Jere is my XML: <?xml version="1.0" ?> <configuration> <fields>URL,OBJECTID,ONLINE,DESCRIPTION,LAST_UPDATED</fields> <titlefield>DESCRIPTION</titlefield> <links> <linkfield icon_or_text_or_img="img" icon="" linkalias="" linkprefix="" linksuffix="">http://664-05/ArcGIS/rest/services/Feature/FeatureServer/0/1</linkfield> <linkfield icon_or_text_or_img="text" icon="" linkalias="Show Image..." linkprefix="" linksuffix="">http://664-05/ArcGIS/rest/services/skidooalex/MapServer/0</linkfield> <linkfield icon_or_text_or_img="icon" icon="assets/images/i_lego.png" linkalias="Show Image..." linkprefix="" linksuffix="">http://664-05/ArcGIS/rest/services/Feature/FeatureServer/0/2</linkfield> <linkfield icon_or_text_or_img="icon" icon="assets/images/i_camera.png" linkalias="Show Image..." linkprefix="" linksuffix="">http://664-05/ArcGIS/rest/services/skidooalex/MapServer/0</linkfield> <linkfield icon_or_text_or_img="icon" icon="assets/images/i_clock.png" linkalias="Show Image..." linkprefix="" linksuffix="">ONLINE</linkfield> <linkfield icon_or_text_or_img="icon" icon="assets/images/i_about.png" linkalias="Show Image..." linkprefix="" linksuffix="">http://664-05/ArcGIS/rest/services/skidooalex/MapServer/0</linkfield> </links> <multiimagefield linkprefix="" linksuffix="" nexttooltip="Next" prevtooltip="Prev"></multiimagefield> <layername>SkidooChange</layername> <datefields>LAST_UPDATED</datefields> <zoomscale>5000</zoomscale> <csvseparator>,</csvseparator> <labels> <csvdefaultname>Related Records</csvdefaultname> <exportbtnlabel>Export...</exportbtnlabel> <export2csvoptionlabel>Export to CSV...</export2csvoptionlabel> <export2txtoptionlabel>Export to Txt...</export2txtoptionlabel> </labels> </configuration> Thanks, Alex
... View more
07-10-2011
12:10 PM
|
0
|
0
|
478
|
POST
|
Does anyone have any idea how to create a widget that shows ArcSDE attachments within a pop-up window? Thanks, Alex
... View more
06-26-2011
01:21 PM
|
0
|
5
|
881
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|