Hoppa till huvudinnehållet

setLayerDefinition : How to get list of records and display in a table and print the same table on PDF ?

Kommentarer

1 kommentar

  • Permanently deleted user

    Hi Anjitha, 

     

    As long as you have the layers added to the site, then you will be able to filter the data and add this to a table. 

     

    In your workflow, you will use the Query Task activity to filter each one of your layers and extract only the features you want from each layer. Then you can use the "Select Features" activity to add all the featuresets to the result pane. Lastly, to open this up in a table, just use the "ShowResultsTable" command in a "Run External Command" activity and reference the collection name (from the "Select Features" activity). This will display all your results in the table. 

     

    If you also want the results to be returned in a PDF/XLSX/CSV file of some sort. Then you can convert all the feature sets into data tables, all them all to a dataset, and then reference that dataset in a "Export to CSV" or "Export to XLSX" activity to create the file content. Then to convert the content into a format that you can access, you will use the "Create Temp File" and "Display Hyperlink" activity in order to download the file using a link.

     

    I hope this gives you a better understanding of how to approach this. Please feel free to respond with any questions you might have. 

     

    Regards, 

     

    Carmen
    0

Du måste logga in om du vill lämna en kommentar.