Final (?) de-widgetification
This commit is contained in:
@@ -60,40 +60,6 @@ namespace AyaNova.Biz
|
||||
/* ***************************** WARNING: Be careful here, if a standard field is hideable and also it's DB SCHEMA is set to NON NULLABLE then the CLIENT end needs to set a default
|
||||
***************************** Otherwise the hidden field can't be set and the object can't be saved EVER
|
||||
*/
|
||||
#region WIDGET_KEY
|
||||
{
|
||||
List<FormField> l = new List<FormField>();
|
||||
|
||||
l.Add(new FormField { TKey = "WidgetSerial", FieldKey = "Serial" });
|
||||
l.Add(new FormField { TKey = "WidgetCount", FieldKey = "Count" });
|
||||
l.Add(new FormField { TKey = "WidgetDollarAmount", FieldKey = "DollarAmount" });
|
||||
l.Add(new FormField { TKey = "WidgetStartDate", FieldKey = "StartDate" });
|
||||
l.Add(new FormField { TKey = "WidgetEndDate", FieldKey = "EndDate" });
|
||||
l.Add(new FormField { TKey = "User", FieldKey = "UserId" });
|
||||
l.Add(new FormField { TKey = "UserType", FieldKey = "UserType" });
|
||||
l.Add(new FormField { TKey = "WidgetNotes", FieldKey = "Notes" });
|
||||
l.Add(new FormField { TKey = "Tags", FieldKey = "Tags" });
|
||||
l.Add(new FormField { TKey = "Wiki", FieldKey = "Wiki" });
|
||||
l.Add(new FormField { TKey = "Attachments", FieldKey = "Attachments" });
|
||||
l.Add(new FormField { TKey = "WidgetCustom1", FieldKey = "WidgetCustom1", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "WidgetCustom2", FieldKey = "WidgetCustom2", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "WidgetCustom3", FieldKey = "WidgetCustom3", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "WidgetCustom4", FieldKey = "WidgetCustom4", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "WidgetCustom5", FieldKey = "WidgetCustom5", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "WidgetCustom6", FieldKey = "WidgetCustom6", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "WidgetCustom7", FieldKey = "WidgetCustom7", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "WidgetCustom8", FieldKey = "WidgetCustom8", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "WidgetCustom9", FieldKey = "WidgetCustom9", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "WidgetCustom10", FieldKey = "WidgetCustom10", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "WidgetCustom11", FieldKey = "WidgetCustom11", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "WidgetCustom12", FieldKey = "WidgetCustom12", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "WidgetCustom13", FieldKey = "WidgetCustom13", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "WidgetCustom14", FieldKey = "WidgetCustom14", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "WidgetCustom15", FieldKey = "WidgetCustom15", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "WidgetCustom16", FieldKey = "WidgetCustom16", IsCustomField = true });
|
||||
_formFields.Add(AyaType.Widget.ToString(), l);
|
||||
}
|
||||
#endregion widget
|
||||
|
||||
#region USER_KEY
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user