2024 Aug 28 11:09 AM - edited 2024 Aug 28 3:47 PM
I am creating a basic Fiori application on SAP BTP, using BAS as a CAP project following this tutorial: https://sap.to/6050RO5Es
When I start to test Fiori application I see this error when I try and edit an item (which used to work). Viewing data from HDI is working it's purely update:
`cds.env.fiori.bypass_draft` must be enabled or the entity must be annotated with `@odata.draft.bypass` to support direct modifications of active instances.
Here is my current CDS:
interactions.cds (within db directory):
namespace app.interactions;
service CatalogService {
@odata.draft.enabled: true
@odata.draft.bypass
entity AnomalyDetections as projection on interactions.AnomalyDetection;
@odata.draft.enabled: true
@odata.draft.bypass
entity StatusOptions as projection on interactions.StatusOptions;
@odata.draft.enabled: true
@odata.draft.bypass
entity CloseCategoryOptions as projection on interactions.CloseCategoryOptions;
}
Which then gave me a new error of even though I have no drafts (it seems going into draft created a draft which blocks it).
Error
User | Count |
---|---|
67 | |
11 | |
10 | |
10 | |
9 | |
9 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.