How to programmatically set search fields

Apr 18, 2012 at 9:11 AM

Hi

I am implementing a number of LookupWithPicker fields in an event receiver. I have managed to set most of the properties I want by casting the field to the standard SPFieldLookup type. However I would like to be able to set which fields a user can search on in the picker dialog.

Could someone guide me on how to achieve this?

Thanks

Zak