cancel
Showing results for 
Search instead for 
Did you mean: 

How to open an attachment within SAP Fiori Client (iOS)

OliverMerk
Explorer
0 Kudos

Hi all,

in order to open an pdf-attachment I am currently using window.open(sUri, '_blank').

The effect is, that the attachment opens (inside SAP Fiori Client iOS), however, I am not able to navigate back to my application smoothly.

Only by opening the Fiori Client Menu (double-tap) and pressing the back-button I am able to get back, however my application will be reloaded again!

Am I doing something wrong? Do I have to open the attachment in a special way?

Thanks & Regards

Oliver

Accepted Solutions (1)

Accepted Solutions (1)

saurabh_vakil
Active Contributor
0 Kudos

Hi Oliver,

As described in SAP Note 2217478 you can try using parent.window.open(sUri, '_blank') instead of window.open(sUri, '_blank'). I have implemented this in my custom Fiori app. I am able to open attachments from the app on Fiori Client in iOS - when the attachment opens I see a Done button in the bottom left of the attachmentViewer page. Clicking this navigates back to the app where it had left off for opening the attachment,

Regards,

Saurabh

OliverMerk
Explorer
0 Kudos

Thanks!! it solved this issue!

Answers (0)