Skip to Content

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:

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. Dardan Zogu

    Thanks a lot for the article, but would you please explain in more details how can we link the attached file with the comment field. So I can show the comment field for specific attached file when I click on it.

    (0) 
  2. Dardan Zogu

    Hello

    I have asked a question before, but I think I didn’t make it clear. So I will try to clarify it.

    I need to categorize the attached files. so is it possible to extend the documentlist.EC.uicomponent with new drop down list which contains all the categories, so when I click on the attached file, The related category will be shown?

    Thanks a lot for your help.

    (0) 

Leave a Reply