Zum Hauptinhalt gehen

Reports option in List View

Kommentare

3 Kommentare

  • John Nerge

    You can change the settings in your Viewer.xml to display the Report option in your list view, but it will just be grayed out. That's because the list view returns results from all layers, whereas the table view organizes each result set by layer. You can't run a report from the list view actions because the app doesn't know which layer you're trying to run a report on. In table view, it knows which layer to use because you select a specific layer tab.

    The workaround I use for this is to put a Run Report link in the feature description for layers I want to run reports on from a search result. You can do this with a simple workflow that runs a report and use the RunWorkflowWithArguments command in your feature description.

    0
  • Permanently deleted user

    Thanks for the information

    Make sense about the Reports not being able to be opened in list view.

    Does your solution work for multiple selections or will the report only work on one feature.  The report I want to run is a labels report and will need to display all selected features in that layer, not just the one I click on.

    Thanks again!

     

    0
  • John Nerge

    No it wouldn't since the feature description link only applies to a single feature. I have a different workflow that uses the Display Capture Geometry activity, query taskm etc. to select multiple features in a layer and create labels.

    You might want to look into the GetSelectedFeatures activity for what you're trying to do. I haven't used it yet (I build my original workflow over a year ago).

    0

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