Skip to Content
0

How-to create a reusable UI5 library

Dec 28, 2016 at 08:08 PM

454

avatar image

Dear Members,

the UI5 guideline says, put controls into libraries when your custom control is used in more applications. I extended the SmartFilterBar control and have it under the control folder of my application, but did not find a way as customer to create a library, which can be used in all of our Financial applications. The requirement is not to implement the same control extension again in each of our customer Fiori applications. This kind of redundancy and increasing maintenance cost with each new application is unwanted. We do not want to change all of our business applications, if new features required in the extended control. Do you know, how-to define a library manually, and use it like UI5 library controls in xml views ? Unpacking modifying and uploading the UI5 library to our ABAP AS server is to avoided, bacause it requires this manual hack after each UI5 library patch. Previously I heard SAP is internally have a WebIDE plugin or like this, and can define libraries. Is this SAP internal feature or sg like this somehow available to customers soon or later ? Maybe I can load the resources of the extended control from our backend server and use it within the project using the available UI5 module management functions ?

Thanks, Attila

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Nabi Zamani Dec 28, 2016 at 09:41 PM
0

Attila,

First have a look at the corresponding docs of OpenUI5 on github: Developing Content for UI5 (controllibraries.md).

Then follow this great and recent blog by Sergey Korolev (handles both HCP + ABAP deployment):

Best, Nabi

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank you Nabi finding this. These are brand new blog posts. I was reposting my question yesterday(written several weeks ago), due I was not able to change modify any existing question (the new SCN is really buggy), to set a proper tag.

Best regards

Attila.

0