- In Disconnected mode
- JSS Tech Preview 3
- Sample vue JS
I have a component : data/component-content/Footer-nav With an ID : ID__footer-nav
I can link all my pages to this component perfectly:
"PH__footer": [
{
"id": "ID__footer-nav"
}
]
Nevertheless, if I create a new placeholder inside this component
<placeholder name="PH__footer-col" :rendering="rendering" />
and add data in my Footer-nav/en.json, I have this error in my console.log:
#Placeholder 'PH__footer-col' was not found in the current rendering data
{
"uid": "{3FC3DAE1-AA1D-5D7E-997D-9AB58DFFE0F9}",
"componentName": "FooterNav",
"dataSource": "available-in-connected-mode",
"params": {},
"fields": {
#(... I hide them for clarity ...)
}
}
- My data are in my manifest
- If I put my data in routes/en.json (bellow the ID) instead of routes/component-content/Footer-nav/en.json, I have not this problem.
Any ideas ?
Thanks!
main
placeholder toPH__footer-col
in the route file and theApp.vue
and it worked ok for me./sitecore/manifest/sitecore-import.json
file when you runjss manifest -c
- that can diagnose further whether the issue is in manifest data generation, or the disconnected layout service that pulls data from that manifest.