Author Archives: Bernado

Unknown's avatar

About Bernado

Based in Australia, I am a freelance SharePoint and Dynamics CRM developer. I love developing innovative solutions that address business and everyday problems. Feel free to contact me if you think I can help you with your SharePoint or CRM implementation.

Colour coding event types on SharePoint calendar

On a SharePoint calendar you might have different event types, e.g. Birthday, Meeting or Holiday. Wouldn’t it be nice if you can display these events on the calendar and colour code them by event type? Well you probably can achieve … Continue reading

Posted in SharePoint 2010 | 1 Comment

Making WebRequest to SharePoint using Windows Authentication in Mixed Mode Authentication

Mixed mode authentication is when both Form Based Authentication (FBA) and Windows Authentication are enabled on the SharePoint site. I was writing some code to download a file from SharePoint in this scenario. The code needs to authenticate using Windows … Continue reading

Posted in Claim Authentication, Form Based Authentication, Mixed Mode Authentication | Leave a comment

URL for Windows Authentication in SharePoint 2010

When using Claims Authentication in SharePoint 2010 you can configure multiple authentication providers for your site. Specifically, you can use both Windows Authentication and Form Based Authentication – and your site users can choose which method to use to authenticate to … Continue reading

Posted in Claim Authentication, SharePoint 2010 | 4 Comments

How to add new SPNavigationNode to Quick Link as type Link and not Heading

In SharePoint 2010, if you add a new SPNavigationNode as a child to a Heading link, then the type of the new link will automatically be Link: If you however add it as a root level node, then the type … Continue reading

Posted in Branding, SharePoint 2010 | Leave a comment

Error message “Unable to access web scoped feature because it references a non-existent or broken web on site” when performing feature upgrade

I got the error message below when performing a feature upgrade on a web-scoped feature: Unable to access web scoped feature (Id: 0257689c-9e69-4700-a169-004f648d0924) because it references a non-existent or broken web (Id: 90d6c515-a4a7-4f25-a46d-d0505e54d973) on site ‘http://myServer’.  Exception: System.ArgumentException: Value does … Continue reading

Posted in Feature Upgrade, SharePoint 2010 | 4 Comments

Walkthrough: Custom field type for uploading and displaying images in SharePoint 2010 lists

—————– UPDATE (2013-06-06): This solution is now also available for SharePoint 2013. Download it here. The 2010 version is still available for download. —————– In SharePoint 2010 the user experience of uploading & inserting images into publishing pages has been … Continue reading

Posted in Custom Field Types, SharePoint 2010 | 136 Comments

How to remove “No results are available. Either no query is specified, or the query came from advanced search (Federated Webparts do not support Advanced Search queries)” when no search keywords are specified

The OOTB Search Core Results web part will show the message below when no search keywords are specified (i.e. no k=blah in the queryString): No results are available. Either no query is specified, or the query came from advanced search … Continue reading

Posted in Search, SharePoint 2010, WebPart | Leave a comment

Removing duplicate web parts when changing page layout via the ribbon

In SharePoint 2010, if a page layout contains web parts, then when you change the page layout via the Ribbon while editing the page, then the page will have web parts of both the previous and the new page layouts. … Continue reading

Posted in Page Layout, SharePoint 2010, WebPart | 5 Comments

GetValidatedString() is not called for custom field type?

I was developing a custom field type that inherits from SPFieldUrl. I overrided the GetValidatedString(object value) method to perform the validation when the field was set to be mandatory. My overriden method however was not called by SharePoint, and hence … Continue reading

Posted in Custom Field Types, SharePoint 2010 | Leave a comment

Setting up trusted domain in SharePoint 2010: An exception occurred in AD claim provider when calling SPClaimProvider.FillSearch(): Requested registry access is not allowed.

I was setting up trusted domain for the people picker in SharePoint 2010. I was able to get it to work on one environment but not the other. On the environment that wasn’t working, the steps to set it up … Continue reading

Posted in Claim Authentication, SharePoint 2010 | 9 Comments