I have a sandbox solution in SharePoint . I have created number of site columns, Content Types , list definitions and list instances. Everything has individual feature.
For Ex:
- Site column feature (Site feature)
- Site content type feature (Site feature)
- List destination feature (Web feature)
- List instance (Web feature)
I have 3 lookup columns which is provisioned successfully without target list.
Lookup column is configured in Content Type and list instance.
Now, I want to update that lookup field using feature receiver and use lookup value in other list.
What should I Do? My lookup Column element.xml is below.
<Field
ID="{a41ab4e5-a30a-4d99-8e0b-1ab2095d68f2}"
Name="Client"
DisplayName="Client"
Type="Lookup"
Required="TRUE"
Group="Test"
List="{00000000-0000-0000-0000-000000000000}"
ShowField="Title">
How can I replace list ID with {00000000-0000-0000-0000-000000000000}
?