Control Users Publishing Options via Sitecore Security Policies
As with most go-lives a showstopper ticket comes in just as you feel like you can finally go live. Fortunately the issue came in didn’t require a new release only some digging around in Sitecore and learning about a lesser known feature
Sitecore 8 Content Testing
Anything with the codename Skynet immediately gets my attention so I dug into Sitecore’s Content Testing. Essentially Content Testing can learn from AB and Multivariate tests to suggest changes and create tests which can improve conversion rates, engagement values, site usage. So lets create some robotic Overlords!
How to Add Content Testing to Sitecore Workflow
To give the option to Content Test in workflow you need to create new Workflow Commands under a new or existing Workflow State, commonly the State before Item is publishable. In this example, the Content Test will be created on the Review State before the Item is moved to the Approved State for publishing.
Sitecore Personalization – Dynamic functionality
In past Quick Start Guides I covered how to get Sitecore Personalization working and how to create dynamic content. This post will outline how to dynamically swap-out components and how Visitor Tags and .NET roles of users can be used to automatically show functionality and content most suited to them.
Update: I have since released this as a Sitecore Marketplace Module for download. Improvements I have made and the full source code are available in this recent blog post
MIME Type Custom Form Validator
I was recently working on methods to validate files uploaded by End Users and the usual recommendation of checking the file extension didn’t sit right with me, even more so when I found out that the .NET API ultimately just checks the File extension as well.
So the product a mornings work I’ve written a decent method of checking those upload files are what they say they are. In this case I created a Custom Sitecore WFFM Field Validator but its simple enough to port the code to custom web forms. Hopefully another dev will find this suitable as an alternative method.
Sitecore Personalisation – Automatically changing content
In the previous post I covered how to get personalization working correctly for your site. Now its time to start doing something exciting.
With Personalization working the next step is to structure your content so that it is in the form of reusable blocks and develop Sitecore sublayouts to dynamically display these blocks of content.
In this post I’ll go over the basics to achieve this and get you giving personalised experiences like a pro.
Sitecore Personalisation – Getting it working
I’ve been browsing around Sitecore forums and resources and there are often devs posting about Personalization not working working for their site or how to customise their site in a given scenario.
The thing is the former is fairly straight forward with a little guidance and the latter can be achieved with some knowledge and examples. Therefore I thought I’d help the community out by posting a short series of Quick Start Guides on everything from getting Personalization working to dynamically changing content and altering the site based on conditions.
I’ll start with everything that you need to do to get Personalization working in your site.
Webforms for Marketers Captcha not displaying
I recently developed a custom Web Forms field to allow users to upload photos taken on their mobile device via Web Form for Marketers. The client is pretty high-profile so a part of the requirement that they have some form of protection of repeat uploads from exhibitionists in their community shall we say. Easy, the Captcha field will meet this requirement, however there is an infuriating issue where the captcha image doesn’t display.
Send Email with Attachment Custom Save Action
I was surprised that Web Forms for Marketers does not come with a send email with attachment Save Action by out of the box. Fortunately it can be achieved with custom code based on the existing Send Email Save Action.