Menu

Showing posts with label AEM as CS. Show all posts
Showing posts with label AEM as CS. Show all posts

How to delete a remaining or unwanted node on publish/preview | AEM aa CS

When a page or content unpublished from AEM author to publish or preview and somehow that is not get deleted from publish server and after publish we deleted the content node from author then we can't do unpublish agian and come at a situation where we need to manually delete the node from publish instance. But AEM CS come with a new feature in distribution to unpublish the content or page agian on the publish and preview instance. Below are the steps to delete the unwanted or unpublished content nodes in AEM publish using AEM author.

  1. Login to AEM aa CS
  2. Go to > Tools > Deployment > Distribution
    AEM CS distribution screenshot

     
  3. Here you will see two options, publish and preview
    AEM CS distribution screenshot


  4. Select the required instance from where node deletion required
  5. This will open a new window. Here go to Distribute tab and scroll down at reach at the end of the page. Select the action Add node or Delete. Then, in Path Browse select the path that we need to add or delete. After that click on Submit button. 
    AEM CS distribution screenshot


References

https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-22828.html 

Java SDK 11 required to run AEM as Cloud Service

 We need Java 11 SDK to work on AEM as CS. If you try to run on a lower version of Java SDK then it will throw an error. below is the error which you will get when you try to run the AEM as a cloud service jar using Java 1.8

E:\aem-sdk>java -jar aem-sdk-quickstart-author-p4502.jar
Loading quickstart properties: default
Loading quickstart properties: instance
java.lang.Exception: Quickstart requires a Java Specification 11 VM, but your VM (Java HotSpot(TM) 64-Bit Server VM / Oracle Corporation) reports java.specification.version=1.8
at com.adobe.granite.quickstart.base.impl.Main.checkEnvironment(Main.java:1046)
at com.adobe.granite.quickstart.base.impl.Main.<init>(Main.java:646)
at com.adobe.granite.quickstart.base.impl.Main.main(Main.java:981)
Quickstart: aborting