Dear All,
I am working on one application using flex viewer 3.4.and using the attribute widget.i have total 7 layers in my dynamic map service.Some are scaled dependent .when i load the attribute table .the data for some scale dependent layers not visible on attribute table.one scale dependent layer showing data.The others not showing data on the attribute table.what can be the reason.one layer not showing data make the table with columns headers and all columns of layer.but cells have no data.the other layer which does not show data only text showing " NO FEATURES IN CURRENT MAP EXTENT".Please tell me what can be the reason.
Thanks in advance,
Nadir,
I just tested Flex Viewer 3.4 with a scale dependent map service (mine only had 2 layer) and it worked fine in the attribute table widget...
Dear Robert
i check my code and the point of concern is rest service.when i put the url of feature layer like
<esri:ArcGISDynamicMapServiceLayer url="http://dell-pc/ArcGIS/rest/services/myFeature/MapServer"/>
<esri:FeatureLayer id="myFeatureLayer" mode="onDemand" outFields="*"
url="http://dell-pc/ArcGIS/rest/services/Sirens/MapServer/2"/>
it shows values on attribute table and menu from attribute table delete selected record is not there.
if i change the above code
<esri:ArcGISDynamicMapServiceLayer url="http://dell-pc/ArcGIS/rest/services/myFeature/FeatureServer"/>
url="http://dell-pc/ArcGIS/rest/services/Sirens/FeatureServer/2"/>
No values on attribute table.no map visible and message on attribute table is No features in current map extent.
so please what should be the reason.
Thanks
All I have to do is add the map service as dynamic using a line like this:
<layer label="Scale Test" type="dynamic" visible="true" url="http://gislap183:6080/arcgis/rest/services/ScaleDependentTest/MapServer"/>
and the Attribute table widget will look on your server and attempt to find a matching FeatureServer service and add it to the map automatically (you don't need to do anything) if it does not find a FeatureServer than it will not give editing capabilities to that layer in the Attribute table widget.
dear robert,
i already try your suggestion but it not work in fv enviornment.i change this and make one testing page.
the code for testing page
e.<esri:Map id="myMap" width="100%" height="60%" click="myMap_clickHandler(event)">
<esri:ArcGISDynamicMapServiceLayer url="http://dell-pc/ArcGIS/rest/services/TestService/MapServer"/>
<esri:FeatureLayer id="myFeatureLayer" mode="selection" outFields="*" url="http://dell-pc/ArcGIS/rest/services/TestService/MapServer/0"/>
</esri:Map>
the data come like above image.but no link for delete menu.i change little bit of code ike below
.<esri:Map id="myMap" width="100%" height="60%" click="myMap_clickHandler(event)">
<esri:FeatureLayer id="myFeatureLayer" mode="selection" outFields="*" url="http://dell-pc/ArcGIS/rest/services/TestService/FeatureSerever/0"/>
no data come in attribute table.this can be the reason for arcgis server(standard,advance).if not please check what can be the reason.
thanks in advance.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.