Skip to Content

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

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 03, 2018 at 02:43 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.