Dear Appbuilders,
I built upon the app-template Multi-Page with Sidebar Navigation
and adjusted the main-page such that the second-page is a child of it instead a separate page.
I came up with the following JSON, but now get the following errors, there is some property missing but I did not find out with the docu what is happening here:
ERROR: REQUIRED
/mainPage/main.page (#/pages/0)
$.pages[0].@: is missing but it is required
ERROR: REQUIRED
/mainPage/main.page (#/pages/0/children/0)
$.pages[0].children[0].@: is missing but it is required
The changes I made to the template are:
{
"main.page": {
"id": "main_page",
"screens": [
{
"layout": "./main.fixedGrid"
}
],
"children": [
{
"label": "Second",
"page": "/secondPage/second.page"
}
]
}
}
"app.navigation": {
"type": "app",
"config": {
"enabled": true,
"expandAll": true,
"permanent": false
},
"entries": [
{
"label": "Main",
"page": "./mainPage/main.page",
"children": [
{
"page": "/secondPage/second.page",
"label": "second page"
}
]
}
]
}
Can anybody help interpreting this error?