Sitecore's Webforms for Marketers (v2) Gotchas
2010-01-15 | SitecoreI've recently been doing some work with the Web Forms for Marketers (2.0) module and I must say I was presently surprised! The first version of this module was a rather good first pass, but it typically came up short when we wanted to use it. Version 2 is a big step forward and we are just about to launch a site using it. While it is a great package, and I recommend everyone check it out, it does have some "gotchas."
- Don't have your designer/front-end-guy cut up their design just yet. The markup that the tool generates is rather complex and it would be easier for you (the developer) to quickly configure the form, preview it, and give that to the front-end-guy as a starting point.
- File uploads are placed in the 'master' database. Not appropriate for all production environments where the front end servers do not have access to that database.
- CreateItem save action is also created in the 'master' database.
- A DropList that is populated from a Sitecore tree will show values even though they don't have a version in the context language. (workaround)
A little UI 'hack' I can pass on is if you need to add some simple formatting in between 'fieldsets' try massaging the actual items of the form. For instance, manually add in a "Form Section" to the form. Give it a special CssClass in the Parameters field and style that as needed.
While I am sure there are more gotchas then what I listed here, these are the ones that stick out in my mind.
Comments
2010-01-18T18:43:06.0000000Z
I must disagree with your "gotchas". First of all the module is oriented to users who are not developers. It can explain their designer tool and markup structure. I believe the most of customizations can be reached using CSS. I have done it several times and seen a lot of such examples in live sites. 2 and 3 are rather good solutions for the master - slave environment. As far as I know those "gotchas" are premeditated steps to make “web forms” support the “Sitecore staging” module. I would not advise using versioning for list controls at all. I entirely approve of their acquiring items as Sitecore item names. Such a way assures that values in list items are immutable. I guess the feature that you really need is multilanguage. It would be great if list items could be localized. I believe Sitecore is either thinking or even implementing it now.