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

SharePoint 2010 default site column value not applied

$
0
0

Hi,

I have a contenttype on a picture list with some columns that I want to make hidden. I also want to apply default values to them. 

I created the site columns, and contenttype in xml. I added a list instance and with content type binding I add contenttype to my list. This works fine.  When I set he fields not hidden and visible on new and edit form when I add a picture in the pic libray the fields are filled correctly.

When I don't show fields on new and edit form but leave hidden to false default values are not applied when I add item. When make field hidden also no default values applied when adding item.

What can I do about this except for maybe adding a item added event receiver to my list? How should default values supposed to work? 

Regards

Danny


Viewing all articles
Browse latest Browse all 11571

Trending Articles



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