내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Send AEM inbox programatically to a group

Avatar

Level 4

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.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi

sendInboxNotifications uses Task API to send inbox notification and Task Class contains method to send notification only owner

void setCurrentAssignee(String ownerId)

Task ("The Adobe AEM Quickstart and Web Application.")

acs-aem-commons/InboxNotificationSenderImpl.java at master · Adobe-Consulting-Services/acs-aem-commo...

Adobe Experience Manager Help | Developing for Task Management in AEM 

You can develop your own Class and implements sendInboxNotifications to override in order to pass group and get All user within group and loop through to send notification to all.

Thanks

Arun

Arun Patidar

AEM LinksLinkedIn

원본 게시물의 솔루션 보기

2 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi

sendInboxNotifications uses Task API to send inbox notification and Task Class contains method to send notification only owner

void setCurrentAssignee(String ownerId)

Task ("The Adobe AEM Quickstart and Web Application.")

acs-aem-commons/InboxNotificationSenderImpl.java at master · Adobe-Consulting-Services/acs-aem-commo...

Adobe Experience Manager Help | Developing for Task Management in AEM 

You can develop your own Class and implements sendInboxNotifications to override in order to pass group and get All user within group and loop through to send notification to all.

Thanks

Arun

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 10

Great answer!