Report too many Selections?
I have a report that crashes any time I select more than a 1000 parcels (Mailing List Report)
I have increased the amount of allowable selections on the map service itself, but still when I run the report it crashes
I get an error stating: Unhandled exception occured in activity 1.376
FYI this workflow/report is the Parcel Buffer report provided in the code gallery.
THANKS
-
I had the same problem with my mailing workflows erroring out when using too many parcels. I built an If statement into my workflow that checks if the selection exceeds 1,000 records, and if so, shows a display form that says too many records are selected and gives the user the option to remove some parcels, go back to start, or cancel.
0 -
Is there a possible solution for this?
Stephanie Patterson0 -
Not for doing a large selection of mailing labels with a Geocortex report. For large mailing label selections, I started exporting them to Excel instead and having my users use that to perform a mail merge in Word or Publisher. 0 -
Hi John, would it be possible to share your workflow, I'd also like to limit the amount of parcels my users can select before they get an error...Thanks! 0 -
Honestly, I don't think my workflow would be very useful to review. It has a lot of specific things it's doing based on my users' requirements. However, I'm happy to share the method for limiting the max selection or changing the export type.
1) Run a Query Task to select the parcels your user selected
2) Use an If statement or Flowchart decision to determine what to do based on the number of features in the feature set created by the Query Task (I usually call mine resultFeatureSet)
The syntax for that is resultFeatureSet.Features.Count() > 1000
From there, you can make a custom error, choose the output format, or do whatever you want to based on that condition.0
Please sign in to leave a comment.
Comments
5 comments