Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Email Templates Topic is solved

Questions related to using nuBuilder Forte.
Post Reply
ricklincs
Posts: 107
Joined: Mon Aug 01, 2011 5:39 pm
Has thanked: 33 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: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 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: 107
Joined: Mon Aug 01, 2011 5:39 pm
Has thanked: 33 times

Re: Email Templates

Unread post by ricklincs »

Brill thanks Kev1n, works a treat.
Post Reply