cancel
Showing results for 
Search instead for 
Did you mean: 

Routing with viewType XML and JS?

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member228602
Contributor
0 Kudos

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,

Veera

Former Member
0 Kudos

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

Answers (0)