cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
malkhawaja
Level: Powered On

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
malkhawaja
Level: Powered On

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
malkhawaja
Level: Powered On

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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Users Online
Currently online: 184 members 4,394 guests
Please welcome our newest community members: