on 04-11-2016 7:37 AM
Hi Experts,
I have some of the SAP UI5 apps in .js view, and some of them are in .xml view.
I am extending the apps and developing. As per the suggestion, I am proceeding with .xml view
But how can i convert a existing .js view to .xml its confusing me to proceed with my development.
(I am creating a Material order view),
How the layout can be achieved, ? shall i use Web IDE >> Layout pane?? . (only for the view to check the layout design??)
(Note : we are using Eclipse IDE as client suggested)
Veera P,
Hi,
You can open the SAPUI5 Diagnostics screen (Ctrl-Alt-Shift S), select the relevant UI and then Export to xml
Regards,
Omri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, I have the coding in .js and not in Xml so i cannot export to eclipse.
1. i need to convert the coding from .js to .xml
2. i need to export to eclipse.
I am confused in point 1.
For Eg:
.js coding. (Date picker)
var oDatePicker1 = new sap.ui.commons.DatePicker('date1');
oDatePicker1.setYyyymmdd("20160401");
oDatePicker1.setLocale("en-US"); // Try with "de" or "fr" instead!
oDatePicker1.attachChange(
function(oEvent){
if(oEvent.getParameter("invalidValue")){
oEvent.oSource.setValueState(sap.ui.core.ValueState.Error);
}else{
oEvent.oSource.setValueState(sap.ui.core.ValueState.None);
}
}
);
This above coding i need to change it to .xml. similarly i have so many codings, Any short cut to convert .js to .xml ???
This is my question..
Veera,
As I wrote before...
Try this link:
https://help.sap.com/saphelp_uiaddon10/helpdata/en/6e/c18e80b0ce47f290bc2645b0cc86e6/content.htm
At the end of the page there is a section: "XML View Conversion"
Regards,
Omri
Omri,
thanks for your reply. I done the changes.
Veera P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.