You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your OSGi Service class, inject instance of 'InboxNotificationSender'(com.adobe.acs.commons.notifications.InboxNotificationSender)
Invoke 'buildInboxNotification()' method on above injected class to get 'InboxNotification' instance
InboxNotification inboxNotification = inboxNotificationSender.buildInboxNotification()
Populate the 'InboxNotification' instance with your details
inboxNotification.setTitle("Hello World");
inboxNotification.setContentPath("/my/sample/path");
inboxNotification.setAssignee("AEM-USER-PRINCIPAL-NAME");
inboxNotification.setMessage("Greetings of the day!");
inboxNotification.setNotificationActions("Approve");
Invoke 'sendInboxNotification()' method on Step-1 injected object, like
Sample code using TaskManager and Tasks
@SachinMali has example codes
The text was updated successfully, but these errors were encountered: