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
Question about Win7 x64 and 32-bit programs.
SQL Delete Syntax
How to reset value to " " in userform textbox
GPO Server 2003 XP Pro Clients Wallpaper
Improving SQL Server 2005 performance (Database re-vamping help needed)
How do I get Windows Server 2008R2 with Remote Desktop Services to use a Remote Desktop Client's audio hardware for VOIP?
Bulk Insert Excel spreadsheet
Regex and VB.NET - Richtext selection
Open Sharepoint server's pdf file in asp.net...
How to install Win2K to a Toshiba Portege 3440CT when the PCMCIA CD-Rom will not power up when booting from floppy or HDD