How to integrate Asset Share Commons into an existing AEM project? | Community
Skip to main content
Level 2
March 17, 2021
Solved

How to integrate Asset Share Commons into an existing AEM project?

  • March 17, 2021
  • 1 reply
  • 3336 views

I am trying to integrate Asset Share Commons into an existing AEM maven project. The build and deployment to a local AEM SDK as well as in the Cloud are successful - the features work fine in AEM local SDK. In the cloud, I am able to open the Asset Share Commons Site but, the "download", "add to cart", and, "searching" etc features are not working - looks like it was not installed properly. Am I missing anything crucial?

 

I am adding it in the pom.xml file as follows which downloads the artifacts from the Maven Repo:

 

 

<!-- Asset Share Commons as EMBED --> <embedded> <groupId>com.adobe.aem.commons</groupId> <artifactId>assetshare.ui.apps</artifactId> <type>zip</type> <target>/apps/application/install</target> </embedded> <embedded> <groupId>com.adobe.aem.commons</groupId> <artifactId>assetshare.ui.content</artifactId> <type>zip</type> <target>/apps/content/install</target> </embedded> <!-- Asset Share Commons as Dependnecy --> <dependency> <groupId>com.adobe.aem.commons</groupId> <artifactId>assetshare.ui.apps</artifactId> <version>1.9.6</version> <type>zip</type> </dependency> <dependency> <groupId>com.adobe.aem.commons</groupId> <artifactId>assetshare.ui.content</artifactId> <version>1.9.6</version> <type>zip</type> </dependency>

 

 

 

 

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by davidjgonzalezzzz

This looks correct (though i'd probably scope the /apps/<MY-APP>-packages/application/install and /apps/<MY-APP>-packages/content/install just to align w/ common convention.

 

Assuming the search itself actually works, that means the Bundle is active, etc. - which is a great sign. If search doesnt work/page is broken - then youll need to do some more investigating.

 

If it's just the actions (share, download, add to cart) that arent available - double-check that on your Search page's Page Properties that you have them enabled on the Asset Share tab as described in the Docs [1].

 

[1] https://adobe-marketing-cloud.github.io/asset-share-commons/pages/search/search-page/https://adobe-marketing-cloud.github.io/asset-share-commons/pages/search/search-page/

1 reply

davidjgonzalezzzzAdobe EmployeeAccepted solution
Adobe Employee
March 17, 2021

This looks correct (though i'd probably scope the /apps/<MY-APP>-packages/application/install and /apps/<MY-APP>-packages/content/install just to align w/ common convention.

 

Assuming the search itself actually works, that means the Bundle is active, etc. - which is a great sign. If search doesnt work/page is broken - then youll need to do some more investigating.

 

If it's just the actions (share, download, add to cart) that arent available - double-check that on your Search page's Page Properties that you have them enabled on the Asset Share tab as described in the Docs [1].

 

[1] https://adobe-marketing-cloud.github.io/asset-share-commons/pages/search/search-page/https://adobe-marketing-cloud.github.io/asset-share-commons/pages/search/search-page/

Level 2
March 22, 2021

Hi, @davidjgonzalezzzz yes, I have the same scope as you mentioned.

 

I compared the files for Asset Share Commons in my Local AEM SDK and Cloud. Looks like, the following are missing in cloud:

 

/etc/cloudsettings/asset-share-commons
/etc/notification/email/asset-share-commons
/etc/notification/email/rep:policy