November Happy Hour will be moved to Thursday December 5th.

Prevent submissions being saved in EPI

Vote:
 

We want to create EPI Forms to submit data to an external webservice. For this we hook in into the FormsSubmissionFinalized event and then build up a connection to an external service and submit the data. This works like a charm. However because of legal requirements we're not allowed to save the data into EPI. Is there a way to disable storage of EPI Forms submissions in EPI database?

#198120
Oct 22, 2018 13:35
Vote:
 

Hey Jeroen

You can always uncheck the "Store form submissions" in the form settings:

http://webhelp.episerver.com/latest/addons/episerver-forms/creating-a-form.htm 

David

#198126
Edited, Oct 22, 2018 14:51
Vote:
 

Thnx, that is at least per form a solution. But unfortunately then content editors can still enable it. Is there also a way to force it on the whole epi instance?

#198127
Oct 22, 2018 14:56
Vote:
 

You can use admin mode > [Forms] Form container > AllowToStoreSubmissionData

Then uncheck "Display in edit view" and ensure the default is false

Note: It may get reset when you redeploy (I've not tested it) so you can create an init module to ensure the state is kept the way you would like it if so

#198128
Edited, Oct 22, 2018 14:59
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.