cancel
Showing results for 
Search instead for 
Did you mean: 

How-to create a reusable UI5 library

Attila
Active Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

NabiZamani
Contributor

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

Attila
Active Participant
0 Kudos

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.

Answers (0)