How to programmatically publish a page to the preview server
I am creating a resource listener that checks on the creation of a content fragment, it will automatically create the relevant page in the correct location and attach the fragment to the page so it can be rendered by the template.
This is on AEMaaCS:
I want to make it so that the page is automatically published to the preview server so that i can then create a workflow passing the preview server details as part of a review process.
I can't see how using the replication service I can publish to the preview server.