AnsweredAssumed Answered

How to create an object that can be used in email templates

Question asked by hiten.rastogi on Jan 9, 2018
Latest reply on Jan 10, 2018 by hiten.rastogi

Hi,

 

I am want to replace Alfresco in OOTB email templates with my custom name let say ABC.

As I might need to do for many clients, replacing Alfresco from all the email templates every time for each client doesn't seems feasible, hence I want to replace it with an object that can be used as placeholder for the clients name similar to shareUrl object in the email templates

 

E.g.

in following-email.html.ftl we have a line Sincerely Alfresco I want replace it with Sincerely ${myObject} this myObject will contain the name of the client ABC.

 

myObject value will be defined in alfresco-global.propsand the templates will be bootstrapped using ImportComponentModule.

 

 

Thanks

Hiten Rastogi

 

 

Outcomes