Expand/Collapse all groups of a Grouped SharePoint list

Ask Noor

It was required to build a functionality to expand / collapse all groups of a grouped SharePoint list in a list view. Since there is no OOB feature in SharePoint to have this functionality, a jQuery script was written to bring about this effect.

Let us consider a “Tasks” list grouped by “Status’ column as seen below



A jQuery script can be invoked on a click event of some HTML element that will simulate a click on the “Status” as shown in the image above.

A simple HTML Button can be added using a Content Editor webpart along with the jQuery script written below.

Also, dont forget to include the jQuery library reference in your code as below

Happy coding 🙂

View original post


Read the recurring event and calculate the date of next occurrence using Nintex – Part 2

My Learnings

In my previous post Reading the recurring events in a SharePoint calendar using Nintex – Part 1, I discussed how the data gets structured in the XML format when a calendar event happens to be recurring. Now let us focus on how to extract the required information from that XML and calculate the next occurrence of the event. This will enable us to send reminder emails to the users before the event.

You ought to have a lot of patience since there is quite a lot of work posted here. Be persistent!

View original post 651 more words

Reading the recurring events in a SharePoint calendar using Nintex – Part 1

My Learnings

Recurrence in SharePoint’s calendar list is a wonderful feature that allows the creation of events that may be recurring in nature. It could be daily or weekly or monthly or yearly recurrence.

Once a recurring event is created, it is smart enough to update dates in the calendar accordingly.

Amazing! huh!!

Now I am not writing this post to tell you the benefits of recurrence in a calendar list. I have my own reasons.

My requirement was to send reminder emails to the users 4 days in advance from the date the event is to happen. Also, an email should go on the same date of event.

I was under the impression that it should be pretty simple. But my conviction was lost when I saw that the start time is the date of 1st occurrence and end time is the date of last occurrence. Which means the dates that come in…

View original post 330 more words

Hiding Recurrence, workspace and all day event columns in a SharePoint Calendar List using SharePoint Designer– Part2

My Learnings

Last time I said in my previous post how to hide specific columns (recurrence, workspace and all day event) in a calendar list – Hiding Recurrence, workspace and all day event columns in a SharePoint Calendar List – Part1 using JavaScript.

But as it goes, there can be multiple ways to do a task. So, here i am with another method to do the same without using any code.

It is basically the SharePoint Designer that proved so helpful. So, the steps are:

View original post 92 more words

Check if date time field is empty using Nintex

My Learnings

Unlike string variables that can be compared with null, Nintex doesn’t provides enough conditions to check if a date field is empty or not.


View original post 116 more words

Format date to get date components

My Learnings

Many times there is a need to segregate the components of a date column. For instance, the date, month, year or the day of the week.

They are needed to perform multiple calculations and also may be responsible to define some logic. So, here goes my post that gives an insight of how to isolate the date components using Nintex workflows.

View original post 119 more words

Failed to invoke web service – (400) Bad Request

My Learnings

“Failed to invoke web service. Error returned from server: The remote server returned an error: (400) Bad Request.”

View original post 150 more words

User Profile Synchronization Service is not starting

Issue: You are setting up User Profile service application for your SharePoint 2013 environment and as part of configuring the User Profile Service application you have to Start the below two SharePoint Services.

  1. User Profile Services
  2. User Profile Synchronization Services

User Profile Synchronization services internally Start the below two windows Services.

  1. Forefront Identity Manager Service
  2. Forefront Identity Manager Synchronization Service

But while you are starting the User Profile Synchronization Services of SharePoint it is getting stopped after sometime and also it is not able to start the above two windows services.


  1. Farm admin account is not added in server local administrator group.Go ahead and add it.
  2. Restart the SharePoint Timer service.
  3. Again start the User Profile Synchronization Services from SharePoint Central administrator.
  4. This time it will take some time in starting the then it will start the two windows services one by one.

Never Start the

  1. Forefront Identity Manager Service
  2. Forefront Identity Manager Synchronization Service manually for configuring the User Profile Service application


SharePoint 2013 – Manage Services on Server link is not visible

Issue :You have setup SharePoint 2013 environment and everything was working fine.

As per of admin activities you want to enabled and disabled few SharePoint services from the servers of the farm.

With your surprise you have noticed that Manage Services on Server link is not visible under Service applications section of the Central Administration.

Resolution: This issue is because your farm admin account is not added as server local admin.

Add your farm admin account to administrator group of your server where Central Admin is hosted and issue will get resolved.

Adding a asmx WebService to the SharePoint solution in Visual Studio

Ask Noor

This post illustrates how to add a asmx WebService to a SharePoint solution in Visual Studio.

How *.asmx WebService works?

When we develop an asmx WebService in a normal ASP.Net web application, it will have an *.asmx file that will contain information of the library and the class name that the WebService refers to. The code for the WebService is written in a separate .cs class file with appropriate attributes for the webmethods. On deployment, the asmx file resides on the file system and the class files encapsulates into a *.dll library and get installed in GAC

ASMX WebService for SharePoint solution

We can package the *.asmx WebService in a SharePoint solution by adding the *.asmx file into the mapped layouts folder that refers to some class file in the solution. Refer screenshots below to successfully add the WebService on your SharePoint solution

View original post 339 more words