2016 Feb 24 3:09 PM
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
2016 Feb 24 4:40 PM
Bince,
i dont think that can be accomplished from your CDS view. if you wish to set the visibility on the UI, then i suggest you use the model to show/hide that column on the UI app
2020 Feb 12 9:54 PM
2020 Jul 24 10:43 AM
Hi,
A lot have changed since the publishing of this thread, but this post may help anyone interested!
Cheers,
George