cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate II
Advocate II

a key on entity not working

Hi,

I am having some unexpected behavior on some of my custom entities, I defined a key on a primary field and defined another key on a "Date only" field to prevent duplicate records, but both keys are not working!!

 

is this some kind of a bug?

and i searched through the documentaion and actually found nothing mentioning the "Keys" in entities in all the documentaion.

 

thanks 

Mohammad

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Advocate II
Advocate II

Re: a key on entity not working

I am sorry... after further investigation I discovered that creating the key after inserting data (data not complient with the key) fails creating the key index in the system jobs without showing any error in creating the key, so apparently the key is there while it is not working due to pre-existing not complient data with the key.

 

so PowerApps team, please add or surface this kind of error so we can know what is going on!

 

thanks,

Mohammad

View solution in original post

1 REPLY 1
Highlighted
Advocate II
Advocate II

Re: a key on entity not working

I am sorry... after further investigation I discovered that creating the key after inserting data (data not complient with the key) fails creating the key index in the system jobs without showing any error in creating the key, so apparently the key is there while it is not working due to pre-existing not complient data with the key.

 

so PowerApps team, please add or surface this kind of error so we can know what is going on!

 

thanks,

Mohammad

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (10,426)