Skip to Content
0

SAPUI5: Display Fiori Launchpad-App in iFrame (Clickjack-Protection)

Mar 13 at 01:53 PM

118

avatar image

Hey community,

I try to display an Fiori Launchpad-App inside of an iFrame. At the start the iFrame displayed only a Fiori-blue background

After activating the HTTP-Whitelist and insert an entry for the specific host in the table "http_whitelist" the target application is visible. The only problem is that the mouse pointer is deactivated and looks like a general prohibition sign (ISO 7010 P001).

I found the additional information that I have to adjust the script section (index.html) of the SAPUI5 application in the following way:

<script id="sap-ui-bootstrap"
	src=".../resources/sap-ui-core.js"
	data-sap-ui-libs="sap.m"
	data-sap-ui-theme="sap_belize"
	data-sap-ui-compatVersion="edge"
	data-sap-ui-resourceroots='{"Z_...": ""}'
        data-sap-ui-frameOptions='allow'>
</script>

But the Fiori standard apps like System Recommendations have no index.html or call to load the SAPUI5 libraries.

How to allow the frameOption parameter for a Fiori standard application?

Thanks in advance!

Tim

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

0 Answers