WFFM 8.0 - Save to Database action missing

主宰稳场 提交于 2019-12-10 18:59:33

问题


I have just installed Web Forms For Marketers 8.0 and do a test form. Trying to select Save to Database from the list of action but it is not there. Also, I have checked /sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions but it is not there as well.

Why did they remove saving to database? How do I return it back again (as that is a requirement on my existing project?


回答1:


First of all, you should not worry about, saving to SQL database is still there.

What happened is that Sitecore have removed Save to Database action definition item, but not the functionality itself, so as soon as you have restored WFFM database and set up correct connection string - that will work for you.

Please note that config has changed, now there are 3 config files:

Sitecore.Forms.config
Sitecore.Forms.MVC.config
Sitecore.Forms.Xtune.CD.config

The first one has a setting that sets name of connection string, like below:

<setting name="WFM.ConnectionString" value="wfm" />

So now you store you forms connection string along with the rest of connection strings in the Include\ConnectionStrings.config file.

Here is an article about WFFM 8.0 and Remark 4 from there answers exactly what you've asked.

Hope this helps!




回答2:


Web Forms For Marketers for Sitecore 8 work in a slightly different way comparing to older versions of WFFM.

Now, every time user fills a form, when session of this user expires, form data is stored in Mongo and then it's processed into SQL Server reporting database (see the script inside WFFM package to see what tables are created).

You can see the WFFM reports from Sitecore Desktop, Sitecore Content Editor and other places where you have links to the reports.

I know that some people don't like the new version of reports. You can easily reuse Web Forms for Marketers 2.5 - SQL PROVIDER (SaveToDatabase) module if you need other ways of reporting - you just need to download sources, fix some namespaces, add restore wfm database from the older version of WFFM.



来源:https://stackoverflow.com/questions/32724617/wffm-8-0-save-to-database-action-missing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!