on 2017 Oct 05 10:56 AM
Hi,
I am developing a Master-Detail application which should show an embedded PDF in it's detail view. The project is based on UI5 version 1.48, so the new PDFViewer control can be used.
In desktop mode everything works as expected (fig.1)
But on a mobile screen PDF is not showing properly (Fig 2).
The data source property binding at the PDF control is done by OData path.
<!-- PDF-Viewer since SAPUI 1.48 -->
<FlexBox id="fbPDFViewer"
direction="Column"
renderType="Div"
class="sapUiSmallMargin">
<PDFViewer id="idPDFViewer"
source="{myModel>/myPDFUrl}"
title=""
busy="true"
showDownloadButton="false"
height="700px"
width="95%"
loaded="onPDFLoaded"
errorMessage="{i18n>notFoundText}"
errorPlaceholderMessage="{i18n>notFoundText}">
</PDFViewer>
</FlexBox>
Is there any hint, whats going wrong here?
Thank you all!
Even the sample for embedded usage doesn't work on mobile devices.
I guess now it's a core issue...
2017-10-25-15-36-43-sapui5-sdk-demo-kit-v20.png
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems to be a design descision. On github, there is a discussion about this behavior:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
12 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.