Replies: 1 comment 3 replies
-
Something like this should do it (on top of my head, did not run below code): var myList = context.Web.Lists.GetByTitle(listTitle, p => p.Title, p => p.Items, p => p.Fields.QueryProperties(p => p.InternalName, p => p.FieldTypeKind, p => p.TypeAsString, p => p.Title));
foreach(var addedItem in myList.Items.AsRequested())
{
var title = addedItem["Custom_Owner"] as IFieldUserValue).Title;
} |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I would like to get Title property from custom User field for particular item.
I've tried to get it that way
and that
and its variations with
(i["Custom_Owner"] as IFieldUserValue).Title
. But as a result, I get only LookupId, the rest - "Property .. was not yet loaded".Could you help, please?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions