Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3560

How to use Attachments with own BOs

$
0
0

In this short how to document I will show you how to add Attachments in your own BO and how to use the Attachment Folder in the UI.

 

1. Add a node for your Attachment Folder to your Business Object and extend the node with the annotation "DependentObject" to reuse the structure of the Business Object "AttachmentFolder".

[DependentObject(AttachmentFolder)]
node AttachmentFolder;

2. Add the Embedded Component "/SAP_BYD_APPLICATION_UI/Reuse/Attachments/documentlist.EC.uicomponent" to your Screen

 

3. Bind the Embedded Component to your Business Object Structure which is bind in the DataModel to the BO root

 

Result:


Viewing all articles
Browse latest Browse all 3560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>