This is a three question post:
Can someone please provide with some Adobe Documentation for PageManager APIs?
Also, is PageManager API available for Adobe Experience Manager as a Cloud Service or is it just for AEM 6/CQ 5?
What maven dependency should a developer add to make the application, which uses PageManager API, compile and run correctly in AEM?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @OlekLemeha
PageManager API is supported for On-Prem and Cloud Service. Regarding the dependency, it varies based on the type of setup.
On-Prem/ AEM 6.5.X:
You can add the Uber jar dependency matching with the AEM version, which is exporting the PageManager API - https://javadoc.io/doc/com.adobe.aem/uber-jar/latest/index.html
<!-- https://mvnrepository.com/artifact/com.adobe.aem/uber-jar -->
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>VERSION_NUMBER</version>
<scope>provided</scope>
</dependency>
Cloud Service:
You can add the latest aem-sdk api dependency - https://javadoc.io/doc/com.adobe.aem/aem-sdk-api/latest/com/day/cq/wcm/api/package-summary.html
<!-- https://mvnrepository.com/artifact/com.adobe.aem/aem-sdk-api -->
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>aem-sdk-api</artifactId>
<version>VERSION_NUMBER</version>
</dependency>
Your project may already have the dependency in the parent pom file, please check the pom.xml before adding it.
Thanks,
Lokesh
PageManager API Documentation - https://developer.adobe.com/experience-manager/reference-materials/6-4/javadoc/com/day/cq/wcm/api/Pa...
PageManager API is available for both on prem/AMS and cloud
Maven Dependency - If you include aem uber-jar then you do not need any additional dependency for PageManager
Hope above helps!
Hi @OlekLemeha
PageManager API is supported for On-Prem and Cloud Service. Regarding the dependency, it varies based on the type of setup.
On-Prem/ AEM 6.5.X:
You can add the Uber jar dependency matching with the AEM version, which is exporting the PageManager API - https://javadoc.io/doc/com.adobe.aem/uber-jar/latest/index.html
<!-- https://mvnrepository.com/artifact/com.adobe.aem/uber-jar -->
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>VERSION_NUMBER</version>
<scope>provided</scope>
</dependency>
Cloud Service:
You can add the latest aem-sdk api dependency - https://javadoc.io/doc/com.adobe.aem/aem-sdk-api/latest/com/day/cq/wcm/api/package-summary.html
<!-- https://mvnrepository.com/artifact/com.adobe.aem/aem-sdk-api -->
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>aem-sdk-api</artifactId>
<version>VERSION_NUMBER</version>
</dependency>
Your project may already have the dependency in the parent pom file, please check the pom.xml before adding it.
Thanks,
Lokesh
Documentation is available at https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/index.html?com/day/cq...
An example is available at https://github.com/adobe/aem-guides-wknd-mobile/blob/master/wknd-mobile.aem/core/src/main/java/com/a...
PageManager API should be available for both AMS and AEMAaCS. The uber jar should contain it, so no need to import any dependencies.
Views
Likes
Replies
Views
Likes
Replies
Views
Like
Replies