Author Archive

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…)

The master page setting is scoped at the web level, so the first thing I did was use Get-SPWeb to get a variable for the web I want to change. There are two properties that control the master page settings; MasterUrl and CustomMasterUrl. The former controls the master page used to render the System pages (the ones that start with /_layouts) and the latter controls the master page used to render the content pages. This picture helps explain it better:

(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…)