fiori-draft
Installation
SKILL.md
Fiori Draft — CAP Best Practices
Primary reference: https://cap.cloud.sap/docs/node.js/fiori
Fiori Draft overview: https://cap.cloud.sap/docs/guides/fiori#draft-support
Enabling draft
service OrderService {
@odata.draft.enabled
entity Orders as projection on db.Orders;
}
One annotation — CAP auto-generates the _drafts shadow table, all OData draft actions (draftEdit, draftActivate, draftDiscard), and wires up the Fiori Elements UI automatically.