cancel
Showing results for 
Search instead for 
Did you mean: 

UI5 New Controls

Former Member
0 Kudos

Dear Experts,

In my current UI5 application(version:1.28) the below mentioned controls from commons library have been used. As commons have been deprecated now, Kindly let me know the new sap.m controls that can be used replacing each of the below controls.

sap.ui.commons.Accordion

sap.ui.commons.Tree

sap.ui.commons.layout.MatrixLayout

sap.ui.commons.layout.MatrixLayoutCel

sap.ui.commons.layout.label

sap.ui.commons.DropdownBox

sap.ui.core.ListItem

sap.ui.commons.layout.MatrixLayoutRow

sap.ui.commons.SearchField

sap.ui.commons.TreeNode

sap.ui.commons.layout.BorderLayout

sap.ui.commons.layout.BorderLayoutArea

Kindly let me know the new controls from sap.m which can be used replaced for each of the above ones.

Waiting for the prompt reply.

Regards,

Shiny

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Shiny ,

Please check out SAPUI5 explored , you will find all the replacements and also the samples of each :

sap.ui.commons.Accordion - sap.tnt.NavigationList

sap.ui.commons.Tree : use sap.ui.table.TreeTable

sap.ui.commons.layout.MatrixLayout : sap.ui.layout.Grid or sap.ui.layout.BlockLayout

sap.ui.commons.layout.MatrixLayoutCel : sap.ui.layout.BlockLayoutCell

sap.ui.commons.layout.label : sap.m.Label

sap.ui.commons.DropdownBox : sap.m.Select/sap.m.ComboBox

sap.ui.core.ListItem : sap.m.ListItemBase(with various new inherited classes like columnListItem , objectListItem , etc )

sap.ui.commons.layout.MatrixLayoutRow : sap.ui.layout.BlockLayoutRow

sap.ui.commons.SearchField : sap.m.SearchField

sap.ui.commons.layout.BorderLayout : you can use any of the layout controls to achieve this control

These could be replacements but still you can explore and research the controls on the above mention URL and choose best suitable for your requirement

thanks

Viplove

SergioG_TX
Active Contributor
0 Kudos

Shiny,

all the new controls can be found here (Explored SDK):

https://sapui5.hana.ondemand.com/explored.html

most likely you will have the sap.m replacing the sap.ui.commons, but not 100%, please visit the Explored page and become familiar w the m library