Updating list items in sharepoint radiocarbon dating sample processed

This script is tested on these platforms by the author. If you try it and find that it works on another platform, please add a note to the script discussion to let others know.

First, we declare a boolean to hold the original value of the Event Firing Enabled property.

Now, in our constructor we save off the Event Firing Enabled value, then set it to false.

The sample scripts are provided AS IS without warranty of any kind.

Microsoft further disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose.

Once our update takes place, event firing will be restored and everything works appropriately.

The main goal of the Update List Item action in a Share Point Designer workflow is to update the values of fields of one item that is located in a Share Point list or a Share Point document library.

In this Item Updated event, we are simply assigning the current List Item to a new SPList Item object, changing its "Title" property, and updating it. However, this simple piece of code will cause an endless loop, as each time you call list Item. As you can see, we need a way to prevent this loop from occuring.

Luckily there is an easy and elegant solution with a little custom code.

With Share Point Server servers (Share Point 2016, 2013, and 2010), the 5000 item List View Threshold is the default as well.

However, because there's more control by network administrators, a Daily Time Window can be set where the limits are effectively removed, allowing large queries as well as other data intensive operations to be done.

Using the following ideas, you can get the information you need and stay within the 5000 item List View Threshold.

Tags: , ,