In this article we will be seeing about projected fields in SharePoint 2010.

Introduction:

SharePoint 2010 enables you to display additional columns from the target list in the view of the list that contains the lookup column. These additional generated columns are known as projected fields. I have created two lists "Departments" and "Employees to model the relationship between them. I have created a Department lookup column for the Employees list and I also want to display the name of the department manager in the list of employees, as shown in the following illustration.

Sharepro1.gif

Departments List:

Sharepro2.gif

Employees List:

In the "Employees" list I have created a Department lookup column as shown in the following

Sharepro3.gif

Sharepro4.gif

You could be able to see the projected field "Department: Manager" as shown in the following

Sharepro5.gif

Using SharePoint Object Model:

Using powershell: