we developed a plugin which has ui and added that as dependency in pom.xml of srv and outer pom
used your cloud-samples-java app
used your cloud-samples-java app
using {sap.attachments.Attachments,sap.atta...
using {sap.attachments.Attachments,sap.attachments.StatusCode} fromcom.sap.cds/sdm;
using {my.bookshop.Books} from './books';
extend entity Books with {
attachments : Composition of many Attachments;
}
annotate Books.attachments with {
status @(
Common.Text: {
$value: ![statusText.text],
![@UI.TextArrangement]: #TextOnly
},
ValueList: {entity:'Statuses'},
sap.value.list: 'fixed-values'
);
}
created a new file and above content is part of that
when deployed i dont see attachments section only
am i doing something wrong
Closing this, as this is not directly related to our bookshop project, but to modifications you did on top of that. As we are already in discussion internally lets follow up there.
we developed a plugin which has ui and added that as dependency in pom.xml of srv and outer pom used your cloud-samples-java app used your cloud-samples-java app
using {sap.attachments.Attachments,sap.atta... using {sap.attachments.Attachments,sap.attachments.StatusCode} from
com.sap.cds/sdm
; using {my.bookshop.Books} from './books'; extend entity Books with { attachments : Composition of many Attachments; } annotate Books.attachments with { status @( Common.Text: { $value: ![statusText.text], ![@UI.TextArrangement]: #TextOnly }, ValueList: {entity:'Statuses'}, sap.value.list: 'fixed-values' ); }created a new file and above content is part of that
when deployed i dont see attachments section only am i doing something wrong
our plugin code https://github.com/cap-java/sdm