Skip to content

Feature: Provide the IDs of attachment's parent entity #501

@mofterdinger

Description

@mofterdinger

During the creation of an Attachment, I need to know to which parent the attachment belongs to. This might be required to build an unique content ID consisting of the parent ID and attachment ID.
This is not possible at the moment, because the class AttachmentCreateEventContext doesn't provide this information.

The SDM plugin implemented this feature already in their plugin code: https://github.com/cap-java/sdm/blob/0617f5db595605da0d4ba013c989acb046fcc224/sdm/src/main/java/com/sap/cds/sdm/service/handler/SDMAttachmentsServiceHandler.java#L177

cc: @agoerler @BraunMatthias

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions