Skip to Content
0
Sep 07, 2018 at 03:10 PM

SAP Fiori Client + SAPUI5 UploadCollection + Issues

432 Views

Hi Experts,

We are experiencing following problems with SAP Fiori Client and SAPUI5 UploadCollection component

1- On iPhone/iPad, with latest SAP Fiori Client (1.11.4), We are not able to upload PDF, XLSX etc). These files are grayed out when we try to upload.

2- iPhone/iPad are not allowing more than 2 files to upload at once. instantUpload is false and we are uploading it by calling oUploadCollection.upload() method.


Please find attached the snapshot from iPhone while uploading.

Following is the code snippet for the UploadCollection

<UploadCollection
    id="idUploadCollection"
    uploadEnabled="true"
    maximumFilenameLength="50"
    maximumFileSize="50"
    fileType="pdf,doc,xls,ppt,docx,xlsx,pptx,jpg,png,gif,bmp,webp,txt"
    mimeType="application/pdf,application/msword,application/vnd.ms-excel,ap
              plication/vnd.ms-powerpoint,application/vnd.openxmlformats-off
              icedocument.wordprocessingml.document,application/vnd.openxmlf
              ormats-officedocument.spreadsheetml.sheet,application/vnd.open
              xmlformats-officedocument.presentationml.presentation,image/pn
              g,image/jpeg,image/gif,image/bmp,image/webp,text/plain"
    multiple="true"
    showSeparators="All"
    instantUpload="false"
    change="onUploadAttachmentsChange"
    uploadComplete="onUploadAttachmentsComplete"
    beforeUploadStarts="onBeforeUploadAttachmentsStarts"
    uploadTerminated="onUploadAttachmentsTerminated"
    uploadUrl="/sap/opu/odata/XXX_SRV/AttachmentSet"
    typeMissmatch="onUploadAttachmentMismatch"
    filenameLengthExceed="onUploadAttachmentMismatch"
    fileSizeExceed="onUploadAttachmentMismatch"
    class="sapUiSmallMarginBottom">
</UploadCollection>