Sharepoint custom column setting
I have a custom field in sharepoint 2007.
What I want to do is add a custom setting to it that appears not in individual items but is a property you set when you create a column. I'd like it such that any of that column can access that property but other columns can be made of my field with their own setting.
Most of the examples/tutorials/documentation I've found seem to be either incomplete or trying to accomplish something completely different.
What functionality should I b开发者_运维知识库e looking at in order to accomplish this??
- Add a property to the custom field class (that's the one that inherits from
SPField
,SPFieldLookup
or something similar); read this post to learn how to save the value of the custom property. - Add appropriate UI elements to the
FieldEditorUserControl
control.
Also, check this project (source code is available).
精彩评论