Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This sample shows how to enable duplicate detection and retrieve duplicate records.
If you do not specify a connection string in dataverse/App.config file, a dialog will open each time you run the sample and you will need to enter information about which Dataverse instance you want to connect to and which credentials you want to use. This dialog will cache previous connections so that you can choose a previously used connection.
Those samples in this repo that require a connection to a Dataverse instance to run will include a linked reference to the dataverse/App.config file.
The IsDuplicateDetectionEnabled
property is intended to be used in a scenario to enable duplicate detection rule for an organization and also for a table.
In order to simulate the scenario described in What this sample does, the sample will do the following:
Account
method creates some account records to retrieve duplicates.RetrieveDuplicateRequest
method retrieves the duplicate records.EnableDuplicateDetectionForOrg
class enables duplicate detection for an organization.IsDuplicateDetectionEnabled = true
.RetrieveEntityRequest
method retrieves the entity metadata.IsDuplicateDetectionEnabled = true
to update the duplicate detection flag.UpdateEntityRequest
updates the entity with duplicate detection set to true
.Display an option to delete the records created in the Setup. The deletion is optional in case you want to examine the tables and data created by the sample. You can manually delete the records to achieve the same result.
Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreTraining
Module
Author a basic formula that uses tables and records in a Power Apps canvas app - Training
Learn how to author a basic formula that uses tables and records in a Power Apps canvas app.
Certification
Microsoft Certified: Power Platform Functional Consultant Associate - Certifications
Demonstrate the use of Microsoft Power Platform solutions to simplify, automate, and empower business processes for organizations in the role of a Functional Consultant.