cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to add only a few controls of Library into SApui 5 App instead of calling a entire Library

Former Member
0 Kudos

Is it possible to add only a few controls of Library into SApui 5 App instead of calling a entire Library

for Example

am creating Sap.m library app which needs a

Layout from Sap.ui.commons

Instead of adding entire library is there any way to include only sap.ui.commons.matrixlayout

or I should add the entire Library

With Regards,

Raghuram

Accepted Solutions (1)

Accepted Solutions (1)

saivellanki
Active Contributor
0 Kudos

Hi Raghuram,


Yes, you can use jQuery.sap.require("sap.ui.commons.matrixlayout"); to use only one control from a library.


But, why are you using sap.ui.commons for sap.m Application? There are many controls available in mobile library and sap.ui.layout library for layouts, you could try using them.


Regards,

Sai Vellanki.

Former Member
0 Kudos

Thanks Sai

That was just a example to understand the question

with regards

raghuram.

Answers (0)