When creating event receivers or workflows it might be interesting to look at the differences between the following SPListItem methods. The differences might be subtle but it can make a huge difference when you have extra event receivers or workflows attached to your SharePoint list or items. Update() Updates the item in the database. Updates [...]
Archive for the ‘Uncategorized’ Category
Update vs Systemupdate vs UpdateOverwriteVersion
Posted in Development, SharePoint, Uncategorized, Workflows, tagged differences, Event handler, Modified by, systemupdate, triggering events, update, UpdateOverwriteVersion, version, workflows on September 6, 2011 | Leave a Comment »
Tool: Application Tool manager 3.0
Posted in SharePoint, Tools, Uncategorized, tagged APM, Application pool, attach to process, debug, Process ID, SP2010 on September 3, 2011 | Leave a Comment »
Quick description Application Tool Manager (APM) is a great utility when programming for SharePoint 2010 (and general (IIS) web development) . Very handy if you want to attach your debugger to a specific w3wp.exe Process ID (PID) The description on their website This freeware application is a System Tray utility for providing quick access to [...]
The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local machine
Posted in Development, SharePoint, Uncategorized, tagged 64bit, Excel, JET, Office integration, OleDb, SharePoint, SP2010, x64 on August 24, 2011 | Leave a Comment »
We often get Excel files with content to import into SharePoint. Most of the time I fire up Visual Studio and write a small console application to import the Excel data. However with SharePoint 2010 I got the error “The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local machine”. The idea When I need to [...]
Format xslt date
Posted in Branding, Layout, look and feel, Development, SharePoint, Uncategorized on June 21, 2011 | Leave a Comment »
To format data in SharePoint I often use xslt. The default formatting of dates however is pretty useless <xsl:value-of select=”@YourDateParam”/> Results in : 2009-03-23 00:00:00 You can also use a predefined locale like this: <xsl:value-of select=”ddwrt:FormatDate(@YourDateParam, 1033, 15)”/> Results in : Thursay, August 24, 2011 09:00:00 PM If your required date time format [...]
.NET Continuous Integration with TeamCity
Posted in Uncategorized on May 29, 2011 | Leave a Comment »
Christophe Geers has a great article about how to setup a build server with Jetbrains TeamCity. Read his article here: http://cgeers.com/2011/05/28/running-unit-tests-with-teamcity/ I ‘m planning on integrating a build server in my Media Center. I was still reading up on all the different products and technologies available. After reading Christophe’s article I might go for the [...]
Google Maps in SharePoint 2010 using standard functionality.
Posted in Branding, Layout, look and feel, Development, SharePoint, Uncategorized, Web parts and solutions, tagged Content editor, Display HTML assets, free, Google Maps, Google maps web part, insert map, OOB, Out of box, SharePoint 2010, standard functionlaity, webpart on May 4, 2011 | 2 Comments »
Introduction. In SharePoint 2010 you can use Google Maps without having to download extra webparts or third party tools. In this article I will explain how you can insert “Google Maps” maps in your SharePoint 2011 site with only using standard out of the box SharePoint 2010 features. It’s a generic solution which can also [...]
Logging in SharePoint. Log4Net versus NLog
Posted in Development, IIS, SharePoint, Tools, Uncategorized, tagged config file, config location, Log4Net, logging SharePoint, NLog, owstimer on April 27, 2011 | Leave a Comment »
Introduction Sometimes I prefer logging to a simple log file instead of using the Event Log, Tracing or the SharePoint Logs. The ability to turn on and off these logs without having to update a dll or web.config is a great advantage in SharePoint as well. I was a fan of Log4net project but the [...]
Dispose SPWeb objects while iterating to parent
Posted in Development, SharePoint, Uncategorized, Web parts and solutions, tagged SharePoint, Dispose, while, iterate to parentweb, loop to parent, SPWeb on March 21, 2011 | 1 Comment »
While programming in SharePoint, did you ever needed to work your way back to the parent website? Probably the easiest, but not the recommended, way to do this is: The problem with this approach is that you are not disposing your SPWeb and SPSite objects. You should correctly dispose you SharePoint objects to avoid memory [...]
Error occurred in deployment step ‘Activate Features’: The current user has insufficient permissions to perform this operation
Posted in Development, SharePoint, Uncategorized, tagged activating feature, deploy, error, termsstore on December 27, 2010 | Leave a Comment »
During deployment of your SharePoint 2010 feature you might get the following error: Error occurred in deployment step ‘Activate Features’: The current user has insufficient permissions to perform this operation During the activation of the feature the current user seems to have insufficient permissions to perform the operatio. I encountered this problem while deploying a [...]
Developing on SSD.
Posted in Uncategorized on November 14, 2010 | 3 Comments »
I replaced my external hard drive, that I use to run my virtual machines (vm) on, today. My old Lacie Rugged 100GB 7200 rpm is replaced by an OCZ 120GB SSD drive. There is clearly a difference, although not as much as I was hoping for. Here are some results that I recorded : Lacie rugged 7200rpm [...]