Skip to Content
avatar image
Former Member

Routing with viewType XML and JS?

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    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,

    Veera

    Add comment
    10|10000 characters needed characters exceeded