on 2017 Aug 18 8:45 AM
Hello experts,
How to migrate sap ui5 apps that are built on libraries like sap.ui.commons,sap.me to sap.m and other libraries that are not deprecated?
Should the apps be rebuild again from scartch?
or
We can edit the existing controls that are used in the app like, matrix layout
and forms that are used from sap.ui.commons library to
layouts and forms in sap.ui.layout library and other controls as well and replace them with sap.m controls.
Thank you 🙂
Request clarification before answering.
Aditya,
very good question.. I do not think there is a 1 to 1 match on your controls. there may be controls, properties and events which are not the same on both libraries (sap.ui.commons and sap.m) it really depends on what your app does/ what is the content of your application.
if you are going to migrate, consider using the XML views (sap.m controls) as recommended by SAP. there may be a lot of similarities if you correctly used MVC, etc.
maybe you need to do a comparison of the controlls (sap.ui.commons) and see if you see the equivalent controls on the sap.m library.
here is some documentation where you can find the responsive controlls. https://sapui5.hana.ondemand.com/explored.html
good luck!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to do it manually. Change the libraries mapped in the XML header tag and then change the controls which are in "m" library but not in "commons".
You also need to check if the methods used for existing controls(like Label, Input etc. ) in "commons" are also available in "m" library.
i wrote a few lines on things to look for, https://blogs.sap.com/2017/08/25/pointers-while-updating-sapui5-version/
hope this is helpful for you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You will have to manually, map the controls in commons library to the target library(m or me) and then run the application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
54 | |
6 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.