on 2025 Mar 01 2:59 PM
"I was following the 'Enable draft with @odata.draft.enabled' section of https://developers.sap.com/tutorials/add-fiori-elements-uis.html, and after adding 'annotate ProcessorService.Incidents with @odata.draft.enabled;' to the srv/services.cds file, I'm getting an error in the browser saying 'Key "ID" is missing for entity "ProcessorService.Incidents"'. Does anyone know what the problem is?
The Incidents entity is currently as follows (not modified from the manual):
Request clarification before answering.
Even I was facing the same issue, looks i was loading the page from the details view, once loaded from the list view , the issue is resolved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mark,
I had the same issue. I used copy-paste the line and it did not work.
So I typed it manually and it is ok now.
After that I can not change the 'Status' and 'Details' when creating new incident. Probably I missed something.
Laszlo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.