How to Hide Claim Buttons

available from version 14.0

Dynamic hiding of buttons in a Claim allows for a tailored user experience by specifying which buttons to hide and when in the JSON definition of a Claim Type. This configuration enables you to set criteria for when certain buttons should be hidden, ensuring that users are presented only with actions that are relevant to them.

The criteria defined in the JSON configuration are evaluated dynamically during each "refresh", ensuring that only applicable options are displayed to end users at all times. This configuration impacts both the buttons visible on the Detail page and the contextual buttons on the List page.

The following buttons can be hidden in the JSON configuration (false = hidden):

"buttons": { "deleteButton": false, "revokeButton": false, "submitButton": true, "recalculateButton": true, "workflowDenyButton": false, "workflowViewButton": false, "denyClaimItemButton": false, "rejectClaimItemButton": true, "workflowApproveButton": false, "approveCalimItemButton": true, "workflowWithdrawButton": false, "cancelComputationButton": false, "validateClaimItemButton": false, "workflowAddWatcherButton": false, "workFlowAddApproverButton": false, "allocationGridClaimItemButton": false, "asyncPublishingClaimItemButton": false }

Buttons can be hidden on tab or document (root) level. Criteria for dynamic display of buttons are defined in the same way as for tabs or steps, using hard-coded columns, attribute columns or attribute extensions. See How to Hide Custom Form Buttons Using JSON Configuration for a configuration example.

How button visibility is determined between root and tab settings:

  • Button visibility is defined on tab level → the button on this tab behaves according to this definition.

  • Button visibility is not defined on the tab level → the button behaves according to the root-level definition.

  • If button visibility is not defined neither on the root level, the button is displayed because no definition means that the button is always visible.

  • Button visibility is defined on the root level → the button on the list page behaves according to this definition.

  • Button visibility is not defined on the root level → button is displayed on the list page.

Note: After the button visibility setting is changed in the Claim Type, you must refresh the web browser to see the changes in the UI.

Found an issue in documentation? Write to us.

Â