Tagged Questions
0
votes
1answer
427 views
Upload document : Default value not applied on choice column if baseFieldControl.ControlMode = SPControlMode.Display
I created a new site column, a choice column with 5 values to pick from in a drop down list :
1,
2,
3,
4 (default value),
5
I then created a document content type using this column. The problem I am ...
0
votes
1answer
60 views
How to change boolean variation on document template
I've a bool (checkbox field) as a template field, and it shows true - if checked - and false - if not - on the template field content and I want to show up different display text.
what's the best way ...
3
votes
1answer
2k views
Choice field changed - How to propagate the change down to all lists that used it?
I have a feature (Web scoped) with a content type which contains a field (Type="Choice").
Values were A, B and C.
I've created a list based on this content type and added some elements in it.
I ...
2
votes
1answer
716 views
How do I set dynamic values for an SPFieldChoice?
I want to add choices programmatically to an SPFieldChoice so that its select box has values with Current Year - 5 to Current Year + 5.
What is the best way to do this?
Ex:
2005
2006
2007
...
...