Popup that identifies and displays duplicate records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2022 11:34 AM
We have an issue with users submitting duplicate records. I am trying to create a popup window that would display on the insert of a new record if a query to look for duplicates returns at least one record. the following criteria must be met:
- The popup would display the records that were returned by the query as potential duplicates, and have links to them as well.
- The popup would ask the user to confirm the insert of the new record or allow them to cancel.
Has anyone done something similar in the past? or know of an OOB example that does something similar? My thought process was to use an onSubmit() client script however we only want it to run on insert of a record not on update.
Is a UI Page the best way to create the popup? or can a GlideModal popup show multiple records and link to them as well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2022 11:46 AM
Are you trying to get this running on a catalog item or table record?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2022 12:02 PM
table record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2022 01:57 PM
See:
for a business rule example, that checks for "duplicates". for you, the business rule will be configured to run on "Insert". And you can replace the logic to get a new number with an "addInfoMessage()". But this runs when the user submits the record and doesn't present any UI to "confirm" or "cancel" the record submission. You may use a Client Script and AJAX (to query the server) and achieve what you want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2023 10:28 AM
Looking to do the same thing, did you ever find a solution to this?