Legacy Knowledge Base
Published Jul. 2, 2025

Alerts appearing on every site, even when Distribution Scope set to a specific site

Written By

Justin Mann

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

When using the Alerts widget, even when the Distribution Scope for an Alert is set to a specific site, the Alert appears on every site that the user visits. Also, guest users visiting the site specified in the Distribution Scope do not see the Alert.

Environment

  • Liferay DXP 7.3

Resolution

  • The distribution scope chosen when using the Alerts widget for an Alert correlates with the membership and roles that the users possesses in relation to that site, and not the actual site itself that is specified in the Distribution Scope, or the site where the Alerts widget is located.
  • For example, if an alert widget is placed on a page in Site A, and an Alert is created with a Distribution Scope pointing to Site A, this alert will appear in every site that has a page that has the Alert widget for any user that is a member of Site A. Any users belonging to Site A will see the alert on any page that has the Alert widget, regardless of what site the widget is on because they are members of that site.
  • This is the same reason that guest users visiting Site A will not see the Alert, as they are not members of Site A
  • If it is desired to limit an Alert-type post to a specific site, the Announcements widget would be better suited for that use case.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base