cancel
Showing results for 
Search instead for 
Did you mean: 

PDF in XML View

Former Member
0 Kudos

Hello Community!

I'm recently developping an UI5-App and I struggle with the implementation of PDF-Files.

I like to have a simple PDF-View in a popup (triggered by clicking a button / list element).

My current project is also coded in XML View (wish I would have started with JS View...).

So additionally I would ask you, wether I can recode/convert my project to JS View.

Thank you in advance!


With best regards,

Chung

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Chung,

I've implemented a PDF in a popup in an XML view like this, maybe that might help:


<Popover title="PDF" class="sapUiPopupWithPadding" placement="Bottom" contentWidth="50%">

<Panel>

<html:embed src="img/mypdffile.pdf" width="100%" height="500" />

</Panel>

</Popover>