Skip to Content

Routing with viewType XML and JS?

Feb 14, 2017 at 12:07 AM


avatar image
Former Member

Hello I'm working with component.js and manifest.json to implement the routing. I can call my main view normally with an XML view type, but now I want to display the following view, which is in the JS type. Clear that you specify in the manifest.json the viewType. But it shows me the message in console "ax / mobile / ui / view / Logon.view.xml could not be loaded from ./view/Logon.view.xml". How can I work with two types of views in routing? Thank you.

manifest.png (84.7 kB)
message.png (135.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Veeraraghavan Narasimhan
Feb 14, 2017 at 12:43 AM

Hello Julio,

You will need to specify the view type in target. So your target should look like

"logon" : {
        "viewType" : "JS",
        "viewName" : "Logon",
        "viewLevel" : 1

From 1.28 the view type in route is deprecated. Can you try this and check.

Thanks and Regards,


Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thank you very much Veeraraghavan Narasimhan, Now I can continue (Y)