Programatically dropping components to AEM page
HI All,
I want to create page and drop components along with its dialog values using java code. Is there any way to invoke any API with component field values to drop component in page ?
Currently I am creating jcr node using sling api but the disadvantage I see in that approach is , when we have many components and each component design is different, then I need to change the node creation logic. So is there any API to directly save component to page?
Thanks,
Vidhu