Zum Hauptinhalt gehen

Displaying results - multiple FeatureSets

Kommentare

7 Kommentare

  • Ryan Cooney

    Hi Toby,

    I was able to get this working by adding another RunExternalCommand with Command Name = SetActiveFeatureSetId and no parameter. This tells the app to make all the FeatureSets in the TraceResults collection active.

    --Ryan

    0
  • Permanently deleted user

    Ryan, thanks for the reply. This doesn't seem to be working for me. Instead of my results showing as multiple tabs, they are now combined in a single table (see screenshot below). How do I force each set of results into its own tab? In the SelectFeatures Tool I specify for the Collection Name = "TraceResults". If I try giving each SelectFeatures a unique Collection Name I only get one set of results displaying. 

    (/customer/servlet/servlet.FileDownload?file=00P6000000e88BrEAI) /customer/servlet/servlet.FileDownload?file=00P6000000e88BrEAI

    0
  • Ryan Cooney

    Hi Toby,

    Are you specifying the Map Service Id and Layer Name on the Select Feature activity? If you set these the results will be associated with the appropriate layers and they will appear as separate tabs (also reports, data links, and other useful stuff will work). If you don't specify them it won't know that the results belong to different layers and it will merge them together.

    --Ryan 

    0
  • Permanently deleted user

    Ahh, it was my map service ID. I have a cached base map in the site and had mistakenly specified that map service instead of the dynamic one that I was selecting features from. Thanks for your help.

    0
  • Permanently deleted user

    Hi,

    I have made a workflow to trace a series of pipes and nodes. The workflow returns a series of featureSets from various layers from some query tasks in a for each loop, the results are always assigned to the same featureSet named "traceGeometry".

    What I would like to achieve is to group these feature sets in a few categories. In other words instead of having a table view with tabs for each layer, I would like to aggregate some layers together in one tab with an Alias name.

    All these results should then belong to one Collection named "Trace".

     

    The workflow explained above with "SetActiveCollection" and "SetActiveFeatureSetId" doesn't seem to do the trick for me.

     

    to make things clear, this is a schematic of the relevant part of the workflow:

    for each layer:

     

        Query geometry -> Result = traceGeometry FeatureSet

     

        /customer/servlet/servlet.FileDownload?file=00P6000000e88HoEAI

        <Sort in categories>   <----- The logic I'm missing

        Select Features

     

        /customer/servlet/servlet.FileDownload?file=00P6000000e88HtEAI

    End for each

       

    0
  • Permanently deleted user

    Hi Toby /Ryan,

    I'm trying to do the similar thing but SetActiveFeatrueSetId doesn't seem work for me. Would you mind sharing a bit your workflow specifically for this part? Thank you.

    regards,

    Jack

    0
  • Permanently deleted user

    Ibrahim,

    Would it be possible to obtain a copy of your trace workflow?

    I've just started investigating the same function but with a waste water model.

    Thanks in Advance...Walter

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.