简体   繁体   中英

How to convert from xmlview to jsview in sapui5

I am currently working on Proof of concept on fiori application, i currently have a fiori application as a reference which has a xml view representation, I am pretty much sure of writing the logic in js view. Is there a way to convert a xml view to javascript view in sapui5. Please advice.

regards, Nagarjun

You're going to struggle as you're moving from a declarative to an imperative definition type. It's not impossible but I don't know of any automated way.

But also, as @qualiture said, why would you want to do this anyway? Assuming you expect your Fiori application to be supported by folks other than yourself, defining the views in anything other than XML is asking for trouble, as most Fiori developers conversant with UI5 would expect to find the views in XML.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM