I'm using Alfresco 5.2 Community. I'm trying to edit the wf-email.html.ftl file found in Repository> Data Dictionary> Email Templates> Workflow Notification> wf-email.html.ftl. In the line
<p>Hi,</p>
I want to add the recipient's name in the message, something like
<p>Hi John,</p>
Is this possible? If yes, how is it achieved?
bump
May be a hint, If you look at the template args here: https://github.com/Alfresco/alfresco-repository/blob/master/src/main/java/org/alfresco/repo/workflow...
You will see that username/email or any such info is not passed to the email template "wf-email.html.ftl":
You may have to extend: WorkflowNotificationUtils class to pass the argument and update the wf-email.html.ftl template to consume the argument.
Assigned authorities are availabel in this "assignedAuthorites" variable which comes as input to sendWorkflowAssignedNotificationEMail method.
There may be other ways too, so see if someone else can also provide any directions.
@abhinavmishra14 How Can I extend WorkflowNotificationUtils.java ?
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.