Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 1
Level 1
uafzal
Level 1

Likes

0 likes

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
uafzal
Level 1

Likes

0 likes

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
uafzal
Level 1

17-03-2021

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>

 

 

 

 

 

 

 

Asset Asset-Share-Commons Assets-Site

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Ignite 3
Level 5
davidjgonzalezzzz
Level 5

Likes

68 likes

Total Posts

77 posts

Correct Reply

31 solutions
Top badges earned
Ignite 3
Affirm 25
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Ignite 3
Level 5
davidjgonzalezzzz
Level 5

Likes

68 likes

Total Posts

77 posts

Correct Reply

31 solutions
Top badges earned
Ignite 3
Affirm 25
Ignite 1
Give Back 5
Give Back 3
View profile
davidjgonzalezzzz
Level 5

17-03-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-m...

Answers (0)