FAQ - Happi-cat/Untech.SharePoint GitHub Wiki
Contents:
A: There are several reasons why this property is empty:
- FieldUserValue in CSOM won't return Email.
- Earlier user field converter for SSOM had next line of code:
Email = userValue.User.Email
. But that line was removed due to high performance degradation: query worked slower in 5-7 times.
A: Probably you want to query items with content type id that doesn't match to content type id of your enity. In that case you should:
- Verify content type mapping and validate content type id of items which you want to fetch.
- Specify content type id in mapping explicitly if there are several content types in current list. If content type management is disallowed please turn it on for a while and validate all content types that presented here. Turn back content type management for that list.
- Alternatively you can disable filtering by content type in data context as it was done in example below:
public ISpList<Entity> Entities {
get { return GetList(c => c.Entities, SpListOptions.NoFilteringByContentType); }
}