开发者

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??


  1. 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.
  2. Add appropriate UI elements to the FieldEditorUserControl control.

Also, check this project (source code is available).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜