How to Hide Buttons in Price Lists and Live Price Grids
available from version 14.0
Dynamic hiding of buttons in a Price List or Live Price Grid allows for a tailored user experience by specifying which buttons to hide and when in the JSON definition of a Price Setting 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):
Price Lists
"buttons": {
"editButton": false,
"submitButton": false,
"calculateButton": false,
"assignToCustomerButton": false,
"copyButton": false,
"deleteButton": false,
"publishingButton": false,
"revisionButton": false,
"mergeButton": false,
"addProductsButton": false,
"revokeButton": false,
"cancelComputationButton": false,
"showWorkflowButton": false,
"showDefinitionButton": false,
"showSummaryButton": false,
"moveToFolderButton": false,
"massEditButton": false,
"massDeleteButton": false,
"showProductDetailsButton": false,
"initSimulationButton": false,
"showSimulationButton": false,
"formulaEditorButton": false,
"portletCalculationInputsButton": false,
"headerLogicSaveAndRecalculateButton": false,
"outputChartDefinition": false,
"calculationResultsButton": false
}
Live Price Grids
"buttons": {
"copyButton": false,
"calculateButton": false,
"cancelComputationButton": false,
"publishingButton": false,
"showDefinitionButton": false,
"addProducts": false,
"editProductButton": false,
"viewProductButton": false,
"showSummaryButton": false,
"deleteButton": false,
"calculationToPriceListButton": false,
"simulationButton": false,
"calculateButton": false,
"viewSimulationButton": false,
"viewProductDetailButton": false,
"viewCalculationDetailButton": false,
"massActionsButton": false,
"massEditButton": false,
"massCalculateButton": false,
"massSubmitButton": false,
"massWithdrawnButton": false,
"massApproveButton": false,
"massDenyButton": false,
"massDelete": false,
// custom mass action buttons can be hidden as well
"configureButton": false,
"viewOptionsButton": false,
"publishingButton": false,
"calculationToPriceListButton": false,
"editButton": false,
"calculateAsyncButton": false,
"submitButton": false,
"approveButton": false,
"submitAndApproveButton": false,
"denyButton": false,
"workflowViewButton": false,
"submitWorkflowActionButton": false,
"approveWorkflowActionButton": false,
"denyWorkflowActionButton": false,
"calculateWorkflowActionButton": false,
"portletCalculationInputsButton": false,
"headerLogicSaveAndRecalculateButton": false,
"outputChartDefinition": false,
"calculationResultsButton": false
}
Note: After the button visibility setting is changed in the Price Setting Type, you must refresh the web browser to see the changes in the UI.
Related content
Found an issue in documentation? Write to us.