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>
Solved! Go to Solution.
Views
Replies
Total Likes
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].
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].
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
Views
Replies
Total Likes
Views
Replies
Total Likes
@davidjgonzalezzYes, it worked. I packaged the missing filters from the local SDK and uploaded it to the Cloud.
Is there a way to add these missing filters in the codebase and then deploy them through the pipeline?
Views
Replies
Total Likes
Well - they are, theyre just in the wrong package (for AEM as a Cloud Service) .. theyre in the ui.apps package.
I assume you have your own ui.content package (thats a sibling to your all pacakge)? Just add them in there...
You can copy them from here:
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies