This commit is contained in:
2020-01-16 21:13:41 +00:00
parent f7a8a5bcba
commit 488714b23f
3 changed files with 17 additions and 3 deletions

View File

@@ -30,7 +30,8 @@ namespace AyaNova.Biz
Decimal = 7,
Currency = 8,
Tags = 9,
Enum = 10
Enum = 10,
EmailAddress = 11
}
}

View File

@@ -23,6 +23,7 @@ namespace AyaNova.Biz
//For objects that are compound list objects or reporting objects it's whatever uniquely but clearly identifies that and ends in _LIST
public const string WIDGET_KEY = "widget";
public const string USER_KEY = "user";
public const string USER_EMAIL_ADDRESS_LIST_KEY = "UserEmailAddress";//for development testing, not a real thing going forward
public static List<string> AvailableObjectKeys
@@ -214,6 +215,12 @@ namespace AyaNova.Biz
l.Add(new ObjectField { Key = "UserCustom15", PropertyName = "UserCustom15", Custom = true });
l.Add(new ObjectField { Key = "UserCustom16", PropertyName = "UserCustom16", Custom = true });
break;
case USER_EMAIL_ADDRESS_LIST_KEY:
#region USER_EMAIL_ADDRESS_LIST_KEY
l.Add(new ObjectField { Key = "df", AyObjectType = (int)AyaType.User });
l.Add(new ObjectField { Key = "Name", PropertyName = "Name", SharedLTKey = true, DataType = (int)AyaDataType.Text, Hideable = false });
l.Add(new ObjectField { Key = "UserEmailAddress", PropertyName = "Emailaddress", DataType = (int)AyaDataType.EmailAddress, SqlColumn="emailaddress" });
break;
#endregion
@@ -349,7 +356,7 @@ namespace AyaNova.Biz
}
}
}