Question on Collections in ASC
Hi @davidjgonzalez ,
We are trying to implement the collection functionality in ASC. We know asset kit is out there. Can we use the search template for asset kit? We would like to have the same search result view for the collections (asset kit) as well. Is it possible or any challenges?
Thanks, Rahul
So this is going to be tricky.
- I assume you've figured out how to replicate Collections to AEM Publish?
- How do you want to use Collections in search? Do you want to:
- Have collections show up as search results?
- Use collections to filter search results?
- Both?
Having Collections act as result items is going to be tricky, since ASC expects results to be dam:Assets... alot of built on this assumption.
If you want to filter assets BY collection, you could do that relatively easily; since IIRC there's an OOTB QueryBuilder collections predicate, that lets you filter only assets that are part of a collection. You could have the predicate list the Collections (and it could even have its own filter/search to refine what collections are displayed).
Anyhow - LMK what youre thinking... the Asset Kit page probably wont be a best inspiration for how to implement this, but depends on what you wnat the user experience to be.