2 Replies Latest reply on Jun 13, 2018 8:27 AM by smacdonald2008

    Send AEM inbox programatically to a group

    sreekalyanip Level 1

      To send inbox notification programmatically for a user we can do as below.

               

                  ResourceResolver resourceResolver = resolverFactory.getResourceResolver(null);

                  InboxNotification inboxNotification = inboxNotificationSender.buildInboxNotification();

                  inboxNotification.setAssignee("admin");

                  inboxNotification.setTitle("Page Published");

                  inboxNotification.setMessage("The page has been Published");

                  inboxNotificationSender.sendInboxNotification(resourceResolver, inboxNotification);

       

      Is there any way we can send inbox notification to a group programmatically? I tried sendInboxNotifications but it is not happening.