Do not use DateTimeField when displaying the date of your field
I have a “DateTime-field” inside a list which contains both date and time. In order to allow the user to edit this information inside the publishing page I used the...
View ArticleServer Type “complete” is missing when installing Office SharePoint Server...
I really like Windows 7! As I am a SharePoint developer I was happy that (thanks to Bamboo) one can install SharePoint on Vista and Windows 7. After I figured out why my first installation try went...
View ArticleWith great power comes – PublishingWeb.DefaultPage
or at least the power of “Use Remote Interfaces – Use SOAP, Web DAV, or SharePoint Designer interfaces to access the Web site”. In a SharePoint project I’m working on it was necessary to get the...
View ArticleUpdating existing lookup fields in SharePoint
Creating lookup-fields only via XML-Definition is not possible. You need the ID of the Web hosting the list and the ID of the list hosting the data the lookup field is connected to. This information...
View ArticleUsing a C# preprocessor directive for testing custom timer-jobs
If your are writing custom timer-jobs for your SharePoint solution it will happen that you write jobs which are only executed once a day or even less often. As a developer you cannot wait that long…...
View ArticleUsing powershell to quickly debug SPSiteDataQuery
Writing CAML-Queries is still no fun. Even with SharePoint 2010… So you often need to test your queries before they actually work. In case you quickly want to test if your SPSiteDataQuery is correct...
View ArticleEnable-SPFeature does not trigger the feature receiver
Today I encountered the same problem as stated in a blog post by Christopher Maish. When activating the feature via powershell the associated feature receiver was not called. Trying the suggested...
View ArticleBug with Internet Explorer and grid RowEditing-plugin when using scoped-theme
I came across this rare bug in the current development of a project. It makes heavy use of the RowEditing plugin of Extjs‘ grid. Because the Extjs environment is used within SharePoint 2010 I have to...
View ArticleChanging the page layout of a search result page via Powershell in SharePoint...
This is a “quick hack” to change the layout of a search result page. When the Publishing-Feature is disabled you are not able to change the layout via the UI. If you add a new page via “Create page”...
View ArticleOne possible reason for 0x81020014 when querying a list for items in SharePoint
If you get that “famous” error: One or more field types are not installed properly. Go to the list settings page to delete these fields.0x81020014 you are given absolutely no hint which field and whats...
View Article