Skip to Content
Product Information
Author's profile photo Oliver Graeff

Short and Powerful: Convenient URLs for SAPUI5/OpenUI5 CDN

Accessing SAPUI5 / OpenUI5

When accessing the UI5 Demo Kit to see the latest documentation, you typically access it via the Content Delivery Network (CDN). And when using UI5 in cloud scenarios, you also load the framework from the CDN. To simplify this, we now provide handy URLs which are future-proof, independent of the platform.

A single, short URL for SAPUI5 https://ui5.sap.com
A single, short URL for OpenUI5 https://sdk.openui5.org

With this, the UI5 team streamlines documentation, coding, samples, and rollout information to feature this unique URL. It simplifies loading SAPUI5 and OpenUI5, helps understanding and indicates the independence of the UI5 CDNs from e.g. SAP BTP, Neo environment.

What should you do?

Use https://ui5.sap.com (for SAPUI5) and https://sdk.openui5.org (for OpenUI5).
That’s it.

(And forget about https://sapui5.hana.ondemand.com and https://sapui5.netweaver.ondemand.com. Still, these URLs continue to work, there is no actual change implemented or planned as of now.)

Note: To bootstrap SAPUI5 in non-cloud scenarios please use the Standard Variant for Bootstrapping. See details on the difference in Docu: Bootstrapping from Content Delivery Network and in note 2943781.

Assigned Tags

      8 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Huseyin Dereli
      Huseyin Dereli

      Perfect, thanks!

      Author's profile photo Mike B.
      Mike B.

      Possible inconsistency: In the sentence «It simplifies loading SAPUI5 and OpenUI5…».

      The first link forwards to https://sapui5.netweaver.ondemand.com/#/topic/2d3eb2f322ea4a82983c1c62a33ec4ae, which is the old-one URL, while the second-one uses the new single, short URL — https://sdk.openui5.org/topic/2d3eb2f322ea4a82983c1c62a33ec4ae.

      Perhaps, it's better to make URLs more consistent and they should be https://ui5.sap.com/#/topic/2d3eb2f322ea4a82983c1c62a33ec4ae and https://sdk.openui5.org/topic/2d3eb2f322ea4a82983c1c62a33ec4ae instead?

      Author's profile photo Oliver Graeff
      Oliver Graeff
      Blog Post Author

      Thanks Mike, I fixed it.

      Author's profile photo Mike B.
      Mike B.

      Oliver Graeff, one more possible bug / behavioral inconsistency.

      There are two NIGHTLY-build pages:

      Both of these pages have a button with a title "What's New in Version 1.106". When I click on this button from https://openui5nightly.hana.ondemand.com/topic/99ac68a5b1c3416ab5c84c99fefa250d, then I'm forwarded to https://openui5nightly.hana.ondemand.com/topic/c70bb907d05a4f9fb6c36ecf73b3fb2e.html and that page really has the wanted content (What's New in OpenUI5 1.106), it's OK.

      But when I click on the same button on https://sdk.openui5.org/nightly/#/topic/99ac68a5b1c3416ab5c84c99fefa250d, then I'm forwarded to https://sdk.openui5.org/nightly/topic/c70bb907d05a4f9fb6c36ecf73b3fb2e.html and get an error: "The requested resource was not found." AND the most important, that if I click on the Documentation link (left-upper corner) on this page, then I'm forwarded to the NON-NIGHTLY build version — sdk.openui5.org/topic!

      Author's profile photo Oliver Graeff
      Oliver Graeff
      Blog Post Author

      Hello Mike,

      thanks. Somehow I was not able to reproduce this issue: I see no error and with 'Documentation' I stay in the nightly build version. But if you still experience this, could you kindly create an incident for the development team to get this bug fixed?

      Thanks a lot, Oliver

      Author's profile photo Mike B.
      Mike B.

      Repro steps:

      1. Open https://sdk.openui5.org/nightly/#/topic/99ac68a5b1c3416ab5c84c99fefa250d
      2. Click on the button "What's New in Version 1.106"

      Expected result: To get an article what's new in 1.106

      Result in fact: I see a page with "The requested resource was not found.". And when I click on "Documentation" link, I'm forwarded to https://sdk.openui5.org/topic instead of https://sdk.openui5.org/nightly

      Anyway, the bug report is done already: https://github.com/SAP/openui5/issues/3590 with an internal incident 2270118936.

      Author's profile photo Marc Schleeweiß
      Marc Schleeweiß

      Hey Oliver Graeff,

      I have heard of https://ui5.sap.com before in a different article about patch level independent bootstrapping. Could this also be implemented for https://sdk.openui5.org?

      The result would be that I could reference https://sdk.openui5.org/1.96/resources/sap-ui-core.js instead of https://sdk.openui5.org/1.96.15/resources/sap-ui-core.js

       

      BR Marc

      Author's profile photo Oliver Graeff
      Oliver Graeff
      Blog Post Author

      Hello Marc,

      yes, you are right. We have this planned for version 1.110.
      (As usual with such forward-looking statements, we might need to change plans and therefore ask you to not rely on this information.)

      Best regards,
      Oliver