Attachments

The upload and download half of a file attached to a record. ui5-upload-controls is a reusable control library built to sit in front of a CAP service that stores the files, so the storage decision stays on the CAP door and the interaction lives here.

Overview

SAP SHIPSby design
Web Components →

@ui5/webcomponents SAP's UI elements as standard custom elements, ui5-button among them, implementing SAP Fiori design and usable from plain HTML, React, Angular or Vue.

Not covered: All three stop at the file itself: Fiori elements' own docs put the virus scan and the size and MIME-type checks on the back-end service, and name @cap-js/attachments as the plug-in to define the entity with; UI5 Web Components' UploadCollection calls its own drop handling "up to the application developer". None of the core's controls store, scan or serve the bytes.

THE COMMUNITY ADDS

ui5-upload-controls binds a control directly to a CAP service that stores the files, so the storage decision moves off the UI5 side.

Artifacts3

3 of 3 artifacts
ArtifactSignals
Packages2
@ui5/webcomponentsSAP's UI elements as standard custom elements
Signals
Functional boundary
ui5-upload-controlsUI5 control library for file upload and download in front of CAP
Signals
none
Services1
SAP Document Management service, integration optionAPIs and a UI5 component for document management in apps
Signals
none

Content7

Group by
Piece, what it offers
Media Handling in SAP CAPM – Backend and Frontend Implementation
SAP Community, Talari Hari Kumar, BlogThe reasoningA recipeRunnable code
Building an Attachment Upload and Download Solution Using UploadSetwithTable Control
SAP Community, AyhamT, BlogThe reasoningRunnable code
Configure Journal Entry Posting Approval from Store Template in Build Process Automation
SAP Community, SaranyaSampath, Blog
Show 4 more
Unlocking Efficiency: Leveraging SAP BTP Document Management Service in Fiori Applications # 2
SAP Community, prajnaparmita, BlogThe reasoningA recipeRunnable code
Extend Upload Set with Table to Fiori Elements and utilize Object Store
SAP Community, Kazuhiko Takata, BlogThe reasoningRunnable code
Core changed
Extend Upload Set to Fiori Elements and utilize Document Management Service
SAP Community, Kazuhiko Takata, BlogThe reasoningRunnable code
Core changed
Upload attachments in a Freestyle UI5 and CAP app
SAP Community, Wouter Lemaire, BlogThe reasoning

Details

Coverage
statecore and community, UI5
assessed
relationshipnarrow by design
also inCAP, ABAP, BTP/BAIP
For your agent