Customizing pyCaseActionAreaButtons in Pega Constellation

In Pega Constellation (v24.x), is it possible to replace or hide the OOTB Submit/Cancel buttons rendered by pyCaseActionAreaButtons and use a custom DX component instead in the case action area? If yes, what is the supported approach?

In Pega Constellation (v24.x), you cannot directly override or replace the OOTB pyCaseActionAreaButtons like in traditional UI, because Constellation uses a fixed, metadata-driven design. The supported approach is to control the visibility of the Submit and Cancel buttons through the view configuration by adjusting action settings in the case type or assignment. Then, you create a custom DX component and include it in the view using a region or field group that renders alongside the standard layout. This way, you effectively hide the default buttons and show your custom component instead. All changes must be done using Constellation-supported configuration and DX APIs, not by modifying OOTB rules.