Sign In
Karthick's Blog
That's the secret to life...,replace one worry with another. -This posting is provided "AS IS" with no warranties, and confers no rights-
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
.net
Content Management Server (MCMS)
SharePoint
Archive
Archives
January 2007
(3)
December 2006
(18)
November 2006
(6)
May 2006
(1)
April 2006
(15)
March 2006
(14)
February 2006
(3)
November 2005
(2)
January, 2007
MSDN Blogs
>
Karthick's Blog
>
January, 2007
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Karthick's Blog
MOSS 2007 : WSS 3.0 : How do you add items into Choice Site Column type.
Posted
over 5 years ago
by
MSDNArchive
2
Comments
Here is the sample code, SPWeb web = new SPSite(" http://karthick64:4040/").OpenWeb (); SPField spField = web.Fields["MyChoice"]; SPFieldChoice choiceFields = (SPFieldChoice)spField; string[] choices = new string[3] {"x", "y", "z"}; foreach (string...
Karthick's Blog
MOSS 2007 : WSS 3.0 : How do you add a new Site Column to a Content Type using the MOSS object model?
Posted
over 5 years ago
by
MSDNArchive
3
Comments
How do you add a new Site Column to a Content Type using the MOSS object model? Here is the sample code SPWeb web = new SPSite ( " http://localhost:4040 " ).OpenWeb(); SPContentType myCT = web.ContentTypes[ "myNewContentType" ]; myCT.FieldLinks...
Karthick's Blog
MOSS 2007: WSS 3.0: How to add/delete/update site columns by using SharePoint WebService
Posted
over 5 years ago
by
MSDNArchive
6
Comments
SharePoint's Webs webservice can be used to add/delete/update site columns. Unfortunatley MSDN/SDK doesnot has the sample yet. Here I provide the sample code. //webs webservice object localhost. Webs websService = new ContentTypeAndSiteColumn.localhost...
Page 1 of 1 (3 items)