Is your feature request related to a problem? Please describe.
For Java apps that use the cap-java/cds-feature-attachments plugin, users have to manually add UI annotations for attachments:
annotate service.Incidents with @(
UI.Facets: [
...,
{
$Type : 'UI.ReferenceFacet',
ID : 'AttachmentsFacet',
Label : '{i18n>attachments}',
Target : 'attachments/@UI.LineItem'
}
]
);
Describe the solution you'd like
The cap-js/attachments plugin has automated the UI annotation creation for Node.js apps. The request is to allow the same code to run in the build for Java apps.
Other plugins follow the same approach, where a JS plugin offers the build support for Java apps.
Is your feature request related to a problem? Please describe.
For Java apps that use the cap-java/cds-feature-attachments plugin, users have to manually add UI annotations for attachments:
Describe the solution you'd like
The cap-js/attachments plugin has automated the UI annotation creation for Node.js apps. The request is to allow the same code to run in the build for Java apps.
Other plugins follow the same approach, where a JS plugin offers the build support for Java apps.