Skip to main content

Catch user Workflow "X" close

Comments

5 comments

  • Nico Burgerhart

    You could use a different workflow container: DefaultNoCloseButton or ModalWindowNoCloseButton.

    0
  • John Nerge

    You can edit the options on your results table view in your viewer config file.

    0
  • Permanently deleted user

    Thanks Nico, the DefaultNoCloseButton worked for me.

    John, is that within the json file for the viewer? i.e. Desktop, handheld, etc.

    Thanks

    0
  • John Nerge

    Yes, it's within the json file for each viewer. Search for ResultsTableActions and ResultsListActions and remove the items you don't want to show up.

     

    {

     

                  "id": "ResultsListActions",

     

                  "description": "@language-menu-results-list-actions-desc",

     

                  "items": [

     

                    {

     

                      "text": "@language-results-toggle-table-view",

     

                      "description": "@language-results-toggle-table-view-desc",

     

                      "libraryId": "Mapping.Infrastructure",

     

                      "hideOnDisable": true,

     

                      "batch": [

     

                        {

     

                          "command": "ShowResultsTable",

     

                          "commandParameter": "{{context}}",

     

                          "abortBatchOnFailure": true

     

                        },

     

                        {

     

                          "command": "CloseDataFrame"

     

                        }

     

                      ]

     

                    },

     

                    {

     

                      "text": "@language-menu-show-charting-view",

     

                      "description": "@language-menu-show-charting-view-desc",

     

                      "hideOnDisable": true,

     

                      "command": "ShowChartingView"

     

                    },

     

                    {

     

                      "text": "@language-menu-export-results-to-csv",

     

                      "description": "@language-menu-export-results-to-csv-desc",

     

                      "hideOnDisable": true,

     

                      "command": "ExportResultsTo",

     

                      "commandParameter": {

     

                        "format": "csv",

     

                        "fsc": "{{context}}"

     

                      }

     

                    },

     

                    {

     

                      "text": "@language-menu-export-results-to-xlsx",

     

                      "description": "@language-menu-export-results-to-xlsx-desc",

     

                      "hideOnDisable": true,

     

                      "command": "ExportResultsTo",

     

                      "commandParameter": {

     

                        "format": "xlsx",

     

                        "fsc": "{{context}}"

     

                      }

     

                    },

     

                    {

     

                      "text": "@language-menu-export-results-to-shp",

     

                      "description": "@language-menu-export-results-to-shp-desc",

     

                      "hideOnDisable": true,

     

                      "command": "ExportResultsTo",

     

                      "commandParameter": {

     

                        "format": "shp",

     

                        "fsc": "{{context}}"

     

                      }

     

                    }

     

                  ]

     

                },
    0
  • Permanently deleted user

    Thanks John, thats exactly what I needed.

    0

Please sign in to leave a comment.