Skip to Content
Former Member
Aug 22, 2017 at 08:38 AM

Portal Service: build widget

106 Views Last edit Aug 22, 2017 at 08:59 AM 2 rev


When deploying a widget to the portal (i.e: a sapui5 component converted to widget) with Web Ide multi-cloud, it appears the sapui5 part is not build (no minification, no Component-preload, etc).

When accessing the page containing the widget and looking at the network requests, we can clearly see that the portal runtime first try to call a Component-preload.js, which does not exists so it loads all individual files.

Is it normal behavior or am I missing something?

Edit: small addition:

If I run a build with grunt (webide multi-cloud) or with Project type->client build (Web IDE classic), it builds and deploy successfully but the widget does not appear in the site manager. When I look in the dist folder, the file is not there. Could it be that the build process needs to copy this file also?

Thanks in advance for your help