Show hide elements with server actions

Is it possible to use App connect to show hide elements at the server level? I have use both the (dmx-show) and (dmx-hide), but I am looking to hide/show things like the “Advanced Conditional Region 2.0” used to do with php.

Community Page
Last updated: