I have a custom list that contains a number of custom content types. When a web is provisioned this custom list is provisioned.
In addition to custom list is an Asset Library which is will serve as the source of a lookup field is also provisioned.
I need to create a SPFieldLookup on my custom list which looks up items in the Asset Library but ONLY for one specific content type. This is so when the user selects the specific content type the SPFieldLookup field appears on the form. I don't, however, want this SPFieldLookup on any of the other content type forms.
I have no idea how to do this and I am hoping it can be done in a straight forward manner.
The Web UI gives an option to add a field to all content types when you add a field to a list but no option to specify one specifically.
Thanks for the help.