Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

Email Templates Topic is solved

Questions related to using nuBuilder Forte.
Post Reply
ricklincs
Posts: 117
Joined: Mon Aug 01, 2011 5:39 pm
Has thanked: 38 times

Email Templates

Unread post by ricklincs »

I have added the the below email template:

I then added the below php code to the Custom Code after save in Form Properties :

When I save the record a popup saying Unknown email template! appears! I have checked zzzzsys_email_template and the email template exists.

Any ideas?
php after save code.PNG
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4565
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 529 times
Contact:

Re: Email Templates

Unread post by kev1n »

Try passing the language (in your case blank) and the group code too:

Code: Select all

nuGetEmailTemplateData("example_template", '','TEST');
ricklincs
Posts: 117
Joined: Mon Aug 01, 2011 5:39 pm
Has thanked: 38 times

Re: Email Templates

Unread post by ricklincs »

Brill thanks Kev1n, works a treat.
Post Reply