Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to be able to create a list programmatically which allows end users to reorder the items in the list. There appear to be 2 steps to this. Firstly set the SPList.Ordered property to true - this bit seems easy enough. The second step would seem to be to set the default view's OrderedView to be true. Unfortunately this field is readonly. I see you can set this value if you provision through CAML but I want to be able to set this after the fact in code. Does anybody know how to do this? You can see the funcitonality I'm after by creating a Links list. Then in the Actions menu you get the option to "Change Order".

Any ideas?

share|improve this question
add comment

2 Answers

Can you not create a new list based on the Links list type?

share|improve this answer
add comment

I remember having to do this in SP2003, the only solution that worked was to create a list based upon the links list template, and modifying the list as required.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.