Skip to Content

SAP Fiori Client open PDF - - cache problem

Sep 13, 2017 at 11:41 AM


avatar image

Hi all,

we have a problem with openening PDF documents from an App in the Fiori Client.

The following code worked fine in Fiori Client 1.13.XX, but since 1.15.XX there are the problems.

1. We download a PDF-File from the backend to the Android-Tablet. - works fine

2. The PDF is saved under Android/data/...fior.client../files - works fine

3. In a new step we want to open this file from the same App.

--> In 1.13.XX the code works fine:, "_system", "location=no,enableViewportScale=yes");

----> The User opens the PDF in Acrobat Reader, put comments in there, closed it (saved) and the changed document was saved.

--> In 1.15.XX there is now the problem, that the Parameter "_system" does not work anymore. So we changed this to "_blank" ("_self" would also work like this) - but now there appears a problem:, "_blank", "location=no,enableViewportScale=yes");

---> Since this change, the PDF from the Android-path gets opened fine BUT it is opening a temporary or cached file (this could also be seen in the document description, where now a temporary name is open e.g. 1201064848.pdf). So if the User opens and changes the document, nothing will happen because the wrong document (cached/ temporary) will be changed.

The same situation comes with the cordova.InAppBrowser:, "_blank", "location=no,enableViewportScale=yes"); --> so this does not help also.

Does anybody know why the new version does not support the parameter "_system" anymore, or does anybody have an idea to resolve this problem.

Thank you very much for your help.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers