In a page template I'm loading in a component to show content related to the page the user is on.
I'm loading in the resource in sightly like:
<div data-sly-resource="${'related' @ resourceType='/apps/newsadmin/components/newsList'}"></div>
The issue im running into is when I want to edit some settings on this component, the dialog fails to load, and a 400 (bad request) message appears in the console. I believe this is because /jcr:content/related does not exist on my repository, so it is unable to load settings in cq:dialog.html
I'm not sure how to proceed, as I haven't run into this yet. I suppose I can programmatically create the "related" node, but if there's some other solution I'd like to go with that.