-
We have a lot of people in the company starting with SharePoint technology. I always get asked what books can contribute to your knowledge. There are a lot of great books on the market but a few of them got my attention. Those i mostly advice to others...
-
When creating large Portal solutions with SharePoint you need to think about using more then one Site Collection. By using more then one Site Collection you can isolate information within the Portal and give it its own security settings, content databases...
-
When you want to create your own site definition, a site template defined in the 12 hives, you copy in most cases an existing one to a new folder inside the SiteTemplates folder and start altering the ONET.XML and the default.aspx files. The ONET.XML...
-
I was looking through some old code I wrote for customers and found this code again. It is used for determining the size of a SPWeb object based on its files. The methods are recursively through all SPWeb, SPFolder and SPFile objects. The result is the...
-
I developed a relative simple trick to enable any theme like your own, during the process of creating a Site in WSS 3.0 or MOSS 2007. You need to create an ASP.NET aspx page, for example EnableMyTheme.aspx, containing some inline C# code or a control...
-
The following code can retrieve a file from a SharePoint library by suing the WebClient class. You will need the credentials of the SharePoint site to create a connection. The file is retrieved as binary and stored into a local file. Eventually you get...
-
During one of our projects we needed to create a new SiteGroup, add users to it and define some roles.The following code can be used for adding a SiteGroup to a site in WSS or MOSS. SPWeb currentWeb = SPContext.Current.Web; SPUser currentUser = currentWeb...
-
As mentioned on some blogs the Visual Studio 2005 Extensions User Guide is available for download. One of the biggest issues we always have is generating the basic building blocks for our projects. Currently i'm looking into the possibility to create...
-
Thanks to one of my collegaes Ruud, we have a solution for embedding presence information into SharePoint using a Content Editor Web Part. Add a Content Editor Web Part to your site within SharePoint and use the following piece of code for showing the...