I have a component on a page. Once this component is authored, I need to pick up it's node properties as Json from another Java App via an URL.
What's the best way to achieve this? I read about very different approaches (json query servlet, write my own servlet etc.) to this and am unsure which way to go.
Any help is very appreciated.
Solved! Go to Solution.
OK. But the resource from which I want to pick up the node properties is a cq:include on a page. How can I access that?
e.g: the page /apps/brand has a text image component on it and I want only those properties. I know that I could get all nodes on the /apps/brand page via "http://localhost:4502/apps/brand.json" but I only want the nodes from that one component on it. Is there a way to do that?
Thanks for your help!