Skip to main content

Posts

Showing posts from April, 2013

Grab Web Essentials for VS

Web Essentials extension for visual studio is a great product for web developers/style developers using visual studio, the 2012 version even support TypeScript! Download them for Free! Web Essentials 2012 Web Essentials I bet you will love them:-)

Some good SharePoint blogs to follow

I have to admit that this post is a refinement from 25+ SharePoint Bloggers to Follow. The reason I did this is I want to provide a little bit more information about the blogs which I found are great from a developer/architect's perspective. Path to SharePoint   Have to say the layout of this blog is a bit old-dated, with categories but no tags, makes it a bit hard to target the specific content you're interested.   Content is mixed with overviews of some solutions plus a few post taking about the "Easy Tabs" (guess it is their product). No code snippet and details.   Richard Harbridge: Insights This blog provides some general overviews/comparisons for SharePoint, could be a good resource for entry level devs or business users.   SharePoint Javascript As the name indicates, this blog contains a lot of posts talking about implementing Javascript with SharePoint to achieve some nice customization.   SharePoint Rescue Rat...

Map SharePoint with local file drive - A complete guide

If you google around you can find quite a few posts talking about this 'simple' solution, but I find none of them gets into deepth, especially on prerequisites. So I write this post and hope it can provide meaningful information for users who need map SharePoint with local file drives. And I will give a short overview and the advantages and comments about this implementation.   Prerequisites You need to make sure the the "WebClient" service is up and runing on your server. If this service is disabled or missing on your server, you will have an error saying "The folder you entered does not appear to be valie. Please choose another"   To check if "WebClient" service is in your services list, just open services and see. If it is missing, please follow the steps to make it available:   Start the Windows Server Manager . In the tree view, highlight the Features node. In the details pane, click Add Features . In the Add Features Wizard ,...

A Step-by-Step guide to use HttpModule in SharePoint with SPContext

I guess you must be familiar with what is HttpModule and how can we leverage it for our web applications. But if not, better have a good read of this article . SharePoint is built on top of .NET, so it has all the rights to use the beauties of .NET. Here I want to demo a simple case of httpmodule on SharePoint. Say if in a company it has lots of site collections and user 'Picky Docky' has access for all of them, for a reason farm administrator want to block him for one of the specific site without change his SharePoint permissions. Here are the steps to do it:-)   Create a empty SharePoint solution add a class file to it named  CustomSecurityModule.cs , code as below Create a feature and scope to "WebApplication" Create a feature receiver. Code as below When activate the feature it will create a modle in the web.config file for the SharePoint web applicaiton you deployed to as below: Enjoy!

SharePoint search on local file drive - Why and How

A team member asked me why in some situation we need to use SharePoint search on local file drive as we can do 'search' directly on the folder in windows. I think it is necessary to do some research to show why and why the benifit is to do this. And more importantly - HOW.   WHY? If you've played around with SharePoint local file search the answer is straight-forward: You can let it search multiple local file drives, but using windows you can hardly do this. SharePoint can search 'into' the real content even the keyword is in content of files in zip file . See the comparison I did a search for keyword 'issue':   Window built-in search: SharePoint search: SharePoint search can easily filter the result by type/date etc. SharePoint can show a bit of content from the files found to give a bit more indication. ... HOW  It's hard to find a step-by-step guide talking about how to make it work. That's why here I am:-)   Go to the f...

User Profile Service Sync Scenarios

Some research about how the user profile service app, and how it stores and cleans up profiles for the following scenarios: - What happens when a user is “Disabled” - What happens when a user is “Moved” into an OU that is NOT flagged for import from AD) - What happens when a user is “Removed” from active directory. When a user is "Disabled" in AD User profile sync will NOT remove the user from SP user profiles. Because this user may still have meta information in site collections. This disabled user will loss previous accesses associated with him, but all the files items/documents/files he was working with will be kept. When a user is "Moved" into an OU that is NOT flagged for import from AD or when user is "Removed" from AD User Profile is marked for deletion in the Profile database. You can't retrive user information from user profile service anymore. User won't be in search result once search crawl refre...