Surendra Sharma

Surendra Sharma

Search This Blog

Friday, December 30, 2016

How not to save WFFM data into Sitecore database

For one of our client, we are saving WFFM form data into Sitecore database as well as in external database. However client asked us that not to save forms data into Sitecore for security reasons so that content editors can’t able to view this data by any way.

To achieve this, follow below steps to stop saving WFFM data into Sitecore database

  • Comment out connection string with the name “wffm” in the ConnectionStrings.config file, located in the \Website\App_Config folder.
  • Specify the default provider: analyticsFormsDataProvider under formsDataProvider configuration node in the \Website\App_Config\Include\Sitecore.WFFM.Dependencies.config file as

 <formsDataProvider ref="/sitecore/wffm/analytics/analyticsFormsDataProvider"/>

I hope you found this Sitecore tip handy. Don’t miss to share your feedback on this.

Wish you all a very happy new Year 2017.

No comments:

Post a Comment