shareUrl in Daily Notification
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2015 07:54 AM
Hello guys,
I was wondering what is the best way to change the daily activities notification template, meaning I want to change text that is being sent to the users via the email in the daily notification.
Maybe I need to change directly the template for this notification, if that's the case
Where is the template for it?
Regards!
I was wondering what is the best way to change the daily activities notification template, meaning I want to change text that is being sent to the users via the email in the daily notification.
Maybe I need to change directly the template for this notification, if that's the case
Where is the template for it?
Regards!
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2015 08:10 AM
I found where is those templates:
Login as Admin in Alfresco -> Go to repository -> Data directory -> Email Templates -> activities -> activities-email.ftl
However I was wondering where is stored this variable or more accuratly from where it takes its value:
shareUrl
which is located here in the code:
Login as Admin in Alfresco -> Go to repository -> Data directory -> Email Templates -> activities -> activities-email.ftl
However I was wondering where is stored this variable or more accuratly from where it takes its value:
shareUrl
which is located here in the code:
<tr> <td style="padding: 0px 30px; font-size: 13px;"> You can turn off notifications by clicking this link:<br /> <br /><a href="${shareUrl}/page/user/${personProps["cm:userName"]}/user-notifications">${shareUrl}/page/user/${personProps["cm:userName"]}/user-notifications</a></td></tr><tr>
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2015 04:14 AM
I think I resolved this.
Here what was the problem:
My users recieved email notification about the Recent Activities with wrong hyperlinks for the documents, that were uploaded in alfresco for the last 24 hours. Meaning:
They come with:
http://hostname.domain.com:8080/------
But they should come with:
https://hostname.domain.com:8443/-----
The resolution is:
The shareUrl link comes from the alfresco-global.properties:
share.host=hostaname
share.port=8443
share.protocol=https
If those parameters are with the right values, the shareUrl link will be with the right link.
Here what was the problem:
My users recieved email notification about the Recent Activities with wrong hyperlinks for the documents, that were uploaded in alfresco for the last 24 hours. Meaning:
They come with:
http://hostname.domain.com:8080/------
But they should come with:
https://hostname.domain.com:8443/-----
The resolution is:
The shareUrl link comes from the alfresco-global.properties:
share.host=hostaname
share.port=8443
share.protocol=https
If those parameters are with the right values, the shareUrl link will be with the right link.
