Posts Tagged ‘SharePoint 2010’

In this post I will show how to change User Profile Picture for Multiple .

Using Console Application in Visual Studio .Net, I deploy and change picture based on User ID (as custom column in CA from AD):

(more…)

In this post I will show how to change User Profile Picture for Single .

Using Console Application in Visual Studio .Net, I deploy and change picture based on User ID (as custom column in CA from AD):

(more…)

After SharePoint migration from 2010 to 2013, I faced multiple of strange issue, below is one of them:

I can’t add / edit items in the list, it show below error in red color:

“Value does not fall within the expected range.”

(more…)

I was struggling in this error for many days, and Finally I found the solution:

I am using SharePoint 2013 On premises ..we have many excel and word documents stored in different document libraries

(more…)

Quick and Easy, just make sure to type the exact name of the Lists \ Libraries inside the code:

  • Open VS 2010 and Create new Project as Visual Web Part Project.
  • 3 tips need to be consider and that is : make sure .Net Framework is 3.5 – Platform Target to be 64 bit or Any CPU – last one is to Add Microsoft.SharePoint.dll in the reference.
  • In ASCX File, add following code:
    <ul id=”ticker02″ class=”newsticker”>
    <%=OutPut %>
    </ul>
    <asp:Label runat=”server” ID=”Label1″ Text=””></asp:Label>
  • In CS File, add following code, I have used CAML Query Bulider to get below query:
  • Don’t forget to add following string in the top:

(more…)

Quick and Easy, just make sure to type the exact name of the Lists \ Libraries inside the code:

  • Open VS 2010 and Create new Project as Visual Web Part Project.
  • 3 tips need to be consider and that is : make sure .Net Framework is 3.5 – Platform Target to be 64 bit or Any CPU – last one is to Add Microsoft.SharePoint.dll in the reference.
  • In ASCX File, add following code:
    <ul><%=OutPut %></ul>
  • In CS File, add following code, I have used CAML Query Bulider to get below query: (more…)
  1. Go to central admin
  2. Application Management -> Manage service applications
  3. User Profile Service Application
  4. People -> Manage User Properties
  5. Picture -> Edit
  6. Edit Settings -> Do not allow users to edit values for this property