I have an MVC app and am trying to recreate a Lookup site column on a page with a drop down list (add all the choices to the list). The itemColl ends up being empty, is there something that I'm not loading correctly?
SharePointContext spContext = SharePointContextProvider.Current.GetSharePointContext(HttpContext);
ClientContext clientContext = spContext.CreateUserClientContextForSPHost();
Field field = clientContext.Web.Fields.GetByInternalNameOrTitle('InternalName');
clientContext.Load(field);
clientContext.ExecuteQuery();
FieldLookup lkField = clientContext.CastTo<FieldLookup>(field);
clientContext.Load(lkField, f => f.LookupList);
clientContext.ExecuteQuery();
var list = clientContext.Web.Lists.GetById(new Guid(lkField.LookupList));
var itemColl = list.GetItems(CamlQuery.CreateAllItemsQuery());
clientContext.Load(itemColl, items => items.Include(listItem => listItem[lkField.LookupField]));
clientContext.Load(itemColl);
clientContext.ExecuteQuery();