SharePoint Blogs / SharePoint University
SharePoint Blogs and SharePoint University - all in one place!
Sign in
|
Join
|
Help
SharePoint Blogs
SharePoint University Forums
SharePoint Groups
SharePoint Training
SharePoint Blogs Bloggers
Mirrored SharePoint Blogs
Need
SharePoint Training
? Attend a
SharePoint Bootcamp
!
Please delete cookies related to sharepointblogs.com and sharepointu.com to resolve login issues!
Sander de Koning
Sander de Koning
Home
About
Contact
Syndication
RSS for Posts
Atom
RSS for Comments
Recent Posts
Enable Custom Search Scopes from code
Ensuring Infopath forms to open in Forms Services
Backup strategy for BPOS
Backwards compatibility of Windows 7 VHD’s
Changing the save to ‘My SharePoint Sites’ experience?
News
I'm a self employed SharePoint Consultant & Developer in the Netherlands.
For more info check my site:
www.sanderdekoning.com
Archives
July 2009 (1)
June 2009 (4)
May 2009 (2)
October 2008 (1)
September 2008 (1)
August 2008 (2)
July 2008 (3)
June 2008 (1)
May 2008 (1)
April 2008 (1)
February 2008 (2)
January 2008 (2)
December 2007 (2)
November 2007 (6)
October 2007 (3)
Sort by:
Most Recent
|
Most Viewed
|
Most Commented
Enable Custom Search Scopes from code
I was looking for some code to Enable Custom Scopes on a Site-Collection. I want to enable this from a feature instead of doing it manually for each site. I couldn’t find it fast on Google, so I tried to find out how ‘they’ did it by using Reflector....
Published
07-02-2009 10:27 AM
by
Sander de Koning
Ensuring Infopath forms to open in Forms Services
You might have ran into the following issue; you’ve deployed your InfoPath forms to Forms Services, and (of course) it seems to works like a charm. It seems? Yes, there some exceptions in which case Forms Services does not do what you expect it to do...
Published
06-10-2009 6:00 AM
by
Sander de Koning
Backup strategy for BPOS
I’ve been using the MS Business Productivity Online Suite for 2 months now. I’m more than happy about it, it really saved me a lot of time setting up the basic needs for my own company. For your info, I’m using Exchange (both OWA and...
Published
06-04-2009 4:26 AM
by
Sander de Koning
Backwards compatibility of Windows 7 VHD’s
A great new feature of Windows 7 is Windows Virtual PC, the next version of Virtual PC 2007. It has all sorts of advantages like dual-core and USB support. You can use your existing Virtual PC vhd’s in Windows 7. But after a while I got tired of some...
Published
06-03-2009 7:22 AM
by
Sander de Koning
Changing the save to ‘My SharePoint Sites’ experience?
If you’re saving a document directly from an Office application to SharePoint, you will get the nice option to save it to “My SharePoint Sites”. Apart from some confusion on how these links are created and especially when they are synchronized...
Published
06-03-2009 3:25 AM
by
Sander de Koning
Figuring out a alternative to Cross-Site Lookups
In my Twitter feed I posted some tweets on building a workaround to create cross-site lookups. I’ve got some replies of people -thanks!- mentioning alternatives like the one of Tony Bierman (in the Netherlands that would be a name to be proud of...
Published
05-14-2009 4:03 AM
by
Sander de Koning
The impact of browser speed on your SharePoint app
To me the browser discussion has always been on standards, some additional buttons and open-source ideals. Rendering speed has never been an issue. The other way around, the browser had never been a factor in the performance of my applications. I tested...
Published
05-12-2009 2:59 AM
by
Sander de Koning
Determine the current number of SharePoint users
Just a quick one, there might be better ways - but this is quite easy to do. 1. Open perfmon (run -> perfmon or Administrative Tools -> Performance monitor) 2. Create a new counter set (icon on the top left) 3. Add a new Counter (the button with...
Published
10-15-2008 7:15 AM
by
Sander de Koning
"This site does not host personal sites" error with CreatePersonalSite()
Quick note on this error, it is not documented and I did not find any answers on Google; When you create a site by calling ProfileUser.CreatePersonalSite() you can get the error " This site does not host personal sites ". To resolve this, create...
Published
09-08-2008 6:09 AM
by
Sander de Koning
Centralize Master page and Alternate CSS settings
Goals: Control all Master pages, Application Master pages and the Alternate CSS url's from code and being able to change these settings at run-time Have only a single copy of the Master page(s) and the alternate stylesheet(s) in your whole farm (ideally...
Published
08-29-2008 4:43 AM
by
Sander de Koning
Automatically upload udcx files to Central Admin
Easier than uploading by hand, create a batch file in the folder containing your udcx files and add these lines: for /f "tokens=*" %%a in ('dir /b "*.udcx"') do ( stsadm -o adddataconnectionfile -filename %%a -overwrite true...
Published
08-07-2008 4:12 AM
by
Sander de Koning
Using database snaphots for testing SharePoint
This can be a real time-saver! Do you know of the concept of Snapshots in SQL Server 2005? No? It is one of the new features available in the Enterprise edition of SQL 2005. Database Snapshots allows you to create a read-only copy of your database that...
Published
07-10-2008 1:54 AM
by
Sander de Koning
Troubleshooting tempdb growth when crawling SharePoint data
Today I received a message from our Database admin concerning the Temp Database. It seems a SharePoint process is filling the TempDB up to 15gb. After that it reaches it physical limit (disk space is very limited..) and throws an exception: "The...
Published
07-09-2008 6:15 AM
by
Sander de Koning
[Dutch] Nintex Workflow presentation - DIWUG
(Sorry for this post being Dutch. Tonight I presented Nintex workflow at the Dutch Information Worker Group . In this post I will publish the sheets and code I've used) In navolging tot de Nintex Workflow presentatie kan je nu de slides downloaden...
Published
07-03-2008 5:26 PM
by
Sander de Koning
Synchronize Content Types and Site Columns between teamsites
This morning I had a conversation with a colleague about Schemalogic . This tool enables you to manage your content types in a central location for your whole farm or even multiple farms. Based on this concept I thought it might be cool to make a 'master'...
Published
06-11-2008 6:45 AM
by
Sander de Koning
Programmatically added Site Columns and Site Gallery issue
If you add Site Columns to a site or web using code you can do it like this: SPSite root = new SPSite ( " http://wss/sites/site" ); SPWeb web = root.OpenWeb(); string fieldname = web.Fields.Add( "TEST" , SPFieldType .Text, true );...
Published
05-19-2008 10:10 AM
by
Sander de Koning
Automatically deploy the ServerAdminTemplates
Installing the ServerAdminTemplates and creating sites is a lot easier and quicker by using these scripts: 1. Download the package from http://www.microsoft.com/downloads/details.aspx?familyid=AAE4CB5A-91D2-4F1B-9A45-3BB894E218F8&displaylang=en 2...
Published
04-02-2008 2:33 AM
by
Sander de Koning
Indexed Columns on Lookup fields or Non-Supported fieldtypes
Indexed columns are a great way to improve performance. Especially the SiteMapProviders (used by a CQWP) benefit from the indexes. I know there are some performance-tests out there, but just try to index every field you use in a Content Query Webpart...
Published
02-29-2008 2:48 AM
by
Sander de Koning
Programmatically Add/Remove Site Templates in the Site Gallery
Took me a while to find out how to connect to the Site Gallery, so this might save you some time. using (SPSite root = new SPSite([yourRootURL])) { // DELETE OLD TEMPLATES List< string > toDelete = new List< string >(); using (SPWeb web =...
Published
02-20-2008 10:17 AM
by
Sander de Koning
Multi-valued (ARRAY) Comparisons only for Choice fields
The new Multi-Value fields are causing me quite some headaches lately. Exporting to Excel does not work, showing in Content-Editor-Webparts does not work, SharePoint Designer does not understand them, and now there's an issue querying them trough...
Published
01-21-2008 5:25 PM
by
Sander de Koning
MOSS Search: TotalAvailable & TotalRows not accurate
A query against MOSS search engine returns a specified number of results and a indication of the total number of results. When working with the API this is the TotalRows property of the ResultsTable, working with the WebService this is the TotalAvailable...
Published
01-21-2008 7:35 AM
by
Sander de Koning
Showing attachments in a Content Query Webpart
Not quite that complicated, but I'm it sure can save you (and myself next time) some time. To show the attachment paperclip in your CQWP, just add this section to the xsl:template in the ItemStyle.xsl: < xsl:choose > < xsl:when test ="...
Published
12-10-2007 3:03 AM
by
Sander de Koning
Passed my first SharePoint MCP exam!!
This morning I did the 70-630 exam: 'Microsoft Office SharePoint Server 2007, Configuring'. Although the specific training for this exam was cancelled last week I've passed! A lot of the questions are in fact pretty logical once you've...
Published
12-04-2007 5:27 AM
by
Sander de Koning
Adding querystring parameters to a SPNavigationNode
I've had a hard time figuring out how to programatically add or edit Querystring parameters to a SPNavigationNode. The SPNavigationNode is the internal type used to build the current (left) and global (top) WSS navigation. It seems pretty straight...
Published
11-26-2007 6:59 AM
by
Sander de Koning
Error in ContentByQueryWebPart when calling from a non-web context
Just run in some strange behaviour of the Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart , better known as the Content Query Webpart. I want to update a large number of these webparts, so I've made the following console app doing...
Published
11-26-2007 3:15 AM
by
Sander de Koning
1
2
Next >
Need
SharePoint Training
? Attend a
SharePoint Bootcamp
!
Posts (c) their respective authors. Everything else (c) 2009 SharePoint Experts, Inc.