how to set a theme parameter to fiori launchpad

Upload: kalyana

Post on 01-Mar-2018

308 views

Category:

Documents


2 download

TRANSCRIPT

  • 7/25/2019 How to Set a Theme Parameter to Fiori Launchpad

    1/9

    Generated by Jive on 2016-06-21+02:00

    1

    How to set a theme parameter to SAP Fiorilaunchpad

    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://.:/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?sap-client=

    &sap-theme=@https://.:/sap/public/bc/themes/~client-

    Reference: How to setupyour company logo in SAP Fiori launchpad

    Ideas/Solutions:

    There are several ideas to give easy access.

    1. Embedded hyper link in Corporate web page. - User just click the link and link has full URL.

    2. Set default theme parameter SAP_FLP-THEME3. Using URL shotener tool. - There are several tools in the market.

    4. Using proxy server re-writing. - Proxy server will add a theme parameter.5. Specify a theme in bootstrap of app6. Hard coded in index.html. - You can set it without asking your IT network team.

    Example 2: Set default theme parameter SAP_FLP-THEME

    System default theme is defined in the transaction /UI2/NWBC_CFG_SAP.

    http://scn.sap.com/docs/DOC-55068http://help.sap.com/saphelp_uiaddon10/helpdata/en/2d/5c898cb0d343519a716f7fab746b8a/content.htm?frameset=/en/b5/2e74afea0c4aeb8b642b8e6ba8911f/frameset.htmhttp://help.sap.com/saphelp_uiaddon10/helpdata/en/fa/6af135cbcd447390b459de0ce1e607/content.htm?frameset=/en/93/6ce5da329f4036a4945ddd13977a9b/frameset.htmhttp://help.sap.com/saphelp_uiaddon10/helpdata/en/2d/5c898cb0d343519a716f7fab746b8a/content.htm?frameset=/en/b5/2e74afea0c4aeb8b642b8e6ba8911f/frameset.htmhttp://scn.sap.com/docs/DOC-55028#comment-490869http://scn.sap.com/docs/DOC-55068https://scn.sap.com/https://scn.sap.com/
  • 7/25/2019 How to Set a Theme Parameter to Fiori Launchpad

    2/9

    How to set a theme parameter to SAP Fiori launchpad

    Generated by Jive on 2016-06-21+02:00

    2

    You can chnage the system default in the transaction /UI2/NWBC_CFG_CUST.

    Call Fiopri launchpad without theme parameter.

    https://.:/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?sap-

    client=

    The custom theme is set from SAP_FLP-THEME in the transaction /UI2/NWBC_CFG_CUST.

    Example 6: Hard coded in index.html and starrt launchpad with /fiori.

    https://scn.sap.com/
  • 7/25/2019 How to Set a Theme Parameter to Fiori Launchpad

    3/9

    How to set a theme parameter to SAP Fiori launchpad

    Generated by Jive on 2016-06-21+02:00

    3

    This is just an example for starting SAP Fiori launchpad with a theme parameter by

    https://./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

    http://scn.sap.com/servlet/JiveServlet/showImage/102-55028-8-454284/shell01.pnghttps://scn.sap.com/
  • 7/25/2019 How to Set a Theme Parameter to Fiori Launchpad

    4/9

    How to set a theme parameter to SAP Fiori launchpad

    Generated by Jive on 2016-06-21+02:00

    4

    Select the default_host and create a system alias

    http://scn.sap.com/servlet/JiveServlet/showImage/102-55028-8-455219/shell02.png
  • 7/25/2019 How to Set a Theme Parameter to Fiori Launchpad

    5/9

    How to set a theme parameter to SAP Fiori launchpad

    Generated by Jive on 2016-06-21+02:00

    5

    External Alias name is /fiori. Target Element is /default_host/sap/bc/ui5_ui5/ui2/ushell.

    http://scn.sap.com/servlet/JiveServlet/showImage/102-55028-8-454325/shell03.png
  • 7/25/2019 How to Set a Theme Parameter to Fiori Launchpad

    6/9

    How to set a theme parameter to SAP Fiori launchpad

    Generated by Jive on 2016-06-21+02:00

    6

    Save.

    http://scn.sap.com/servlet/JiveServlet/showImage/102-55028-8-454327/shell05.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-55028-8-454326/shell04.png
  • 7/25/2019 How to Set a Theme Parameter to Fiori Launchpad

    7/9

    How to set a theme parameter to SAP Fiori launchpad

    Generated by Jive on 2016-06-21+02:00

    7

    /fiori is created.

    2. Create index.html and hard code the full URL.

    Transaction: SE80

    App: /ui2/ushaell

    http://scn.sap.com/servlet/JiveServlet/showImage/102-55028-8-454332/shell07.png
  • 7/25/2019 How to Set a Theme Parameter to Fiori Launchpad

    8/9

    How to set a theme parameter to SAP Fiori launchpad

    Generated by Jive on 2016-06-21+02:00

    8

    Write short HTML code. This load Fiori launchpad with a theme parameter.

    -----------

    function loc(){window.location = "shells/abap/Fiorilaunchpad.html?sap-

    theme=@https://.:/sap/public/bc/themes/~client-";}

    -----------

    Activate.

    3. Test the URL on browser.

    Your theme is applied.

    http://scn.sap.com/servlet/JiveServlet/showImage/102-55028-8-454340/shell11.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-55028-8-454339/shell10.pnghttps://scn.sap.com/
  • 7/25/2019 How to Set a Theme Parameter to Fiori Launchpad

    9/9

    How to set a theme parameter to SAP Fiori launchpad

    Generated by Jive on 2016-06-21+02:00

    9