Hi Team,
We are trying to include acs-commons through a deployment but are unable to, by adding dependency through pom files. Also, tried directly installing but after code push, it is wiping off. Can someone help me with this issue?
Solved! Go to Solution.
Views
Replies
Total Likes
@gvaem One last solution worth to check - filter.xml. ACS- Common Tools install under /apps/cq/core/content/nav/tools check if you have any filters in ui.apps as mentioned here https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/420 that should solve your problem!
Views
Replies
Total Likes
Hi @gvaem ,
It is recommended to embed ACS Commons in your project so that it will be installed on your AEM instances whenever you deploy your code.
Below are the steps to be followed for AEMaaCS.
<dependency> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-ui.content</artifactId> <version>5.1.0</version> <type>zip</type> <classifier>min</classifier> </dependency> <dependency> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-ui.apps</artifactId> <version>5.1.0</version> <type>zip</type> <classifier>min</classifier> </dependency>
<embedded> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-ui.apps</artifactId> <type>zip</type> <target>/apps/mysite-packages/application/install</target> </embedded> <embedded> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-ui.content</artifactId> <type>zip</type> <target>/apps/mysite-packages/content/install</target> </embedded>
<dependency> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-bundle</artifactId> <version>5.1.0</version> <scope>provided</scope> </dependency>
Reference: https://adobe-consulting-services.github.io/acs-aem-commons/pages/maven.html
Hope that helps!
Regards,
Santosh
Views
Replies
Total Likes
This doesn't work for local instances. I am not seeing acs commons through sites. Any suggestions?
Views
Replies
Total Likes
It shows installed but on the front end site unable see the acs commons tab
Views
Replies
Total Likes
@gvaem It doesn't really matter either it's local or any other environments, though I'm using local instance. Which version of AEM you are using? It should work, I can see that with the code deployment. Please verify the steps above you have followed properly.
Views
Replies
Total Likes
I am using 6.5.12 and acs commons 5.1.0. used exactly the same steps and i can see the folders in crx/de.
Views
Replies
Total Likes
Views
Replies
Total Likes
Tried that with new instance, But no luck
Views
Replies
Total Likes
Check with your uber jar VS your AEM version, that should solve your problem, As I have created project from scratch and used above approach works for me.
Views
Replies
Total Likes
Thanks Santosh!
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.5.12</version>
<scope>provided</scope>
</dependency>
Do you think i am missing some thing in this?
Views
Replies
Total Likes
@gvaem One last solution worth to check - filter.xml. ACS- Common Tools install under /apps/cq/core/content/nav/tools check if you have any filters in ui.apps as mentioned here https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/420 that should solve your problem!
Views
Replies
Total Likes
/apps/cq is added in the filters which is causing the issue.
Views
Likes
Replies