With the latest aem as cloud service sdk, com.day.cq.dam.api.collection.SmartCollection has been marked as depricated. How we can manage working with smartCollection in aem sdk?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @lakumar ,
You can use the com.day.cq.dam.api.AssetCollection interface instead. The AssetCollection interface provides similar functionality and can be used as a replacement for the SmartCollection class.
You can also use the com.day.cq.dam.api.AssetCollectionManager to manage collections and assets in AEM. The AssetCollectionManager interface provides methods for creating, retrieving, and deleting asset collections, as well as adding and removing assets from collections.
Hi @lakumar ,
You can use the com.day.cq.dam.api.AssetCollection interface instead. The AssetCollection interface provides similar functionality and can be used as a replacement for the SmartCollection class.
You can also use the com.day.cq.dam.api.AssetCollectionManager to manage collections and assets in AEM. The AssetCollectionManager interface provides methods for creating, retrieving, and deleting asset collections, as well as adding and removing assets from collections.
I'm not able to find the following interface or class
AssetCollection
AssetCollectionManager
This has the list of all the classes that is deprecated: https://developer.adobe.com/experience-manager/reference-materials/cloud-service/javadoc/deprecated-... on the Also based on the Java Doc SmartCollection is not deprecated. https://developer.adobe.com/experience-manager/reference-materials/cloud-service/javadoc/com/day/cq/...
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies