AnsweredAssumed Answered

New file notification

Question asked by Simon Yecme on Jun 28, 2017
Latest reply on Jul 4, 2017 by douglascrp

Hello, we recently moved from Alfresco 3.2 to the latest 2017 one. Now we are trying to recreate rules from the old Alfresco, and we did not manage to have "new file notification by email" properly working. In Alfresco 3.2 it was:

 

....

You can view it through this link:
${url.serverPath}/alfresco${document.url}

Or through the Alfresco client:
<#assign ref=space.nodeRef>
<#assign workspace=ref[0..ref?index_of("://")-1]>
<#assign storenode=ref[ref?index_of("://")+3..]>
${url.serverPath}/alfresco/navigate/browse/${workspace}/${storenode}

....

But ${document.url} and all the code to get ${workspace} and ${storenode} does not work anymore.

From the new templates I guess that ${document.url} is now substituted by  ${document.shareUrl}, but what about ${workspace} and ${storenode}? Do you have any clue?

Outcomes