Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on Collections in ASC #1128

Open
RahulMohann opened this issue May 9, 2024 · 1 comment
Open

Question on Collections in ASC #1128

RahulMohann opened this issue May 9, 2024 · 1 comment
Assignees
Labels

Comments

@RahulMohann
Copy link

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

@davidjgonzalez
Copy link
Contributor

So this is going to be tricky.

  1. I assume you've figured out how to replicate Collections to AEM Publish?
  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants