Hi,
I want to use the 'Save a Draft Email' functionality from Geometrixx Finance. I've copied over the respective JS, the workflow and the ecma script that triggers a call to com.adobe.aem.geometrixx.finance.NewsletterUtil. This java class puts out a request to search for 'authorizables' with the email address which was entered into the form - http://localhost:4502/bin/security/authorizables.json?filter=myEmail@com - The search seems to only work for already existing users (e.g Aaron McDonald) but the search comes back empty when I either add a new user with the email or if I change the email address of an existing user.
Does anyone know why and how I can make this work? What exactly does the triggered servlet do? Which AEM package contains this servlet in order to have a look?
Any help is very appreciated. Thanks,
Alex
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
Try with the following servlet - http://localhost:4502/libs/granite/security/search/authorizables.json?query={%22condition%22:[{%22eq....
The URL which you are trying does not search for email property but rather search only for user id/name. The default users which you are able to search are created with email addresses as their Ids.
Views
Replies
Total Likes
Reference documentation - https://docs.adobe.com/docs/en/cq/5-5/javadoc/com/adobe/granite/security/user/servlets/AuthorizableS...
Views
Replies
Total Likes
Awesome - Thanks :)
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies