Sharepoint Migration | Sharepoint Code

Sharepoint Virtual PC – Sharepoint Development Environment

If you are developing for sharepoint you have likely come across the stumbling block. Your running something like Windows 7, Vista or XP, Visual studio 2008, 2010 something like that. You want to develop for sharepoint directly but when you go to make a fresh webpart or indeed any solution for sharepoint it basically says [...]

Upload image directly into Sharepoint Picture Library – CSharp

We have touched on inserting an image directly into a default sharepoint picture library (using csharp and in sharepoint 2010) but what if you want to upload an image directly into Sharepoint 2010, but to a specific gallery? Well the first step is to find the specific guid of a gallery – something you can [...]

Make new Sharepoint 2010 Publishing page in Csharp – needs keywords

Want to make a new publishing page in sharepoint 2010? Want do do it in code? use csharp! yes use it! here we will explain the complete steps of going about setting up a new PublishingPage object. First we will grab the correct page layout object to insert the new page with, then we will [...]

Sharepoint Error Codes – MOSS 2010 Error Code

The majority of times we talk about error codes in sharepoint, especially in 2010 we don’t need more than the reference off of the error page, but sometimes it can be easy to forget where the logs are and frustrating skipping through them to find out where the REAL error was, as quite often these [...]

Use Csharp to add an image to a sharepoint default image library (c# sp2010)

Yesterday we looked at adding a file to a document library, which is essentially the same process as we will use here, but this is more specificly a function which will insert/upload/add an image into a default images sharepoint library (one is created for every publishing web you make, designed to house images used in [...]

Get Image from URL, FileExtension and Get Bytes From Url useful Functions csharp

To accompany all of the sharepoint migration and development code here is a few useful functions for getting images/bytes from urls directly in csharp and breaking strings down into file extensions. Might save you a little time if you need to drag content from an existing intranet into your new sharepoint deployment. Nothing complex here. [...]