Hi Everyone,
I'm looking for ways to create collection that is not public using the ResourceCollection API (or without it). I'm able to crate once that are Public and then the user can convert them to private using the Settings menu but I'm looking for a way to do it programmatically. Is there any API for that? I see that all private collections have 4 allow access control entries and 3 user groups are being created for each (<name>, <name>-owner, and <name>-editor). I tried replicating all that but wasn't very successful.
Any help would be be greatly appreciated.
Thank you,
Bobby
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Bobby,
I see this as per AEM 6.4
I have 3 collections as shown here
in which only 'parent-child' is the public collection.
So when you look at the JCR,
there is a node called 'public' under /content/dam/collections and only that public collection is present under this node. So as long as you dont create the collection under 'public' folder, it shouldnt be public.
Having said that, I dont think we have direct option in the API to control this.
Views
Replies
Total Likes
I am not clear what you are trying to do. Please point to the related AEM docs you are following here.
Views
Replies
Total Likes
The only information I found was this.
I can successfully create the collection but can not make it not Public.
ResourceCollection ("The Adobe AEM Quickstart and Web Application.")
ResourceCollectionManager ("The Adobe AEM Quickstart and Web Application.")
Thanks again.
Views
Replies
Total Likes
A DAM collection - that is much clearer. I will inquire about this. I am not sure we have any examples on this.
Views
Replies
Total Likes
Hi Bobby,
I see this as per AEM 6.4
I have 3 collections as shown here
in which only 'parent-child' is the public collection.
So when you look at the JCR,
there is a node called 'public' under /content/dam/collections and only that public collection is present under this node. So as long as you dont create the collection under 'public' folder, it shouldnt be public.
Having said that, I dont think we have direct option in the API to control this.
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi All , did we get a solution here how to create private collection programmatically.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies