Skip to Content

How to set SAPUI5 version to LTS in Cloud Foundry portal?

Dear experts,

we are currently hosting our Fiori lauchpad on NEO portal. When trying to move to Cloud Foundry, we have regressions in our Fiori apps from latest SAPUI5 1.77 which is used in Cloud Foundry portal service.

How can we set the SAPUI5 version for Cloud Foundry portal service to LTS 1.71? I cannot find a setting in Cloud Foundry website editor (like in Website configuration of NEO portal) or even in SAP Help Guide.

Best regards
Alej

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on May 13 at 09:56 PM

    Hi Alejandro Sensejl,

    You can do it on the file CommonDataModel.json by adding the ui5LibraryUrl parameter under the "sap.cloud.portal" session on the "config" settings.

    "sap.cloud.portal": { 
    		"_version": "1.2.0",
    		"config": {
    		   "solution":"flp",
    		   "fioriVersion":"FIORI2",
    		   "theme.id":"sap_belize",
    		   "theme.active":["sap_belize","sap_belize_plus","sap_belize_hcb","sap_belize_hcw"],
    		   "ui5VersionNumber":"1.77.2",
    		   "ui5LibraryUrl" :"https://sapui5.hana.ondemand.com"
    		 }
    }
    

    NOTE: if you omit the ui5VersionNumber parameter, your application will use the latest version of SAPUI5.

    Here is the documentation that shows you all other available site options on that file:

    https://help.sap.com/viewer/ad4b9f0b14b0458cad9bd27bf435637d/Cloud/en-US/3466882a5c5148628fa0a8a1a2ab43fc.html

    Best regards,
    Ivan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.