Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
launchpad
Please share your ideas and solutions for setting a theme parameter to SAP Fiori launchpad.
Feel free to edit this page.
Background:
URL string is long for setting a theme parameter to SAP Fiori launchpad. Users won't type URL string and you
have to give a easy way for setting a theme parameter.
Full URL string:
https://<host>.<domain>:<port>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?sap-client=<client>
&sap-theme=<theme>@https://<host>.<domain>:<port>/sap/public/bc/themes/~client-<client>
This is just an example for starting SAP Fiori launchpad with a theme parameter by
https://<host>.<domain><port>/fiori .
Theme parameter is specified in the index.html.
Steps:
1. Define external alias for Unified Shell service. Unified shell is technical name for SAP Fiori launchpad.
Transaction: SICF
Search Unified Shell service
Go To External Aliases
Save.
/fiori is created.
Write short HTML code. This load Fiori launchpad with a theme parameter.
----------<html>
<head>
<script language="JavaScript">
function loc(){window.location = "shells/abap/Fiorilaunchpad.html?saptheme=<theme>@https://<host>.<domain>:<port>/sap/public/bc/themes/~client-<client>";}
</script>
</head>
<body onLoad="loc()"></body>
</html>
----------Activate.