Sample application that demonstrates and documents a broad variety of features of SAP Fiori elements for OData V4. Developers can play around with the new features and learn how to implement them.
While there are examples for Capabilities annotations covering Crud Restrictions, I am missing an example for Capabilities.SearchRestrictions (e.g. hiding Search Field in OP table by annotating the entity used for it).
I also couldn't find anything about this in the official documentation, so it would be great to have it at least mentioned in the feature showcase.
CAP CDS:
annotate <your service entity> with @(Capabilities : {
SearchRestrictions : {
$Type : 'Capabilities.SearchRestrictionsType',
Searchable: true
}
})
While there are examples for Capabilities annotations covering Crud Restrictions, I am missing an example for Capabilities.SearchRestrictions (e.g. hiding Search Field in OP table by annotating the entity used for it). I also couldn't find anything about this in the official documentation, so it would be great to have it at least mentioned in the feature showcase.
CAP CDS:
XML Annotation: