Wednesday, October 16, 2013

HTML Masterpages and UpdatePanels in SP2013


Although this seems to be an old problem (at least from 2010), I just faced this issue a few days ago, so it is still live and kicking in SharePoint 2013.

We had a custom webpart that had an UpdatePanel to asynchronously execute some actions. So far, nothing unusual.

The problem was it worked on a Dev box, but not on the soon to be Live site. Ever heard this one? :)

Thursday, August 29, 2013

How to Quickly isolate and remove a problematic WebPart

 Here's a nice tip of the day, for anyone wanting to solve those annoying WebPart exception issues.

A lot of times, when you start tweaking with WebParts, you can end up breaking the whole page unexpectedly. To quickly resolve this issue, one thing you can do is close the offending WebPart.

To do this, you can simply add a special query string parameter called "contents" and set it to "1".
For example: (...)

Wednesday, August 14, 2013

Central Admin's 'New' Web Application button greyed out

This is a replay, but always good to remember - pops up every now and then. I was questioned about this today and decided to give a brief explanation.

It has happened to me in the past, wanting to create a New Web Application and the button was greyed out. I couldn't quite understand why, since I could perform the remaining administrative tasks I was looking to do at the time.
(...)

Monday, August 12, 2013

SP2013 & VS2012: .ascx.g.cs missing!

I've been working with SharePoint 2013 for a while now, on and off...well, mostly off to be honest, as the main client I'm working for - 80% of my time - is still on SP2010 (will be very interesting to get them moved to SP2013!).

The first annoying issue I got was with missing .ascx.g.cs files for the Web Parts. I couldn't actually understand what the hell was happening, for a while! We're using a farm solution (we have full control on the environments) and Visual Studio 2012 to develop.
(...)

Wednesday, April 17, 2013

Import/Export SharePoint Managed Metadata Termsets

I recently worked in a project where I had to use Managed Metadata Terms in several different SPFarms.

However, I had to guarantee that all TermSets/Terms had the same GUIDs associated across all environments.

To accomplish this, I used a great project from codeplex called spmmdnavigator.
(...)

Monday, April 15, 2013

SharePoint Search: IsDocument and contentclass properties

A common request, when you're setting up a Search Service Application, is trimming results to documents only. Usually, it's not added value to show lists, libraries, folders or sites as search result items (for refinement, it's a completely different story).

Throughout the years, I've seen people achieving this in multiple ways (most commonly excluding *.aspx using crawl rules), but the right way of doing it is creating a scope and using either the IsDocument or contentclass properties.
(...)

Saturday, April 13, 2013

How to avoid the fatidic UnauthorizedAccessException (0×80070005)

Recently I came across a series of issues when a client I had worked with changed their security matrix.

I had a webpart that applied a CAML query on a list to retrieve data and then present it. The problem I was having, when the customer changed their security matrix, was that some users no longer had permissions to retrieve the list where the data was being stored.
(...)

Friday, April 12, 2013

How to disable Search to index content inside documents

Have you ever had a requirement from a client to customize SharePoint Search, to disallow users from querying for any content inside documents?
I had this request recently, and it was a while until I found solution for it..

To accomplish this, I had to remove some internal Crawled properties from the Search Service Application.
(...)

Thursday, April 4, 2013

Restore site or list from backup without attaching database

A great improvement to Restore/Backups was made to SharePoint 2010. In MOSS2007 the restore/backup functionality was restricted to Farm, Web Applications and Content Databases.

In the 2010 version, using just the OOTB options, we can be as granular as choosing an individual list. This greatly improves the flexibility of this functionality. Not surprisingly, the feature is called Granular Backup.
(...)

Tuesday, March 26, 2013

Welcome João!

It is with the utmost pleasure that I announce the new member of Get-SP.com...João Lopes!

I've been working with João for the last year and a half. He's one of the best developers I've had the chance of working with, so having him on board is great!

One of the things I like the most about him is his dedication towards developing solutions using the best practices.
(...)

Sunday, March 24, 2013

Renewed focus, new domain, new image!

I've been very quiet in the last few months, in the blog and also in the MSDN/TechNet forums.

The main reason was, when I returned from my Summer vacations (to see how long ago it was!), I felt like I needed the blog, and my "community" efforts, to be re-focused.

After some ups and downs, I believe I've reached a good place.
(...)