Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-135732

Add "Distribution Scope" parameter available in Announcement's email template

    Details

      Description

      Background
      Announcement's email template allow the following variables:

      [$COMPANY_ID$]
      [$COMPANY_MX$]
      [$COMPANY_NAME$]
      [$ENTRY_CONTENT$]
      [$ENTRY_ID$]
      [$ENTRY_TITLE$]
      [$ENTRY_TYPE$]
      [$ENTRY_URL$]
      [$FROM_ADDRESS$]
      [$FROM_NAME$]
      [$PORTAL_URL$]
      [$PORTLET_NAME$]
      [$SITE_NAME$]
      [$TO_ADDRESS$]
      [$TO_NAME$]
      

      AnnouncementsEntryLocalServiceImpl.java#L626-L659

      Issue
      If "Distribution Scope" is set to a specific site, the site name can be retrieved with [$SITE_NAME$].

      But if "Distribution Scope" is "General" (or to a specific Role), it is not possible to display the distribution scope in the email template and have the user be aware of where the notification comes from.

      Request
      Add new [$DISTRIBUTION_SCOPE$] variable to be used in email template.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            jordi.rodo Jordi Rodó
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package