Skip to Content
0
Jul 13, 2023 at 09:55 AM

Why is it not possible to use the RAP dynamic feature control for hiding fields?

156 Views

Hello community,
I'm interested in the design decision why the dynamic feature control inside RAP doesn't support hiding fields. It is really impractical to implement field control with SADL/virtual elements to hide fields and to implement the dynamic feature control for make fields read-only or mandatory. Reading trough documentation I think it was possible in OData v2 with the field-control annotation but RAP doesn't allow the hidden value (0) as it maps it to another value inside the framework.

See documentation for OData v2:

image.png

Andre Fischer maybe you can give some insights about this.

Thanks

Andreas

Attachments

image.png (9.6 kB)