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
How to display full path in SHBrowseForFolder edit box when BIF_EDITBOX is set?
SSRS 2005 - Multiple IIF Statement
SQL Query - Syntax ( SQL 2005 / 2008 )
Setting up ASPX application on IIS - Could not load file or assembly
Conditional Concatenation in a Query
First NSLookup always times out
How will adding a VBA reference to ADO 2.8 affect my database?
Vlookup for an exact match without sorting.
Macro to carry formulas down a sheet
DC Diag errors- Replacing an old DC with a new server.