I have an editor screen that is set up so i can get to it in view mode or edit mode.
I want to generate a table column only if the screen is in view mode. I was trying to use isReadOnly() as the conditional expression, however that does not seem to work.
Hi.
You need to subscribe toBeforeShowEvent instead. This event sent right before the screen is shown, i.e. it is not added to the application UI yet. Security restrictions are applied to UI components. In this event listener, you can load data, check permissions and modify UI components.