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

@@ -22,7 +22,13 @@ REALLY MAKING MORE PROGRESS WHEN CLIENT DEV DRIVES BACKEND DEV, STICK TO THAT!!
TODO: return the list as objects as specified
TODO: Make a joined table list for development
- User list with their email address, just name and address and user ID is enough to develop the backend code
- Widget->User->emailaddress
- Modify Widget, add UserId to it (maybe prepared by like a quote)
- Modify all the widget related code to work with this and also populate it
- Going to need to modify a lot of shit for this at the client too but it's necessary to be on the right path now
- Widget list with User and their email
CLIENT CUSTOM FIELDS CHANGE
- Must use numeric instead of text values now

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
}
}
}