Microsoft
Software
Hardware
Network
Question : sharepoint create site column programmatically
I can add a column to a site using this code (the getimpersonatedweb works well)
using (SPWeb sharepointWebSite = GetImpersonatedWeb()){
sharepointWebSite.Fields.A
dd("TEST",
SPFieldType.Text, true);
If I do this, my column appears under "Custom Columns", is there a way to get it to show under "Core Contact and Calendar Columns"?
Answer : sharepoint create site column programmatically
You need to use the "Group" property of your field and set its value to "Core Contact and Calendar Columns".
Refer the following article for more information
http://blogs.pointbridge.c
om/Blogs/b
asin_ilya/
Pages/
Post
.aspx?_ID=
3
Random Solutions
Installing MS-DOS 3.20 in Bochs
How do I retrieve text from a website
SQL 2005 Syntax Error 'CREATE USER'
Consuming a web service, importing the consumed xls file into a sql server database table
script to setup a silent install sqlserver 2008
Incorrect syntax near '#'. in ADODB.Connection in Excel workbook
MS Access 20077 How to pass text field data from form to table
Best way to export Distribution group names, users, and email addresses from Exchange 2003.
changing authentication mode and adding SA user for SQL Express 2005
Login box keeps coming up in Outlook 2007 using Exchange 2007