Custom workflow using Email Template - Umbraco Forms 10
Hi,
How can I use the EmailTemplatePicker in a custom workflow for Umbraco Forms v10? I have the workflow and everything setup but I'm not sure how to use the selected Razor template as email content. I used to be able to do this:
record.ParseWithRazorView(filePath);
but it looks like that method is not available anymore. I couldn't find anything in the documentation on that specific matter.
Anybody that could provide any assistance with that is be much appreciated.
I figured this out. The solution was to have you class inherit from : SendRazorEmail. Then inside your method create a new workflow and execute that workflow to send the custom razor email:
Custom workflow using Email Template - Umbraco Forms 10
Hi,
How can I use the EmailTemplatePicker in a custom workflow for Umbraco Forms v10? I have the workflow and everything setup but I'm not sure how to use the selected Razor template as email content. I used to be able to do this:
but it looks like that method is not available anymore. I couldn't find anything in the documentation on that specific matter.
Anybody that could provide any assistance with that is be much appreciated.
Thanks, Hannes
I figured this out. The solution was to have you class inherit from : SendRazorEmail. Then inside your method create a new workflow and execute that workflow to send the custom razor email:
is working on a reply...