Introduction When in a (localized) variations site, certain “list templates” do not show when trying to create a new list. The “list template” is only available in the master variation with the locale set to English. Including list templates in your SharePoint (Visual Studio) projects can be straight forward. On a list do a “save [...]
Archive for the ‘SharePoint’ 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 »
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 [...]
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 [...]
NLog configuration file to log like Log4Net.
Posted in Development, SharePoint, Tips, Tools on July 21, 2011 | Leave a Comment »
Here is a NLog config file that generates a similar log file layout as with the (default) Log4Net settings. This NLog configuration also includes the date in the log file name to mimic the Log4Net ‘rollingFileAppender’ behavior. file: NLog.config
Custom master page error : “You must specify a value for this required field”
Posted in Branding, Layout, look and feel, Development, SharePoint on July 20, 2011 | Leave a Comment »
When using a custom master page and editing a page in SharePoint 2010 I received a dialog box the following error: “You must specify a value for this required field”. This error is caused when you set the contentplaceholder ‘PlaceHolderPageTitleInTitleArea’ to: Visible=”False”. After removing the Visible=False attribute from the contentplaceholder the error disappeared. As a [...]
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 [...]
Tools: dotPeek. The free decompiler.
Posted in SharePoint, Tips, Tools, tagged .Net community, .NET Reflector, dotPeek, free decompiler, JetBrains, RedGate on May 11, 2011 | 1 Comment »
Good news!! JetBrains released the first version of their free decompiler tool, dotPeek. Since the February 2011 the .NET community was looking forward for a new free decompiler tool after RedGate announced that their insanly popular decompiler tool ‘Reflector’ would no longer be free. Jetbrains reacted and is giving the .Net community: dotPeek. DotPeek was [...]
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 [...]