Developer forum

Currently discussing: Plans to implement a Consent module for GDPR compliance.

Join the discussion!

Forum » Templates » Example on MailProvider with ItemCreator?

Example on MailProvider with ItemCreator?

Claus Kølbæk
Reply

Hey

I am messing around abit with RenderItemCreationForm - and can see it takes a Provider as a setting (https://doc.dynamicweb.com/api/html/00986dc5-3297-b451-2dde-8753406a4db6.htm) - and wondered if you had a simple example of the use of it? - For sending a mail & receipt on submit.

Replies

 
Nicolai Pedersen
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Claus

You cannot inject a provider using that method I am affraid. The provider is a simple string, but the settings related to that is XML and cannot be injected with this...

BR Nicolai

Votes for this answer: 1
 
Claus Kølbæk
Reply

Hi Nicolai

Thank you for your reply. I guess this means that there is no easy way to trigger sending a mail on item creation by using the RenderItemCreation, too bad.

 

You must be logged in to post in the forum