Reputation: 45
I have a power pages implementation associated with D365, I have implemented some duplicate detection rules:
However those only works in the CRM, how I can prevent the web portal user create a duplicate record? like a post or a contact? I'm using a basic form for create new records.
Upvotes: 0
Views: 196
Reputation: 421
Write a custom duplicate detection rule under addOnSave that runs before the duplicate record is saved and validates the entry. Add a custom XML here to find the duplicate and perform necessary actions.
You may also consider registering a preimage plugin to stop duplicate record creation. You may also perform post creation validation and deactivation.
Upvotes: 0