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 need to add a custom "Check Box" property to all existing OOB SharePoint column types. This should appear in the Additional Column Settings section for any column type created; this property will be used in code by many applications. Note-I dont want custom field type. I want the "property" for all native field types.

Does anyone know how to achieve this?

share|improve this question
add comment

3 Answers 3

You can add your custom field to the native item content type 0x01. Because all content types inherit from it you should find your added custom field on each item into the site collection

share|improve this answer
    
Please improve this answer! –  Anders Rask Sep 3 '12 at 7:22
    
@pumpax : Rolled back your edit so that your answer makes sense again. Please flag for deletion if you want to remove it. –  SPDoctor Sep 3 '12 at 15:43
add comment

With the OOTB types it is not possible. You would have to build a custom field type in order to do this. See: Building Custom Field Types in Windows SharePoint

share|improve this answer
add comment

I don't think what you're attempting to do is possible with the native SharePoint field types.

Normally Custom Field Types define a FieldEditorUserControl that lives in %SharePoint folder%/TEMPLATE/CONTROLTEMPLATES. This defines what to show to the users when adding/editing a field type.

Some of the native field types have controls in there (LookupFieldEditor.ascx for example), but most rely on code built-in to the add/edit page itself (I believe). Editing the controls would be pointless anyway, as you've got no way of adding code-behind, and hence can't actually store the values.

So what you want to achieve can most likely only be done by producing a range of Custom Field Types that inherit from all the native field types and define their own field editor user controls: This would be an extraordinarily large and thankless task.

share|improve this answer
1  
A task that if accomplished should be open sourced somewhere for others to reuse. :) –  iOnline247 Aug 31 '12 at 12:27
1  
Or burned as heresy. One of two. –  Stuart Pegg Aug 31 '12 at 14:00
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.