Hello Friends,
We have a requirement, where we need to have Folder-Subscription-Functionality in DAM. For example:
A user should be able to select images and folders and be able to subscribe/un-subscribe to/from getting notifications.
A user should receive push notifications(and email notification) when images are uploaded to a specific folder.
My understanding is that there is no such OOTB capability as in AEM6.1. Please confirm.
Any pointers to how to approach developing such a capability would be highly appreciated.
Solved! Go to Solution.
You can place a node in the JCR - for example -- under /etc or /content. THis node that represents a user whom are subscribes to a DAM notification. I would place a node for each person to notify (ie -DamSubNodes_userName). Each node can have an email prop. When a DAM asset is uploaded, then the event handler can read the DamSubNodes nodes, read all of the email props and then email the users.
Now to mange the DamSubNodes -- you can add a new tool in Touch UI that will let you manage the DamSUbNodes, This is part of the flexibility of AEM. You can add new views and new UIs to perform specific business requirements. We have a community article that shows how to do this, That is - how to add a new View in AEM TOuch UI and have a new Menu option under TOols. See this community article:
https://helpx.adobe.com/experience-manager/using/vanitypath.html
This example - the use case is Vanity URLS. For your use case - make it accept new subscribers.
Then have the Backend Java service manager the JCR Nodes that represent the DamSUbNodes. THat is - it can add, remove, and retrieve them, IN the UI - have the page mange them - like how we manage Vanity URLs in the above article.
Hope this helps you....
Hello Friends,
I found this https://docs.adobe.com/docs/en/aem/6-1/author/author-environment/inbox.html#Subscribing to Notifications
But this seems only available for Classic UI. Is this capability available in Touch UI?
Thanks
Views
Replies
Total Likes
Yes some features are not available in touchUI and this seems one of them. One way to achieve the functionality is by implementing event listeners and triggering email is thats feasible in your case.
Thanks,
Samir
You can go for workflow launcher
Create separate launcher and based on criteria..and configure it
https://docs.adobe.com/docs/en/aem/6-1/administer/operations/workflows/wf-start.html
adobeaemclub.com/publish-assets-on-modification-using-workflow-launcher-in-aem
Thanks @edubey & Samir for you suggestions guys.
Yes Event-Listeners/Launchers were what I planned to tackle this with. But mainly my request was around any pointers regarding developing Subscription functionality.
Ideally on event triggering, emails can be shot out to the whole user-group that has some role on a specific folder in dam. But the need here is that users should be allowed to subscribe and unsubscribe to notifications specific to specific folders. Now this is also 2 part:
1. Where to make the user to act ? Subscribe & Unsubscribe - Allow at folder level in dam or at some central location like the Notifications-Inbox
2. Where to save the subscription/un-subscription data for every user in the repo. At dam folder level or user-level
I know this has become more of a solutioning question rather an issue. :) Apologies for that. Was hoping if someone had tried something of this kind previously. And another reason was raising this topic here was, coz someone with great confidence told me this is OOTB in 6.1. :) That someone is nowhere to be found now. :)
Views
Replies
Total Likes
Event handler is an excellent answer - that is exactly what i was going to suggest!!
Views
Replies
Total Likes
You can place a node in the JCR - for example -- under /etc or /content. THis node that represents a user whom are subscribes to a DAM notification. I would place a node for each person to notify (ie -DamSubNodes_userName). Each node can have an email prop. When a DAM asset is uploaded, then the event handler can read the DamSubNodes nodes, read all of the email props and then email the users.
Now to mange the DamSubNodes -- you can add a new tool in Touch UI that will let you manage the DamSUbNodes, This is part of the flexibility of AEM. You can add new views and new UIs to perform specific business requirements. We have a community article that shows how to do this, That is - how to add a new View in AEM TOuch UI and have a new Menu option under TOols. See this community article:
https://helpx.adobe.com/experience-manager/using/vanitypath.html
This example - the use case is Vanity URLS. For your use case - make it accept new subscribers.
Then have the Backend Java service manager the JCR Nodes that represent the DamSUbNodes. THat is - it can add, remove, and retrieve them, IN the UI - have the page mange them - like how we manage Vanity URLs in the above article.
Hope this helps you....
For giving users the provision to subscribe/unsubscribe, only possible way which I can think of right now is customizing it. You will need to do lot of homework on how the notification menu in notification box is being rendered in the Touch UI and similarly you can write over adventurous ExtJS to achieve a similar functionality by displaying a similar dialog like the one that coming in touch UI and then from extJS call some servlet and do some stuff to store those values(I will prefer under user nodes) because there may be lot of users.
Now point to note is even with this approach we will need listeners,only thing is this way atleast you can give users to subscribe and unscubscribe themselves.
Also please check if this is not an overkill for your requirement as this will take in a lot of effort and going forward in future with such enormous customizations even upgrade and all will also become hectic. And atlast if you are able to create such a functionality please create a package and share with us all so that we can also use that in future.
Thanks,
Samir
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies