on 2023 Jan 13 7:39 AM
Request clarification before answering.
Include an annotation similar to the one below in your app's <appname>/annotations.cds file.
annotate AdminService.Books with @odata.draft.enabled;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, I believe the entity must be draft enabled:
@odata.draft.enabled
Docs: https://cap.cloud.sap/docs/advanced/fiori#enabling-draft-with-odatadraftenabled
Also make sure it's annotated with insert capabilities
annotate CatalogService.Materials with @(
Capabilities.InsertRestrictions : {
Insertable : true,
}
);
Docs: https://sapui5.hana.ondemand.com/sdk/#/topic/b623e0bbbb2b4147b2d0516c463921a0.html
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you specify the draft annotation
odata.draft.enabled : true
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.