Category Archives : SharePoint-Development

Home  >>  SharePoint-Development

Changing the page layout of a search result page via Powershell in SharePoint 2010

On June 23, 2014, Posted by , In SharePoint,SharePoint-Development, tagged in ,,,,,, , With Comments Off on Changing the page layout of a search result page via Powershell in SharePoint 2010

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” chances are high that you get a layout you don’t want….

Bug with Internet Explorer and grid RowEditing-plugin when using scoped-theme

On January 9, 2012, Posted by , In SharePoint-Development,Webdevelopment, tagged in ,,,,,,,,,,, , With Comments Off on Bug 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 use the scoped theme to avoid “damage” to the SharePoint UI. After inserting a…

Enable-SPFeature does not trigger the feature receiver

On June 8, 2011, Posted by , In SharePoint,SharePoint-Development, tagged in ,,,,, , With Comments Off on Enable-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 solution in the blog post drove me to the cause of this problem. When using stsadm I got an…

Using 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 you can use powershell to “debug” it. Just create an instance of the site-collection and target…

Using a C# preprocessor directive for testing custom timer-jobs

On July 22, 2010, Posted by , In SharePoint,SharePoint-Development, tagged in ,,,, , With Comments Off on Using 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… You could of course comment in and out (via ctrl + k, ctrl +…