on 09-23-2015 8:43 PM
Hello experts,
We have developed a custom Fiori app within which we are showing a list of attachments against an invoice. Clicking on the attachment opens up the respective file. We have used the below code to open the file and it opens files off type .TIFF, .PDF, .JPG in Fiori Client (1.4.0) on iOS.(8.4.1) on iPad2.
parent.window.open(pdfURL, 'blank');
But when we try opening JPG files (having Content-Type as application/jpeg) in Fiori Client (1.4.0) on Android (4.1.2) on Samsung Galaxy Note it shows a message Unable to find item. On this Android device we are able to open only PDF and DOC files successfully. The same behavior is also observed on this Android device while trying to open attachments directly from the default browser (without using Fiori Client).
Has anyone else encountered similar issues while opening attachments in Fiori Client on Android? How do we ensure that we are able to open JPG files from Android?
Also are specific MS office apps required to be installed on iOS devices to be able to open .DOC/.DOCX and .XLS/,XLSX files? While trying to open these files on iPad shows the message Unable to Read Document. An error occurred while reading the document.
Regards,
Saurabh
Hello experts,
We are now trying to open file attachments in a custom Fiori app from Fiori Client (1.4.0) on Android (5.1) in the internal attachmentViewer plugin of Fiori Client. We have tried opening .JPG, .PNG, .PDF, .TIF, .XLS and .DOC files, but we are unable to open any of these file types. We get a popup with the message when ever we try opening any of these file types.
This file cannot be displayed. Please install an Android App that can display this file type (application/pdf) - similarly for file types application/jpeg, application/png, application/pdf, application/tif too we same message.
On Fiori Client (1.4.0) on iOS (8.4.1) we are successfully able to open attachments of all the above mentioned file types within the attachmentViewer in Fiori Client.
What do we have to do in order to be able to open these files in Fiori Client on Android? We thought that at least PNG/JPG files would open without the need to install a viewer on the Android device. Has anyone faced this kind of issue on Android?
Regards,
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurabh,
Please utilize a search function in http://support.sap.com/notes. You can find this easily by searching notes with keyword "android attachment".
2217478 - User cannot open attachment in custom Fiori application on Android using Fiori Client 1.4 - FC/KAP
Regards,
Masa / SAP Technology RIG
But we are already using the line parent.window.open(fileURL, '_blank') in the custom Fiori app to open the attachment as given in the note 2217478. Still none of the files opens in Fiori Client on Android. Yet all file types are opening fine on iPad.
We are testing on a Moto X Play device running Android 5.1.1
We are nearing go live for this custom Fiori app and are not sure whether the issue is from the app side or do we raise an OSS for this.
Regards,
Saurabh
Hi Masa,
Somehow the files that we were trying to open from the custom Fiori app from Fiori Client on Android had gotten corrupted and hence were not opening from Android. Initially when they were added to the work items we had tested from desktop and iPad and they were opening fine. After some time gap we tested from Android and found that the files were not being opened. We then tested those from desktop and here too they were not opening.
So we uploaded new JPG, PNG and PDF files and then we were able to open JPG and PNG files within Fiori Client on the Android device also.
But here is another observation that we have - when opening PDF file attachment from Fiori Client on Android it shows a popup message saying This file cannot be displayed. Please install an Android App that can display this file type (application/pdf). But when we tried opening the same PDF attachment from Chrome browser on Android device, it downloaded the attachment in the Downloads folder and from here we were able to open the PDF. Is this the expected behavior of Fiori Client on Android with respect to PDF files?
Regards,
Saurabh
Hi Saurabh,
Do you have Adobe Reader?
Please look at help.sap.com.
http://help.sap.com/Download/Multimedia/fc14/d9226c30bafe466ea8e2130066370b39.html
Regards,
Masa / SAP Technology RIG
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.