Skip to main content

Display Out Statistic in Description

Comments

4 comments

  • Zack Robison
    You can do this... what is the problem you have, specifically?
    0
  • Josh Vigness
    Zack,

     

    I was hoping that in the Select Features Activity I would simply be able to use the "incnature_count" filed in the Long Description Format by simply including it in curly braces {incnature_count} but that didn't work for me. Is there some other formatting I need to use? Or do I need to display the Out Statistics some other way?
    0
  • Zack Robison

    Aha, I misunderstood you earlier.  You're only going to be able to access fields in your configured data from the feature description's replacement tokens, see the docs on replacement tokens (https://docs.geocortex.com/essentials/4.9/admin-help/Default.htm#ge/admin/replacement-tokens.htm) . 

    A workaround might be to iterate your results in the workflow and add each feature to the selection one by one.  Then you could concatenate the featureset attribute data into your feature title and description.

    Your other option here is to do some back-end work and get those counts into your served data/related data tables with a layer/relationship token.

    0
  • Josh Vigness
    I was able to get the results as I was originally trying to do. My issue was I did not leave the Map Service Id and Layer Name parameters blank in the Select Features activity, thus not accessing the field created in my Feature Set through the OutStatistics.

     

    My workflow goes as follows:

     

    Officers select a date range and an area(s) through a Display Form,

     

    A Query Task then performs a query with OutStatistics(Count), Grouped by call type.

     

    SortFeatureSet by count

     

    SelectFeatures then displays the results to the officer.

     

     

     
    0

Please sign in to leave a comment.