Any issues faced when using libraries and lookup columns?
Please share you thoughts and experiences as I am planning to use it.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
We have done quite a bit of work with the Microsoft SharePoint Guidance Repository code. We ran into issues using lists/libraries that contain lookup columns. This is because the code that fills the mapped properties of an entity from an SPListItem tries to get the value of the field using item[fieldmapping.ListFieldId] which of course doesn't work in the case of a lookup column.
We modified this code to check if the field was a lookup column first and if so pull the value out correctly using the SPFieldLookupValue class.
Hope this helps