SAP-samples / cloud-cap-samples-java

A sample application that demonstrates the features of the Java SDK for the SAP Cloud Application Programming Model.
https://cap.cloud.sap
Apache License 2.0
141 stars 141 forks source link

unable to use a java plugin with this code #358

Closed rashmiangadi11 closed 2 months ago

rashmiangadi11 commented 2 months ago

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

            <groupId>com.sap.cds</groupId>
             <artifactId>sdm</artifactId>
            <version>1.0.0-SNAPSHOT</version>
          </dependency>

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

our plugin code https://github.com/cap-java/sdm

beckermarc commented 2 months ago

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.