Monthly Archives: March 2012

Filter on current user with CAML Query.

Hi everybody, Today I will give you a little trick with CAML Query: how to retrieve the current user. Logic suggests that we write a query like this: <Eq> <FieldRef Name=’AssignedTo’ /> <value Type=’User’> [Me]</ Value> </ Eq>  But then, it does not work … The proper way to retrieve the current user is to change our query like this. <Eq><FieldRef Name=’AssignedTo’ /><Value Type=’Integer’><UserID Type=’Integer’/></Value></Eq> And that … Continue reading

Posted in SharePoint 2007, SharePoint 2010 | Tagged , | 4 Comments

Developpements Sample

Hello, A short post to talk about an interesting information found on the Renaud Comte’s blog. Here is a link to download sample of SharePoint 2010 development http://code.msdn.microsoft.com/SharePoint-2010-101-Code-da251182 I’ve search a little more and found another link with .Net 4.0 … Continue reading

Posted in SharePoint 2010 | Tagged , | Leave a comment

List Url to avoid

Hello everybody, For once I’m not going to talk about development, but just using SharePoint. Specifically the Manage content and structure that is accessible via the button of the same name or when you want to add a link to … Continue reading

Posted in SharePoint 2010 | Tagged , | Leave a comment

Windows Application : SPSite FileNotFound

I was creating a Windows application to attack my site SharePoint 2010 when I came across a strange problem. My first test was to try to display the name of my site in my Windows Form. A simple code that … Continue reading

Posted in SharePoint 2010 | Tagged , | Leave a comment

Upload Multiple Document control disabled

By development I came across another oddity of SharePoint (and yes again ^ ^). Wanting to upload multiple files by hand in the style library I realized that this was not possible So I stop you there already, yes you there in the background that will say “yes but you are using Chrome, compatibility with SharePoint is not complete, etc.. ” Never mind, I try via IE (64bit IE9 to be precise) and therefore And yes … same thing … Not losing patience (or just … Continue reading

Posted in SharePoint 2010 | Tagged | Leave a comment