Select to view content in your preferred language

Flex Viewer Performance Issue

2572
6
Jump to solution
06-10-2013 03:21 PM
JoshuaWhitener
Occasional Contributor
Background: I am serving out several services through ArcGIS for Server 10.1, with LDAP Security for Users/Roles. Using. Flex Viewer 3.3 as a web app. Data is stored in an SDE database on SQL 2012.

That said I have all services/security working at the moment without a problem, except for one. I am working on an Web Application for managing cemetery grounds. I've achieved scales between 1:600 and 1:50 creating my own tiling package with an Ortho.

Now the feature class that is giving me the trouble is the plots for the cemetery. There are over 2,000 separate plots with about 20 fields. Whenever I view the feature in Flex Viewer it only loads about half of it in. If I look at it in java, as ArcGIS/Rest/Services allows, the entire feature class loads just fine.

Is this a performance flaw in Flex? I've tried loading the Service with different colors and optimized performance as far as Analysis in ArcGIS Desktop is concerned. Ultimately I'd like end-users to edit the plots as necessary from flex. Help? Advice?
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RhettZufelt
MVP Notable Contributor
About half of over 2000?  Sounds like maybe you are running into the "Maximum number of records retured by the server:" limitation which is 1000 by default in 10.1.

Have you tried changing this in your service to a value larger than the number of polygons in your dataset (it is a server Parameter setting)?

R_

View solution in original post

0 Kudos
6 Replies
RhettZufelt
MVP Notable Contributor
About half of over 2000?  Sounds like maybe you are running into the "Maximum number of records retured by the server:" limitation which is 1000 by default in 10.1.

Have you tried changing this in your service to a value larger than the number of polygons in your dataset (it is a server Parameter setting)?

R_
0 Kudos
JoshuaWhitener
Occasional Contributor
Thank you Rhett, I was unaware of that setting and after altering it it the records load entirely on the first initial extent.

It seems to be a bit slow to render when altering scale shifting the view but I imagine that may be unavoidable with such a large dataset. If you have any advice on this, I am welcome to it.

Thanks again, much appreciated,

-Joshua
0 Kudos
RhettZufelt
MVP Notable Contributor
Well, since you are going to be editing, you obviously are loading a FeatureService rather than a mapservice, you might look at  the layer tag "mode" setting and possibly the "disableclientcaching" settings and see if you can get better results.

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Layer_tag_overview/01m30000000p...
http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Dynamic_Tiled_Feature_and_Image...

R_
0 Kudos
AnthonyGiles
Honored Contributor
Joshua,

You can add the layer in as a dynamic layer with feature access also enabled on the service, when just viewing the service it will use the dynamic layer when editing it will pick up the feature service, see the example about pool permits on the help page:

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#//01m30000003v000000

Regards

Anthony
0 Kudos
AnthonyGiles
Honored Contributor
Joshua,

Good video here that explains how to use both dynamic and feature services together when editing:

http://video.esri.com/watch/156/web-editing-in-arcgis-10-for-server

Regards

Anthony
0 Kudos
JoshuaWhitener
Occasional Contributor
Thank you both very much. I will try this out and see how performance changes.
0 Kudos