Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Primary Key Question Regarding Web Portal Login registration

Posted on by

Hello everyone,

 

I'm new to Power Apps and currently exploring its functionalities.

 

I'm attempting to display and filter a transaction table based on user login details.

 

Here's is my understanding of the process:

 

  1. A user can register from the sign-in page, which creates a record in the contact table in Dataverse.
  2. Then, I can establish a relationship from the contact table to the transaction table to filter display based on columns based on their login detail.

However, I've noticed that the default Primary Key of the Contact Table uses a combination of first name and last name. This poses an issue as it's possible for two people to have the same first and last name.

 

For example, I've registered three records below.

Both 'Testing11111@hotmail.com' and 'Testing222222@hotmail.com' have different emails but share the same first and last name.

 

CupidC_1-1715159475375.png

 

CupidC_0-1715159441774.png

 

In a one-to-many relationship, the default uses the Primary Key of the contact table to the many side of the transaction table. However, with two identical names, it's impossible to distinguish them in the transaction table (as shown below).

 

CupidC_2-1715159753015.png

 

It would be better if I could use the email address as the primary key of the contact table. However, I've read a few posts saying that it's impossible to change the primary key of a table. Does anyone have an idea how to achieve this? Help would be appreciated.

 

Categories:

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >