Widget “ui_unifed_FileUploader_FileReader” doesn’t pull out all data

  • timo
    Participant
      4 years, 8 months ago #23421

      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.

      timo
      Participant
        4 years, 8 months ago #23423
        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.