Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9076

Re: Cache Buster in SAP Fiori Launchpad

$
0
0

Hi,

 

we're acutally facing the same issue. We're trying to call various SAPUI5 Applications with our implementation of the Fiori Launchpad. The cache-buster works brilliant when we call the applications direct... but when we open them via launchpad it seems not to work.

 

What we've done so far was to make a copy of the FioriLaunchpad.html. The we had the following code:

 

            sScriptTags =   '<script src="../../resources/sap/ushell_abap/bootstrap/abap.js"><\/script>' +
                             '<script id="sap-ui-bootstrap" src="../../resources/sap/fiori/core-min-0.js"' +
                             'data-sap-ui-evt-oninit="main(); ' +
                             '"data-sap-ui-xx-bindingSyntax="complex" ' +
                             'data-sap-ui-libs="sap.fiori, sap.ui.unified, sap.m, sap.ushell"' +
                             'data-sap-ui-theme="sap_bluecrystal"' +
                             'data-sap-ui-compatVersion="1.16"' +
                             '><\/script>';


We've changed then the highlighted code lines:


          sScriptTags =   '<script src="../../resources/sap/ushell_abap/bootstrap/abap.js"><\/script>' +
      '<script id="sap-ui-bootstrap" src="../../resources/sap-ui-cachebuster/sap/fiori/core-min-0.js"' +
                             'data-sap-ui-evt-oninit="main(); ' +
                             '"data-sap-ui-xx-bindingSyntax="complex" ' +
                             'data-sap-ui-libs="sap.fiori, sap.ui.unified, sap.m, sap.ushell"' +
                             'data-sap-ui-theme="sap_bluecrystal"' +
                             'data-sap-ui-compatVersion="1.16"' +
                             'data-sap-ui-appCacheBuster="./"><\/script>';


Somehow it doesn't work. We also tried to replace the complete path with the following values:

../../resources/sap-ui-cachebuster/sap-ui-core.js

resources/sap-ui-cachebuster/sap-ui-core.js

But it won't work.

Does anybody of you know a solution for this problem?

Looking forward to your answers!


Greetings

Stef




Viewing all articles
Browse latest Browse all 9076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>