I need to create a lookup column in sharepoint 2010 that refers to files of a specified content type. Files are all resident in a document library organized as folder.
More precisely:
- I've the DocLib1 with files with different content type (e.g. ContentType1, ContentType2)
- I need to create a lookup column (in a different list, but I think this should not matter) that refers to DocLib1 and refers only files of ContentType1 (and not files of ContentType2).
I know how to create lookup columns in SP Web interface or SharePoint Designer. If necessary, I can also create the column in Visual Studio using C# or elements.xml.