I'm having some trouble mapping to a Rules
data field in Sitecore. I've got a rendering parameters template that has a data field named "Redirect Rules."
I'm using TDS and Glass to map the objects back to Sitecore. In the generated class, I get the following:
/// <summary>
/// The Redirect Rule field.
/// <para></para>
/// <para>Field Type: Rules</para>
/// <para>Field ID: 659373d6-c5c5-4851-aa1f-066f53218780</para>
/// <para>Custom Data: </para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Team Development for Sitecore - GlassItem.tt", "1.0")]
[SitecoreField(IMy_Name_Rendering_ParametersConstants.Redirect_RuleFieldName)]
public virtual object /* UNKNOWN */ Redirect_Rule {get; set;}
When I attempt to get the value of the "Redirect Rules" field in my view rendering via
GetRenderingParameters<My_Name_Rendering_Parameters>();
the "Redirect Rules"property is null. I have verified that the field is populated with rules by examining it in the Experience Editor.
Any clue to what might be going on?