MOSS Forum

 
Home » Forum » MOSS       Ask a questionRSS Feeds

Create a column index using the sharepoint object model

  Date: Sep 17, 2011      Category: MOSS      Views: 134
 

I have scoured the interwebs for the answer to this one but I can only
ever find references on how to create a column index for a column in a
list via the SharePoint List Settings UI. Are there any gurus out there
who have an answer stashed away in the back of their mind? I am using
SharePoint 2007 Enterpise at the moment.

Tagged:                

 

1 Answer Found

 
Answer #1       Answered On: Sep 17, 2011       

If you get a particular SPField object (through the Fields property on an
SPList) you can set the boolean Indexed property.

I'm not sure if more is required, but that should get you somewhere.

 
Didn't find what you were looking for? Find more on Create a column index using the sharepoint object model Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].