Draft handling
Letting a user edit a record over several requests before it becomes real — draft activation, locking, and the semantics Fiori elements expects.
Showing artifacts, examples and content with confirmed Node.js applicability. View All CAP
Overview
Runs the draft lifecycle for draft-enabled entities — activation, discard and locking — without custom handlers. Since CAP Node.js 10.0 a request that carries no draft notation addresses active data, and draft locks are still enforced against direct updates, deletes and conflicting edits.
A Node.js coverage assessment has not been written. View all flavors
Runs the draft lifecycle over entities projected from an imported remote OData service, and generates a temporary value for a semantic key on draft creation.
Turns a CAP Node.js draft from one editor's into several editors'. A user opening a draft that already exists joins it rather than being refused, the plugin deploys DRAFT.DraftParticipants, DRAFT.DraftFieldLocks and DRAFT.CollaborativeDraftState alongside the standard draft tables, and any participant can activate rather than only the originator. Fiori elements is told through injected $metadata: CollaborativeDraftEnabled, DraftAccessType, a DraftAdministrativeUser navigation property for the avatar group, and a ColDraftShare bound action behind the invite dialog. Entities that do not carry @CollaborativeDraft.enabled are untouched.
A Node.js coverage assessment has not been written. View all flavors
Artifacts
Content
Seen working
Neither the package manifest nor the repository tree declares a licence.
Neither the package manifest nor the repository tree declares a licence.
Details
Coverage
For your agent
- Ref
capability:draft-handling- JSON
- /capabilities/draft-handling.json
- MCP
- Connecting an agent