Expand my Community achievements bar.

AEM Cloud Activate or Publish later

Avatar

Level 1

Hi,

 

We are using AEM cloud and currently I am trying for a way to schedule publishing using postman. I am able to achieve publishing or activate now using local development token but not sure how to schedule for later using postman. Is it even possible?

 

Post URL :  {aemenvironmenturl}/bin/replicate.json

 

Below are the parameters passed.

 

path: /content/dam/exmpleclient/sample

cmd: activate

agentId: publish

 

Tried schedule parameter but it did not work.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

3 Replies

Avatar

Community Advisor

@LK1015 

 

The curl command for /bin/replicate.json might not be able to support Scheduled Publication.

 

AEM supports Publish/Unpublish Later via Workflow "Scheduled Page/Asset Activation" / "Scheduled Asset Unpublish from Brand Portal"

 

Instead, you might want to use Workflow Rest API to Trigger the Scheduled Replication https://experienceleague.adobe.com/en/docs/experience-manager-65/content/implementing/developing/ext... 


Aanchal Sikka

Avatar

Level 1

Hi, Thank you for your response.

 

We have another postman script as below so can we use that for scheduling publishing? If yes could you please help me with type parameter value and parameter name for date and time for scheduling.

 

Post URL: <aemenvironmenturl>/adobe/sites/cf/workflows

 

Body of the request:

{
    "type": "publish-folder",
    "agentId": "publish",
    "folderPath": "content/dam/exmpleclient/test",
    "excludeSubFolders": false   
}

Avatar

Administrator

@LK1015 Did you find the suggestion helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!



Kautuk Sahni