Wednesday, 27 October 2010

Creating a lookup list & project field lookup using a declaritive content type

Problem: Create a list that has a lookup column and a projected field from the lookup column.
  • Some code I used to create a lookup column (Agency ID) in a list and a field to be brought in from the lookup list also (AgencyName)
  • This should be plugged into the new list's content type (AgencyContact).
  • The column being brought across also (Agency Name) needs to reference the GUID of the lookup column it relies on (Agency ID) using FieldRef.
Thanks to Paul W


Post a Comment