Author Archives: Stu

My Development Configuration

Just wanting to share the utilities, custom scripts and applications that I use when developing for SharePoint. Besides the obvious, Visual Studio, SharePoint Designer and InfoPath, the following is what I find makes developing and debugging that little bit easier. … Continue reading →

Posted in General | Tagged | Leave a comment

Hide SharePoint Ribbon Items

To hide a menu item from the SharePoint ribbon add a custom action to a module in your Visual Studio SharePoint project: <CustomAction Id="CustomIdentifier.Ribbon.Documents.New.NewFolder.Hide" Location="CommandUI.Ribbon" RegistrationType="ContentType" RegistrationId="0x"> <CommandUIExtension> <CommandUIDefinitions> <CommandUIDefinition Location="Ribbon.Documents.New.NewFolder"> </CommandUIDefinition> </CommandUIDefinitions> </CommandUIExtension> </CustomAction><CustomAction Id="CustomIdentifier.Ribbon.Documents.New.NewFolder.Hide" Location="CommandUI.Ribbon" RegistrationType="ContentType" RegistrationId="0x"> <CommandUIExtension> … Continue reading →

Posted in SharePoint | Tagged , | 1 Comment

Register Code Behind InfoPath Form for Web Browsing

This post describes how to deploy a web browser compatible InfoPath form, with code-behind, through a SharePoint feature. Installing and registering an InfoPath form, along with a custom content type is pretty straight forward once you know the required steps. … Continue reading →

Posted in InfoPath, SharePoint | Tagged , | Leave a comment

InfoPath Object Reference not set Error

After designing an InfoPath form and as you try to upload and register the form to SharePoint, through the Central Administration site for example, you may see the following error: Object reference not set to an instance of an object … Continue reading →

Posted in InfoPath | Tagged | 1 Comment

Sharing WebPart and User Control Properties

When creating a Visual WebPart, sometimes you want the main functionality to be contained within the user control and not the WebPart, so that, for example, you can use the WebPart on multiple pages, one where the WebPart is hosted … Continue reading →

Posted in SharePoint | Tagged , , | 2 Comments