public override IDictionary<string, FieldMetadata> GetFieldMetadata()
{
var fmd = base.GetFieldMetadata();
fmd.Add("ReenterTitle", new FieldMetadata
{
FieldName = "ReenterTitle",
PropertyType = typeof(string),
FieldType = DynamicContentTools.GetSuggestedFieldType(typeof(string)),
DisplayName = "ReenterTitle",
CanRead = true,
CanWrite = true
});
fmd.Add("ReenterDescription", new FieldMetadata
{
FieldName = "ReenterDescription",
PropertyType = typeof(string),
FieldType = DynamicContentTools.GetSuggestedFieldType(typeof(string)),
DisplayName = "ReenterDescription",
CanRead = true,
CanWrite = true
});
fmd.Add("PasswordHistoryLength", new FieldMetadata
{
FieldName = "PasswordHistoryLength",
PropertyType = typeof(int?),
FieldType = DynamicContentTools.GetSuggestedFieldType(typeof(int?)),
DisplayName = "PasswordHistoryLength",
CanRead = true,
CanWrite = true
});
return fmd;
}