cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the File Upload Control add a file to the AttachmentFolder?

former_member200995
Contributor
0 Kudos

Hi experts,

In my custom BO, it has element:[DependentObject(AttachmentFolder)] node AttachmentFolder;
I want to use the File Upload Control, add a TXT File to the AttachmentFolder, and save.(In fact , the document EC can do it very good, but it can't meet the requirement.)

In the UI, I add a "FileUploadControl".
I don't know how to binding the Control to the AttachmentFolder.
Which step I need to do?

Thanks a lot.
Benny Huang

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Benny,

For your ByD tenant you can use the following standard EC to upload files:

/SAP_BYD_APPLICATION_UI/Reuse/Attachments/documentlist.EC.uicomponent

You can add this EC by dragging from configuration explorer window in UI designer and drop to a custom facet of your custom BO screen. Once added, click on 'bind' and bind 'Root' from source side to 'NodeReference Binding' in target side.

Best Regards

Anil