Aller au contenu principal

Hide Close Button on Workflow Panel

Commentaires

3 commentaires

  • Halil Siddique
    Alex, I'm also looking for this, did you ever find out how to hide the close button?
    0
  • Ryan Kelley
    Have you tried setting your workflow menu's 'Workflow Container Name' parameter to "ModalWindowNoCloseButton" or "DefaultNoCloseButton", depending on whether you are docking your form or not?

     

    Additionally, you can make that setting for your viewer, while keeping "Default" for example as you workflow container name, by changing the viewer's json file(s) (ie. Desktop.json). See text below and scroll to bottom to see what I added in bold.

     

          {

     

            "moduleName": "Workflow",

     

            "moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.workflow.WorkflowModule",

     

            "configuration": {

     

              "showTitleInFormBody": false,

     

              "defaultContainerRegionName": "DataRegion",

     

              "defaultContainerTitle": "@language-workflow-title",

     

              "defaultContainerIconUri": "Resources/Images/Icons/Toolbar/workflow-24.png",

     

              "showCaptureStatusMessages": true,

     

              "displayResultPickerTemplateComplexity": "complex",

     

              "startupWorkflows": [],

     

              "formItems": {},

     

              "icons": {

     

                "Resources/Images/ParcelByID.png": "Resources/Images/Icons/Toolbar/house-number-24.png",

     

                "Resources/Images/ParcelByOwner.png": "Resources/Images/Icons/Toolbar/house-owner-24.png",

     

                "Resources/Images/ParcelByValue.png": "Resources/Images/Icons/Toolbar/house-value-24.png",

     

                "Resources/Images/SearchSchools.png": "Resources/Images/Icons/Toolbar/school-24.png"

     

              },

     

              "containers": [

     

                {

     

                  "name": "Default",

     

                  "title": "@language-workflow-title",

     

                  "regionName": "DataRegion",

     

                  "allowClose": false

     

                },
    0
  • Permanently deleted user

    "ModalWindowNoCloseButton" and "DefaultNoCloseButton" were good tips for me! I've got a GE app embedded in an application and was looking for a way to lock it down after the workflow successfully completes. ModalWindowNoCloseButton does exactly what I was hoping to do, have an alert (display form) with no buttons, so the user cannot do anything else. A better solution than disabling the ShellView, which I was doing previously.

    Thanks Ryan from 5 years ago! :)

    0

Vous devez vous connecter pour laisser un commentaire.