This is the Visual studio version for SharePoint 2013 that i created of this initial code plex project "Out of the box, Microsoft SharePoint has a very rich set of features, but sometimes you need more, or something a little different, to meet the needs of your project. This article will discuss various methods of presenting... Continue Reading →
If you call a method of image web service to retrieve pictures of a sharepoint user, you might get an 404 error because the picture reference an old mysite collection, so the url is invalid.To solution that problem, update every pictures of every users, you probably can do it by script powershell of console application.
Check that you ran the code inside sprunWithElevatedCheck that you re instantiate a spsite after using SPContext, otherwise the site object will be run with normal priviledgeIf you are using SPLimitWebPartManager (lien vers dispose objects), place it in the spRunWithElevated priviledge too, because it instantiate an instance of SPWeb !
You are programmatically creating a ContentQueryWebPart and when you test the solution, you try to click on an item link and you get a : “404 NOT FOUND” page error The error : The Content By Query Webpart displays items url as : http://jeff/sites/test/News/Lists/Posts/1_.000 or http://jeff/sites/test/News/Lists/Posts/2_.000 Solution : When you programmatically create the CQWP, you... Continue Reading →
Microsoft has published a SharePoint 2010 Code sample pack. Containing 101 Codes samples ! If I had that when i began to learn SharePoint, it would have saved me a lot of time. Language are C# and VB, for SharePoint on premise AND Online !! Some of really useful features are, for a sharepoint developper... Continue Reading →
What did i try to do ?I’m creating SPListItem Programmatically (create elements in a list) and when the item.update(); is called by the code, the following error is thrown :“Erreur : Valeur de date/d’heure non valide.Un champ de date/d’heure contient des données non valides. Vérifiez la valeur, puis réessayez”or in english :“SPException : invalid date/time…”What... Continue Reading →
What is that ? Based on this excellent tutorial from kirk Evans : http://blog.evepoints.com/2010/11/add-video-sharepoint-2010-blog.html This will allow you to add youtube video in a blog content. Basic sharepoint feature permit you to add the video by modifying the HTML code, from the Insert HTML button of sharepoint, but that is not really user friendly. Preview,... Continue Reading →
Issues : After patching SharePoint 2010, with the cumulative Update of December, you could get some issues if you created custom content type by Visual Studio, using programmatically method (C#) : The document content type is missing The error prompting on sharepoint is : 0x0101 is missing The element content type is missing : The... Continue Reading →
I got the following error message in visual studio during programing :"The file has been modified by ... unknown"It was because i called two times (by error) the item.update(); method.This could happen as well when you code an event receiver (sometime happening when you do something on a list, web, site....) and you use item.update(),... Continue Reading →