Skip to Content

File uploading: custom data in callback of FileUploader and UploadCollection?

Hi All,

I am using both: sap.ui.unified.FileUploader and sap.m.UploadCollection.

After files are uploaded in backend, they do receive new filenames. Is it possible to send these new filenames to UI as result of successful upload? These new filenames would be used then for next step.

Thanks and regards,

Mindaugas

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Feb 25, 2019 at 09:59 PM

    Solution is the following, seems there is nothing better:

    copy_data_to_ref(

    EXPORTING
    is_data = ls_odata_return
    CHANGING
    cr_data = er_data
    ).

    Regards,

    Mindaugas

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 30, 2019 at 06:19 PM

    Hi All,

    maybe somebody knows if it is possible to change the callback information at backend side at all?

    For example to change oEvent in UploadComplete : function(oEvent){}

    I guess it must be possible, because there is no unique way to check if file was really uploaded or not,

    this is for developer to handle.

    Thanks and regards,

    Mindaugas

    Add a comment
    10|10000 characters needed characters exceeded