cancel
Showing results for 
Search instead for 
Did you mean: 

ui5 sap.m.PDFViewer - embedded toolbar

0 Kudos

Hi all,

I stream a PDF file from the backend and display it in the sap.m.PDFViewer control. I have set showDownloadButton property value to "false". The download button has disappeared in the footer.

Unfortunately there is another download button in the integrated toolbar.

Can someone give me a hint on how to remove this button?

In fact, all I need is the rotate button.

Thank you in advance.

Kind regards,

Alex

0 Kudos

Hi Alex.

I'm currently facing the same issue, did you gind any solution to this?

Thanks!

Eduardo

former_member134435
Participant
0 Kudos

How did you get to remove the Close button on this dialog?

Accepted Solutions (0)

Answers (2)

Answers (2)

WouterLemaire
Active Contributor
0 Kudos

You could use the version on UI5Lab: https://blogs.sap.com/2018/06/14/sapui5-pdf-viewer-ui5lab/

It wraps the PDF into UI5 and you control the buttons, no download buttons and compatible with older UI5 versions.

flotxi
Participant
0 Kudos

Hi Alex,

unfortunately I can't help you but maybe you can help me.

How are you able to display a PDF, retrieved from Backend ?

I am facing the same issue as described here.

The sample code for the PDF Viewer COntrol are not helping when you try to get a PDF from the backend.

Thanks and best regards,

Florian