Simplifier Community Home Forums Simplifier Forum Widget “ui_unifed_FileUploader_FileReader” doesn’t pull out all data

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23421
    AvatarTimo
    Participant
    • Topics: 2
    • Replies: 3
    • Padawan

    The FileUploader_FileReader widget doesn’t output various data. For example mimetype or uploadurl.

    After the upload, I get the data via script.

     

    console.log(“MimeType: “+sap.ui.getCore().byId(“Main–ui_unifed_FileUploader_FileReader_Test”).getMimeType());

    console.log(“Value: “+sap.ui.getCore().byId(“Main–ui_unifed_FileUploader_FileReader_Test”).getValue());

    Output:

    MimeType: undefined

    Value: example.pdf

     

    The function is to be used to upload attachments in order to send them via ComonMailConnector.

    Is UploadCollection also possible here? And if so, how?

    If I put Attachments on it, they wouldn’t displayed.

     

    Thanks for helping.

    • This topic was modified 3 weeks, 1 day ago by AvatarTimo.
    #23423
    AvatarTimo
    Participant
    • Topics: 2
    • Replies: 3
    • Padawan
    Up
    0
    Down

    My fault.

    The FileUploader Event “Uploadcomplete” don’t support these outputs.

    I use application/octet-stream as mimeType

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.