Category Sitecore

Saving WFFM form data programatically in Sitecore WFFM 8.1 +

This post is applicable to this WFFM version: https://dev.sitecore.net/Downloads/Web%20Forms%20For%20Marketers/Web%20Forms%20For%20Marketers%2081/Web%20Forms%20For%20Marketers%2081%20Initial%20Version/Release%20Notes private void SaveToDatabase(ContactFormArgs args, Item blog) { try { var formId = Config.BlogConfig.GetFieldValue(“WebFormId”).ToID(); var formItem = Sitecore.Context.Database.GetItem(formId); if (formItem == null) return; var fields = formItem.Children.ToList(); var list = new List { GetField(“FirstName”, args.FirstName, fields), GetField(“LastName”, args.LastName, fields), GetField(“Email”, args.Email, fields), GetField(“Question”, args.Question, fields), GetField(“BlogName”, blog.GetTitle(), […]

How to turn off Sitecore Publishing Service in Sitecore 8.2

Sitecore Publishing Service is the new sitecore 8.2’s publisher. It’s more efficient and comes with it’s own publishing dashboard. More information can be found in: https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service.aspx There are times however that you might want to go back to the classic publishing service. Here’s the step by step instruction on how to do this: 1. Locate […]