Will Cooper
Will Cooper
November 30, 2026
Stay in the know
Get helpful videos

Double Trouble in SharePoint

Some things in life are worth having twice. A second helping of dessert, an extra vacation day or even a backup set of car keys can be quite welcome. Duplicate records in your SharePoint lists, however, rarely bring the same level of satisfaction.

Imagine that your company has developed an employee training registration system in SharePoint. Employees can sign up for upcoming training sessions, and the training coordinator can easily track attendance and availability. Everything seems to be working beautifully until someone registers for the same training session twice. Perhaps they forgot that they had already registered, or perhaps they simply wanted to make extra sure they had a seat. Before long, your training coordinator is looking at misleading registration numbers and wondering why the same familiar faces keep appearing on the attendance list.

Duplicate records have an unfortunate tendency to create additional problems as they travel through a business process. They can trigger unnecessary email notifications, generate redundant tasks and produce inaccurate reports. In some business scenarios, duplicates can even result in financial losses. Wouldn't it be considerably easier if our SharePoint solution could recognize these troublesome twins before allowing them into the system?

What Makes a Record a Duplicate?

SharePoint provides a built-in option to enforce unique values on certain types of columns, which is certainly useful in some situations. If you are maintaining a list of equipment with unique asset identification numbers, for example, this might be all that you need. The challenge arises when the definition of a duplicate involves more than one column. In our training registration example, we certainly don't want to prevent an employee from registering for multiple training sessions. Likewise, we don't want to prevent multiple employees from attending the same training session. What we need is a way to prevent a particular employee from registering for a particular session more than once.

Looking at our example, the problem becomes immediately apparent. SharePoint has happily accepted two records that represent the same training registration because each record is technically a separate list item. From a business perspective, however, we know that the second record should never have been created. Our solution needs to be smart enough to understand the relationship between the Employee and Training Session fields. Fortunately, Infowise Ultimate Forms gives us the tools to introduce this additional intelligence into our SharePoint applications. We can define our own criteria for identifying duplicate records rather than relying exclusively on the standard SharePoint column settings. Best of all, we can accomplish this without writing any code.

You Shall Not Pass!

Let's give our training registration system a little more authority over what gets through the front door. Using Ultimate Forms Actions, we can introduce a check that takes place when an employee attempts to save a registration. If another record already exists for the same employee and training session, the system stops the save operation and displays a friendly explanation.

Notice that we aren't simply displaying a warning and hoping that the employee will do the right thing. We are actively preventing the duplicate from being saved. The employee can acknowledge the message, review the information entered and make any necessary adjustments. There is no need for the training coordinator to swoop in later with a broom and dustpan to clean up the list.

Meet Your New Duplicate Detective

The hero of our story is the Calculate Summary Action, one of the many capabilities available within Ultimate Forms Actions. This action allows us to evaluate information from existing SharePoint list items according to criteria that we define. Although calculating totals and counting records are useful capabilities in their own right, we can also use the results to enforce business rules. In our example, we are interested in counting the number of existing registrations that match the information being submitted. If our detective discovers a matching record, we know that something suspicious is afoot. We can then use that discovery to prevent the creation of an unwanted duplicate.

Putting Our Detective to Work

Our action configuration begins on the General Settings tab, where we give the action a descriptive name and establish when it should execute. We want the duplicate check to run whenever someone creates a new registration or modifies an existing one. Checking modifications is particularly important because an employee might change an existing registration to a training session for which they are already registered. Without this additional check, someone could inadvertently introduce a duplicate through the back door. By configuring our action to respond to both Add and Modify events, we address both possibilities.

Next, we visit the Advanced Settings tab, where we establish how our action interacts with the form save operation. Normally, business automation is often concerned with what happens after information has been saved. In this situation, however, our detective needs to finish investigating before the registration is allowed through the door. The Synchronous setting enables the action to execute before the form is saved. We also enable Halt on Failure and Cancel save on error so that an unsuccessful duplicate check prevents the submission from proceeding. Finally, we provide a custom message explaining why the registration cannot be saved. This combination of settings turns an otherwise ordinary calculation into a remarkably useful tool for protecting our data.

Our final destination is the Action Settings tab, where we define exactly what constitutes a duplicate registration. We configure the affected items criteria to find records with the same Employee and Training Session values as the current registration. We also exclude the current record by comparing item IDs, ensuring that an existing registration does not accidentally identify itself as a duplicate when being edited.

For our calculation result, we select Raise error and use the ID column to count matching records. Our condition specifies that the count must equal zero. If one or more matching records are discovered, the condition fails and our custom message is presented. With that final piece of configuration, our duplicate detective is ready for duty.

One Technique, Endless Possibilities

Although we have focused on training registrations, there is nothing particularly unique about training registrations from a technical perspective. The same concept could be applied to an invoice processing system that checks for matching vendors and invoice numbers. An employee timesheet system could check for an existing submission for the same employee and reporting period. An inventory management system could prevent redundant entries for the same product and warehouse. The beauty of this approach is that the underlying technique remains consistent while the query conditions change according to your business requirements.

We can also introduce additional conditions to make our duplicate detection more selective. Perhaps our training registration system allows employees to cancel their registration and subsequently register again. In that scenario, we might adjust our query so that cancelled registrations are excluded from the duplicate check. We could also use date comparisons to identify overlapping reservations rather than looking for exact matches. Our previous article, Block Double Booking with Ultimate Forms Actions, demonstrates this application of the same technique. There is plenty of room for creativity when defining the rules that govern your SharePoint business processes.

Prevention Is Better Than Housekeeping

Building reliable business applications involves much more than creating attractive forms and automating routine tasks. It also requires anticipating situations where users might unintentionally introduce problematic information into the system. Tools such as Ultimate Forms Form Designer and Connected Lookups help guide users toward entering meaningful and consistent information. Combining these capabilities with Actions gives us even greater control over the quality of our data. Clean and reliable information also provides a stronger foundation for the reports and dashboards we create using Ultimate Forms Charts. Rather than investing valuable time correcting mistakes, we can build solutions that actively help users avoid making them. Give your next SharePoint business solution a dedicated duplicate detective and leave the double trouble to someone else!

Frequently asked questions

Q: How can I prevent duplicate records based on multiple SharePoint columns?
A: Use the Ultimate Forms Calculate Summary Action to check for matching values across multiple columns.
Q: Can standard SharePoint enforce uniqueness across multiple columns?
A: Not directly. SharePoint's built-in unique value enforcement applies to individual columns.
Q: Can Ultimate Forms block a duplicate record before it is saved?
A: Yes. A synchronous action can block the save operation and display a custom error message.
Q: Can I exclude certain records from duplicate detection?
A: Yes. Additional conditions can exclude records based on status, dates or other column values.
Q: Can I prevent duplicate records without coding or Power Automate?
A: Yes. Ultimate Forms Actions provides a completely configuration-based solution.
Loading...

Add your comment

Comments are not meant for support. If you experiencing an issue, please open a support request.
General
Relationships between two or more SharePoint lists has always been a major core concept in Ultimate Forms. Using our special Associated Items column, it's easy to set up such relationships. The child items show up inside the parent item form. You can work with them within the parent, adding new ones, modifying and deleting existing ones. One of...
General
Vladi Gubler | March 05, 2025
Need to send data from your SharePoint form directly to your email? This article will guide you through setting up a SharePoint form to email. The form sends collected information straight to your inbox. You’ll learn ways to create the form, configure email notifications, and customize email content. Understanding SharePoint...
General
Will Cooper | November 12, 2026
The key to professional-looking Word print templates in Ultimate Forms is tables. You design an ordinary Word document, place your SharePoint list columns in double square brackets like [[Column Name]], and use Word tables to control exactly where every piece of data lands on the page: columns for side-by-side content, merged cells for headers, and...
Build powerful business applications in SharePoint using only your browser.
100% No-Code Solution
It’s never been easier to create, innovate, and share. All you need is your web browser!
Cost-Effective
Address business process pain points immediately. Save time and money.
Fantastic Support Team
In addition to our responsive support team, a wide variety of resources, documentations, tutorials, blogs and webinars is available to you
Popular Solution Templates
Hotel Reservations
Centralized hotel reservation requests with optional approval and e-signature
Maintenance Request
Every request logged, assigned, and tracked from first contact to resolution
Inventory Expiry Management System
Automatic expiry tracking, status updates, and disposal records — no manual monitoring required
Microsoft partner logo
© 2005-2026 Infowise Solutions Ltd. All rights reserved.
Trust Center | Cookie Policy | Cloud SLA