Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Sending Community Messages & Notification

grannumt
Level 1
Level 1

Hello Community,

We have a requirement to send User's Messages/Notifications based on certain actions happening within our back-end, 6.4.4. Such as an approval or denial of certain request, or sending out update messages. Is there a way to make use of the Messaging API in order to dynamically send messages to Community Users?

Current approaches aware of:

  1. Task/Touch UI messages/ AEM notification inbox. - This does not meet our requirement that needs the community user to see their message from the Published Site.
  2. Custom Social Event. - Our current implementation of the component is the HTL/USE-Pojo. We did not go through the route of extending SocialComponent, so do not have a resource the SocialEvent is looking for. Unless there is a way to make use of this approach within our current Sling Model/Servlet. https://helpx.adobe.com/experience-manager/6-4/communities/using/events.html#EventsforCustomComponen...
  3. Custom Workflow Steps/E-mail - We'd like to make use of the built-in Messaging and/or Notification system as much as possible without sending the User messages outside of the system as much as a possible (unless they set that configuration).

To summarize:

We have an component based on HTL/USE-Pojo, and is looking for a way to send Community Messages to User's on the Publish site from within our Servlet that manages the request.

Note:

Did find within the Java Doc an Interface MessagingOperations from package "com.adobe.cq.social.messaging.client.endpoints", yet cannot find any examples of what the parameters are expecting as values (I.E: what props should be in the Map, ClientUtilities, or what should the SlingHttpServletRequest should include):

https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/javadoc/co....


Thank you!

0 Replies