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.

Could not find configuration node: /sitecore/wffm/wffmActionExecutor


One of my colleague was working on WFFM and starting to face error "Could not find configuration node: /sitecore/wffm/wffmActionExecutor".
 
He was unable to log-in into Sitecore environment due to this error.
He tried it to fix for an hour but unable to resolve it.

He called me to help him to resolve this error.

I asked him what exactly he did today with WFFM related files? He told me several changes he done related with WFFM since morning.

Solution: -

I checked all possible changes done by him and found one of the change was culprit for this error. 

He disabled the file "Sitecore.WFFM.Dependencies.config" by renaming it.

When I remove “.disabled” word from this config file "Sitecore.WFFM.Dependencies.config", he didn't get this error and able to login into Sitecore environment.
 
I hope you found this Sitecore tip handy. Don’t forget to leave your comments below!