adobe / asset-share-commons

A modern, open-source asset share reference implementation built on Adobe Experience Manager (AEM)
https://opensource.adobe.com/asset-share-commons/
Apache License 2.0
89 stars 106 forks source link

Ability to surface/download Collections #169

Open jamescollier7work opened 6 years ago

jamescollier7work commented 6 years ago

As a feature request:

Being able to show ootb AEM Collections would be great. Authors could bundle assets into collections, and then Asset Share users could easily download multiple assets.

A rough image to visualize the concept in search:

asset-share-collections

For details page, could simply list assets and link to individual assets, and show any metadata relevant to the collection (created, last modified, type would be collection, total size if possible).

davidjgonzalez commented 6 years ago

@jcollierR2i a big problem w/ this, is there is no OOTB way (via the AEM Web UI) to replicate Collections ... so you could never get them to AEM Publish.

You'd have to figure out some mechanism for replicating collections (WF being the simplest, though maybe not most straightforward) .. and any downstream triggers.

The replication aside, this is an interesting problem because you're mixing node types in results which Oak does not do well (ie. try searching for cq:Page and dam:Asset in the same query, what happens!!)

Also, how do you search for a collection? They do not have the same node structure or metadata as assets so the filters we have today are likely meaningless for them (and thus if selected would filter them out).. filters aside, how would full-text work? since collections reference assets and have little metadata of their own, they have almost nothing in their Lucene document to drive a full-text search.

While I really like this idea (and TBH, I think this would be awesome for Folders as well since locality ie folders typically provide a huge amount of context; often the most important context in fact!!!) I'm not quite sure how the mechanics of this would work in the context of AEM/Oak search.

Don't mean to sound pessimistic :) and would love to hear any ideas that might make this feasible!

GL369 commented 6 years ago

Thanks David, it isn't pessimistic...just challenging. What about a Curated Cart? Some way for a persistant cart (not the same has sharing, but presented in the UI as an open grouping of assets? As an FYI, collections and / or Folders are coming up in our enhancement requets as well. There are many features in Author that Asset Managers / users "assume" will be in Publish. We need a way to set expectations and not stifle the hope or questions

davidjgonzalez commented 6 years ago

Here's a POC I have for DAM folder-based navigation/viewing ... I don't particularly like how the folders and assets look the "same" .. would be nice to get some UX support (or links to other sites that do this well even).

as you can see it's not complete and needs some polish, but the idea is to display the folders for the "current folder" and then the assets that meet the normal filter criteria.

https://youtu.be/_mwySFYoVVo

GL369 commented 6 years ago

Hey David, I think this is a step in the right direction. The growing need to share collections or folder like groups continues to be a request. Eager to see how this unfolds...

davidjgonzalez commented 6 years ago

Gary - what’s the idea for collection discovery (which is the precursor to sharing of course). Would users browse a list of collections? Search for collections (if so what’s the search criteria? Metadata if he collection? Assets contained therein?) would collections show as part of general search results? Or could they show up as a section of the result set? Would they have their own discovery mode (ie asset query-search is the default mode, the video I like shows adding a folder browse mode... would there be a 3rd mode for collections that looks like folder browse but is just a flat list of collections)

Then multiply this w smart collections which themselves are queries. There’s a ton of ways to skin this cat.. thoughts on what would work best for your use case?

GL369 commented 6 years ago

at’s the idea for collection discovery (which is the precursor to sharing of course). Would users browse a list of collections? Search for collections (if so what’s the search criteria? Metadata if he collection? Assets contained therein?) would collections show as part of general search results? Or could they show up as a section of the result set? Would they have their own mode that

Probably typical use case - but you can imagine that 90% of our Asset use is based on product/marketing flows that are calendar driven. It's cyclical (repeatable) and various teams need content at certain points of the process. So our teams rely on collections (Author) to group and share content with non-Authors. The Asset Manager may use search/folders/metadata values to create the collections and share with different end-users (for instance, a collection might be for merchant team that supports only women's tops and another collection for a team that is marketing the entire summer sale items that includes some of the women's tops, etc).

So yes, I think users would want to find a collection (search or shown as part of their access rights), browse the contents and determine if the content is right for their need(s) and take action (add to cart, download, share). I will ask, but I wonder if some collections are "persistent" - such as "women's tops" - it's possible that the Asset Managers (collection owners) continue to add/remove assets - but the end user keeps the same link?

For searching, couldn't we create a facet /schema for more common uses? I will consult with Art and the business...


From: david g. notifications@github.com Sent: Sunday, June 17, 2018 6:58:35 AM To: Adobe-Marketing-Cloud/asset-share-commons Cc: Gary Fox; Comment Subject: Re: [Adobe-Marketing-Cloud/asset-share-commons] Ability to surface/download Collections (#169)

Gary - what’s the idea for collection discovery (which is the precursor to sharing of course). Would users browse a list of collections? Search for collections (if so what’s the search criteria? Metadata if he collection? Assets contained therein?) would collections show as part of general search results? Or could they show up as a section of the result set? Would they have their own mode that

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAdobe-Marketing-Cloud%2Fasset-share-commons%2Fissues%2F169%23issuecomment-397880820&data=02%7C01%7Cgary_fox%40gap.com%7Cec1eb72e8d8540719b4508d5d45a6bd9%7C348a129655b6466ea7af4ad1a1b79713%7C1%7C0%7C636648407177477437&sdata=G82B4hPOM6myObEFw%2FWUKV247T6rkEsxs%2B9HudcuitM%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAfun6URORtuymxopY7sGphT68QdqpPXPks5t9mCLgaJpZM4THBCM&data=02%7C01%7Cgary_fox%40gap.com%7Cec1eb72e8d8540719b4508d5d45a6bd9%7C348a129655b6466ea7af4ad1a1b79713%7C1%7C0%7C636648407177477437&sdata=5JmQXA3ShO96f64PN8OcWFktcvTBegSCqJLHUe00BAc%3D&reserved=0.

kriden commented 5 years ago

Hi Guys,

has any progress been made on this enhancement request? We're having a client who would want the same or similar functionality.

davidjgonzalez commented 5 years ago

@kriden hi - AFIAK no ones worked on this issue. I think there are 2 main things that need to be done:

1) A way to publish Collections to AEM Publish (A WF step perhaps? This might be the easiest, least obtrusive way?) 2) A new Filter component that "wraps" the OOTB memberOf query builder predicate [1]

There are also considerations wrt to collection access (are only public collections allowed to be published, if not, how are collection access defined on author both sent to publish and respected on publish).

[1] https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/querybuilder-predicate-reference.html

kriden commented 5 years ago

As far as I understand the memberOf query predicate is a filter, which would entail that the performance will deteriorate when performing queries as this filter would is evaluated against the entire dataset ...

We've done a specific implementation for our client, with certain limitations. If you want more information on what we did for our specific use-cases I can elaborate.

anjuathakur commented 2 years ago

Did anyone implemented it for any client?

GL369 commented 2 years ago

2022 Update from my side - we haven't pursued this any further. However, we just moved to CS and have added more businesses to the Asset Share. It is a matter of time before we have a renewed interest/request. For now, they continue to use Author for this, but it is still of interest.

anjuathakur commented 2 years ago

2022 Update from my side - we haven't pursued this any further. However, we just moved to CS and have added more businesses to the Asset Share. It is a matter of time before we have a renewed interest/request. For now, they continue to use Author for this, but it is still of interest.

Thanks for the response! What is CS?

davidjgonzalez commented 2 years ago

CS is short hand for AEM CS which is short hand for AEM as a Cloud Service ... so CS = Cloud Service, in this context :)

anjuathakur commented 2 years ago

Guessed so, wanted to confirm. We are also on CS, this is blocker for us to go ahead with ASC and Share link has security concerns.

davidjgonzalez commented 2 years ago

Would you mind making a GH issue with the Share Link security concerns? FWIW - ASC's share functionality is rather rudimentary, in that it just sends an email w/ links to ASC. If the end-user doesnt have access what's on the end of those links, they cant access it.

davidjgonzalez commented 2 years ago

@GL369 have you thought about an acceptable UX for publishing Collections? That has historically been the "blocker" for not pursuing this in the ASC project (there's not OOTB way to get the Collections TO Publish, and we didn't want to start injecting buttons/actions into the AEM Authoring experience).

GL369 commented 2 years ago

So far, it's just a backlog story for us and we haven't explored possible solutions with the business. What if, it's not about publishing a collection form Author but making one on the Share similar to "cart" the only difference is that the 'collection" can live on and/or expire?

Perhaps, the concept of a collection on the Share is "community based" and something that any authenticated visitor can create/manage? I suppose it all depends on our publishing strategy - as in our case, it's all final & approved.

From: david g. @.> Sent: Monday, May 23, 2022 8:08 AM To: adobe/asset-share-commons @.> Cc: Gary Fox @.>; Mention @.> Subject: [External]Re: [adobe/asset-share-commons] Ability to surface/download Collections (#169)

@GL369https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FGL369&data=05%7C01%7Cgary_fox%40gap.com%7Cb915a16e735a4f3bf41e08da3ccdfa6b%7C348a129655b6466ea7af4ad1a1b79713%7C1%7C0%7C637889152614852083%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=4AOKIO8ZxDE596BVS8q7DTb9aOtRRRYcaFOrh1o%2FjAc%3D&reserved=0 have you thought about an acceptable UX for publishing Collections? That has historically been the "blocker" for not pursuing this in the ASC project (there's not OOTB way to get the Collections TO Publish, and we didn't want to start injecting buttons/actions into the AEM Authoring experience).

- Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fadobe%2Fasset-share-commons%2Fissues%2F169%23issuecomment-1134795480&data=05%7C01%7Cgary_fox%40gap.com%7Cb915a16e735a4f3bf41e08da3ccdfa6b%7C348a129655b6466ea7af4ad1a1b79713%7C1%7C0%7C637889152614852083%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=8Ocj9Xvun3qmzG90ZsauJsxzYqQinz5uB%2BZSy5BJoFQ%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAH52P2NXLHWGGRYTBRWKV2LVLONLVANCNFSM4EY4CCGA&data=05%7C01%7Cgary_fox%40gap.com%7Cb915a16e735a4f3bf41e08da3ccdfa6b%7C348a129655b6466ea7af4ad1a1b79713%7C1%7C0%7C637889152614852083%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FUclkbVSuXF5QpKipdJzmKZYZe%2BG36syCDpw%2FJI5aI0%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.**@.>>

Robedean commented 7 months ago

@davidjgonzalez Thought I'd try commenting on an old feature idea again since it worked for the PDF Reader :) Any updates on possibly getting collections to ASC? The Asset Kit Soluition doesn't quite fit the requirements of what a true collection is.

Thanks, Matt