Archive for the SharePoint 2010 Category

Elevating Privileges in SharePoint Code

Impersonation leads to Permission Trimming SharePoint uses ASP.Net impersonation to personalize the platform based on the current authorized user. SharePoint objects are aware of the user’s identity and many parts of SharePoint take advantage of this ability. For example, when you get the lists in a site through the API, you only see the ones the current user has access to. Permission trimming, as similar functions in SharePoint are often referred, is a major convenience to the end user and

Read more

SharePoint for DBA’s Part II at SALSSA

Last night I presented SharePoint for DBA’s Part II to the San Antonio League of SQL Server Administrators. Slides The slides from the presentation are available for download and viewing on SlideShare. Screencast of part of Demo 2 I recorded a screencast of one of the demos from the presentation. Video Note: I recorded the video above because during the presentation I ran into an error which prevented the creation of the External List from the External Content Type and

Read more

SharePoint First Steps for Administrators and Developers

In late 2006, when I asked my mentor what I needed to do to get up to speed quickly on SharePoint for my first major SharePoint project, he had great advice that I only followed reluctantly. The mentor was Matthew McDermott. He told me to read more than 1000 pages of free documentation from Microsoft. And he told me to practice it and then re-read it and only then I would know the basics. At the time, it sounded crazy

Read more

SharePoint Weekly, Andrew Connell and MVVM

I just noticed on the SharePoint Weekly Newsletter from Nick Swan that Andrew Connell has a new blog series on SharePoint, Silverlight and MVVM. Developers love design patterns and just the thought of MVVM takes me back to my one of my favorite Computer Science classes on Java 15 years ago. If you’re not familiar with Andrew, you should check out some of his stuff. He’s one of my favorite SharePoint Development Authors and Presenters and having shared a few

Read more

FBA Claims Super User Halloween Gotcha

I’ve been working with Claims Authentication a lot recently and I’m still tripped up by some of the basics, it would appear. Yesterday, on Halloween, I received an access denied error on my web application after configuring it for Forms Based Authentication. I had previously migrated it to windows claims, but this was my first try moving an existing web application from windows claims to FBA Claims. The error in the ULS was misleading: Cannot get Role Manager with name

Read more

SharePoint Mapping Mashups Reprised

Last night, I gave the Mapping Mashups in SharePoint 2010 presentation to the San Antonio SharePoint User Group. Most of the presentation was demo and I performed the demo steps live on a new site I created under sasug.net at http://sasug.net/sasug Pictured above is a screenshot of the demo site after I added some detail. You can find all the demos live on the site, the code I used, the presentation slide deck and even a picture taken of the

Read more

Some SharePoint Development Machine Options

It’s almost a year after release of SharePoint 2010 and momentum is still building around the platform. If you’ve worked with previous versions, but are just coming around to 2010 today, you’ve got some great options for getting up to speed quickly. If you’re a developer, you probably need more than the average SharePoint professional Do you want to build on bare metal, in VMWare, HyperV or use the cloud? The quickest way anymore is to use cloudshare.com. I’ll make

Read more

User Profile Property and Property Mapping Troubleshooting

Working with a remote server today, I thought it would be helpful to see some information about the User Profile Properties without being able to see the server. Rather than ask the on site administrator for a bunch of screen shots, I decided to use PowerShell and the SharePoint API. The User Profile Store and a Deprecated Method The first sample code I came across used the deprecated method UserProfileConfigManager.GetProperties. Using this carry over from SharePoint 2007, you can still

Read more

Try SharePoint 2010 in Microsoft’s Cloud for free

Starting today, anyone can request access to Microsoft’s Office 365 Beta tools in cloud. According to the FAQ, everyone who requests access will get it, but there may be a delay based on the expected amount of requests that will come in. All of the services, which include a watered down version of SharePoint Server 2010, will be available for free during the beta period and then transitioned to a 30 day trial at the release date, anticipated sometime this

Read more

SharePoint is My Blog Platform

My friend Jeff recently wrote about something about SharePoint that needs to change on Google and Bing. Autocomplete shows a negative picture of SharePoint when you type SharePoint followed by the word is and then a space. I hope this post will start a trend of positive posts about what “SharePoint is” for many others like us. Let’s change autocomplete! SharePoint is a tool Jeff evangelizes and one that has been my area of technical specialty for since late 2006

Read more