Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

Setting default value for text field depending on content type by Code

$
0
0

Hello,

I've a custom text field column (call it myCol) which is used in many content types. Dependent on the content type, the column should show different default values when new entries of this content type are added.

Could this be achieved by an feature event receiver for the content type feature? Setting the default value specific to this content type?

As far as i understand from some other postings here, this can´t be done on a content type level. It must be done for the lists containing the content types.


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>