Skip to Content
Sep 15, 2020 at 03:32 PM

Having trouble importing SAPUI5 code samples


I'm sorry if this has been answered before but I couldn't find anything that helped. I am playing around with importing sample controls into SAP Web IDE (from, but some of them end up being unsuccessful with the following message: "(import) Could not complete the import operation. See the Archive Import Troubleshooting Guide for more information." The troubleshooting guide was not helpful.

The import only works partially. I also tried importing the missing files one by one, after which running index.html ends up with a blank screen and the following error: "(uiadaptation) undefined is not an object (evaluating 'sUI5CurrentVersion.split)".

Sample for which the import works successfully:

Sample for which the import is incomplete as described above:

Please help. One thing I did notice in the case of ObjectPageLayout is that the manifest references views from subfolder "SharedBlocks" which do not exist in the project, nor are they in the sample .zip file. Could this be the problem? What is SharedBlocks?