Error occurred in deployment of step ‘Activate Features’: the field with ID defined in feature was found in the current site collection or in a sub site.

I ran into this issue a couple times now and figured I’d write down the “workaround”.  I say workaround as this is not a real fix as from my understanding a bug has been filed and the product group(s) are working on a resolution.  The KB article to the work around is here: http://support.microsoft.com/kb/2022443 but…

17

SharePoint UserProfileManager.Search Method Sample

I was recently working with a customer looking to create an enterprise library solution which enabled their developers to search the SharePoint enterprise User Profile Service Application.  This endeavor brought us to the UserProfileManager.Search method which is a part of the Microsoft.Office.Server.UserProfiles namespace.  The documentation on MSDN for this method is very scarce hence we…

5

HTTPWebRequest 404 Error

A while back I developed an application which made requests to several web sites, scraped some data and stored the data into a database.   The application worked great for several months without issue.  One day the application failed to get a successful response from the sites I was screen scraping.  Obviously, the first thing I…

4

Hitting the Enter Key to submit a form in ASP.Net

So in my latest adventures I was tasked with creating a form that had 1 text box and a button that made a query once entered.  Straight forward enough right?  No problem  in no time the form was created and the page submitted the query and returned the results.  I submitted my code to the…

3

Sending Email From SharePoint

One of the pretty common things you might need to do in a SharePoint application is to send an email.  Since SharePoint has SMTP already configured this becomes pretty simple via the leveraging of the SharePoint Utilities API.  These utility methods are especially useful for things like sending emails or converting Dates in SharePoint.  Below…

3

SharePoint List Template Ids

  Below is a listing of the out of the box SharePoint List Template Ids.  Happy Coding! 1200 Administrator tasks list 104 Announcements list 303 Blog Categories list 302 Blog Comments list 301 Blog Posts list 105 Contacts list 120 Custom grid for a list 118 Custom Workflow Process 130 Data Connection library 110 Data…

3

SharePoint 2010 Sandbox Web Part Properties

I had the pleasure recently of creating a custom web part which had to live inside a sandbox solution for SharePoint 2010.  SharePoint 2010 Sandbox solutions are great in enterprise environments when the resources are shared and the farm is locked down.  However it calls for a major change in the way we create web…

2

Integrate Google AdSense with and AngularJS Web Site

  I’ve just added my latest post on my new blog http://karimkameka.com.  This one discusses how to make a AngularJS Directive to get Google AdSense working on your AngularJS site.  http://karimkameka.com/2015/01/27/integrate-google-adsense-with-an-angularjs-web-site/ Don’t forget to follow me on Twitter @livehands

2

Issues with Installation of SharePoint 2010 SP1

I recently had a situation where we were installing SharePoint 2010 SP1 update in our SharePoint Farm.  The installation began fine and we were able to install on the first server with no issues.  When we began the update on the second and third servers in the farm when all seemed well.  However executing a…

2