How do I programmatically retrieve all leads from a mailing list?
Solved! Go to Solution.
Hi,
Nodes under /home/users having this property will be leads
cq:authorizableCategory | String | mcm |
Nodes under /home/groups having this property will be List
cq:authorizableCategory | String | mcm |
Views
Replies
Total Likes
Hi There,
Thanks for reaching out to Adobe Community.
You might want to look at the below link which talks about programmatically accessing content through JCR API.
https://helpx.adobe.com/experience-manager/using/programmatically-accessing-cq-content-using.html
Thanks!
Views
Replies
Total Likes
Yes. That is a start. But how do I query mailing lists / lead?
It seems maling lists are located in home/groups and leads in home/users but what indicates whether the node is a mailing list or a lead?
And rather than querying JCR, I would much more prefer to do this using an API. I've been looking through http://docs.adobe.com/docs/en/aem/6-0/develop/ref/javadoc/ but still haven't figured out if/how to retrieve leads. NewsletterEmailService.createMailingList(String groupName, Session session) and then figure out how to get the group name?
Views
Replies
Total Likes
Hi,
Nodes under /home/users having this property will be leads
cq:authorizableCategory | String | mcm |
Nodes under /home/groups having this property will be List
cq:authorizableCategory | String | mcm |
Views
Replies
Total Likes