Skip to Content
1
Feb 24, 2016 at 03:09 PM

Dynamically Hide a UI element In CDS View based Object Page

2452 Views Last edit Feb 13, 2020 at 05:50 AM 2 rev

Hello Experts,

I have an requirement to hide a certain field in the Object Pages app based on CDS views. Although UI annotations like "@UI.hidden" and "@Consumption.hidden:true"are available, These annotations cannot be toggled dynamically based on any conditions. My requirement is to hide the fields in the view if the respective value is blank. Is it possible to dynamically control the field visibility in the front end application level by editing the "annotations.xml" file within the project!! Or an

Thanks in Advance,

Bince