Skip to main content

Report too many Selections?

Comments

5 comments

  • John Nerge

    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
  • Permanently deleted user
    Is there a possible solution for this?

     

    Stephanie Patterson
    0
  • John Nerge
    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
  • Permanently deleted user
    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
  • John Nerge
    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.