I’ve been working with Managed Metadata Navigation and the Content Search Web Part a lot lately in SharePoint 2013. I just recently ran into a nasty little bug with a site that had been upgraded from SharePoint 2010.
The Content Search Web Part just wouldn’t work. Preview worked great but as soon as I published the page the web part was blank. So I opened the page up in Chrome from some better debugging tools and found the following:
Had an issue this week that was resulting in blank pages being rendered for users of our SharePoint Extranet. The issue surfaced itself in two different ways. Users were able to access the sign in page but once they completed the sign in using Live Authentication (we’re using LiveAuth via Claims FBA for our extranet) they immediately received the error.
Using Internet Explorer
Users received a generic “Page could not be displayed error message.”
Using Google Chrome
Users received the following error message.
Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error
Continue reading →
When we’re designing or mocking up a SharePoint Intranet, Extranet or Internet we always talk about content roll up. SharePoint does a great job with content roll up OOTB (within the same Site Collection at least) using the Content Query Web Part. However, any time you show the client the power of the Content Query Web Part a typical question usually follows…
I love how I can see the top 5 most recent documents… but where is the link to “view more”? How do I get to the rest of the documents?
Like anything else with SharePoint it’s the 80-90% that’s easy and the little questions like this that cause the grief. Now, you could modify the Content Query Web Part styles but that’s not very manageable. Or you could drop a Content Editor Web Part on the page but that seems like a lot of work for one link. Heck, with SharePoint 2010 you could even use an inline Web Part in your main content area and just include the link yourself.
Isn’t there an easier way?
What if you wanted something that looks like this:
Let’s keep this simple, make it flexible and allow you to use this technique on any Web Part, OOTB or custom. Continue reading →
I was recently working on some new blog topics and a possible white paper when I stumbled across this little bit in SharePoint 2010. If you have worked in-depth with SharePoint publishing then you will undoubtedly be familiar with the Reusable Content capabilities within SharePoint. So, when playing around with Reusable Content in SharePoint 2010 I found this:
As you can see… SharePoint 2010 ships with three pieces of reusable content out of the box. Now I can understand the copyright and the quote but when I saw the Byline I immediately had to ask myself the question that I doubt anyone else cares about: Continue reading →
I recently had to put together a Content Query Web Part that displayed a multiple choice field. By default the multiple choice field displays delimited with “;#”. Additionally sometimes you will find this combination of characters on the beginning and the ending of the string. Here is my XSLT template to clean up the choice field and substitute your replacement characters. Additionally I split out some of the supporting templates as they are very useful on their own.
<xsl:call -template name="cleanMultiChoice">
<xsl:with -param name="choiceValue" select="@FieldValue"></xsl:with>
<xsl:call -template name="replaceCharsInString">
<xsl:with -param name="stringIn" select="$CleanFieldValue"></xsl:with>
<xsl:with -param name="charsIn" select="';#'"></xsl:with>
<xsl:with -param name="charsOut" select="', '"></xsl:with>
Continue reading →
I’ve been busy lately developing my first full codeplex project. I now feel good enough about that process to have released a version on CodePlex earlier today. So say hello to SharePoint 2010 Site Styles.
Now you may be asking yourself…
What is this and why did you build it?
So with the release of SharePoint 2010 Microsoft decided that the concept of themes should be reworked within SharePoint, and they definitely needed it. So now themes allow you to modify the color and font scheme of any SharePoint site either through the browser or even through Office applications such as PowerPoint and by doing so you can produce a theme file with a .thmx format. This has made sharing, deploying and creating themes extremely easy.
But… what if you wanted to deploy your own custom CSS or your own custom images? Well, you can do one of the following:
- Create your own master page and add your CSS.
- Modify the master page through SharePoint designer and add your CSS.
- Add your CSS in through a web part or other element.
- Turn on publishing and set the alternate CSS file.
- Create a Control Template that’s feature activated to embed your custom CSS file into the page.
Ok, so now you read through that list and realize that only option 5 has any merit what-so-ever because the rest either require publishing or are not deployable/reusable. Continue reading →