Liferay 7 Document Library + Liferay Sync + Email Notification

thumbnail
Mohammed Rawoof Shaik, modified 7 Years ago. Junior Member Posts: 37 Join Date: 9/25/16 Recent Posts
<p>Hello LR Community,</p>

<p>Background:</p>

<p>I'm running Liferay Community Edition Portal 7.0.3 GA4. When I upload a file manually to the Document Library, the users subscribed to the folders/files get an email notification. This validates that the mail server configuration is correct. I have setup Liferay Sync v3.4.4 GA on a windows system that gets files updated by various programs, and these files are further synced to the Document Library. However the users subscribed to these folders/files aren't getting email notifications of the changes made to the folders/files by Liferay Sync.</p>

<p>Requirement:</p>

<p>When folders/files are changed(i.e., added/updated/deleted) by Liferay Sync, I require an email notification to be sent to the subscribed users, as it does when the change is made manually by a user. How do I go about this?</p>
thumbnail
Jorge Díaz, modified 7 Years ago. Liferay Master Posts: 753 Join Date: 1/9/14 Recent Posts
When I upload a file manually to the Document Library, the users subscribed to the folders/files get an email notification.
....
 However the users subscribed to these folders/files aren't getting email notifications of the changes made to the folders/files by Liferay Sync.

That behavior can be a bug, try upgrading to last Liferay version.

 

As a workaround, you can implement your own DLFileEntry / DLFolder model listener that sends the email to subscribed users.