Programmatically activate asset to preview server in AEM CLOUD SDK
Hi Team ,
We are on AEM cloud .. instance and we I an trying to push some selective asset to preview server.
So I used
Replication API.. and filter and new options . which preview agent ID as the key.
but when I am trying to get the status of activation using the below code:
ReplicationStatus publishStatus = res.adaptTo(ReplicationStatus.Class)
publishStatus.getStatusForAgent("preview"). ( compilation error -> no defined method as getStatusForAgent())
But ReplicationStatus API do not have any methods which will confirm if asset has been published on preview server.
Can you suggest on this please.
regards
Madhu
