cancel
Showing results for 
Search instead for 
Did you mean: 

shareUrl in Daily Notification

borisstankov
Champ in-the-making
Champ in-the-making
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!
2 REPLIES 2

borisstankov
Champ in-the-making
Champ in-the-making
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:

<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>

borisstankov
Champ in-the-making
Champ in-the-making
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.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.