nagarjun
nagarjun

Reputation: 42

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

Upvotes: 0

Views: 980

Answers (1)

qmacro
qmacro

Reputation: 3105

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.

Upvotes: 2

Related Questions