Hello,
I have been tasked with creating a case screening system using Dataverse for Teams and Power Apps. My Power App should allow the user to upload a properly formatted Excel workbook, parse the data via Power Automate, and upload the records to various tables within the Dataverse for Teams tables the Power App utilizes as a data source. The issue: duplicates. Dataverse for Teams does not allow for secondary keys which would prevent the uploading of duplicates by Power Automate when a user uploads and Excel file.
I am finding it impossible to check the existing records for duplicates and then upload only the cases that are new in the incoming file. I have two properties I can work with to limit the records from a List rows in table call to Dataverse - case number and case location.
First step in retrieving existing case
I have successfully done a List rows in table with an OData filter for both of these. However, I have followed almost every post I can find out there on how to then list only the non-duplicate cases from the incoming JSON data that the Excel file generates.
How can I exclude existing cases listed in the incoming data?
Has anyone been able to ensure duplicate values are not created in Dataverse for Teams in this type of scenario and if so, how?
Thank you in advance for any advice.