cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Amruthavarshini
Helper III
Helper III

How to limit the user to create only one active record in power apps portal?

Hello everyone,

I have requirement, where a user can create only one active record in case entity through portal. 

 

How can i achieve this? 

2 REPLIES 2
a33ik
MVP

Hello,

I would say the most stable way is to add a sync validation plugin on Dataverse side, do checks and throw an exception if there is already one active case available.

chleverenz
Super User
Super User

Hi @Amruthavarshini ,

you could use a fetch in the liquid of the rendering page which counts the currently active things and does not display a new form, when already one is present. Instead, it could show a (may be readonly) form or the currently existing thing.

 

Does this point in the right direction?

Have fun,

  Christian

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel News & Announcements 768460.png

What's New in the Community?

Check out the latest News & Events in the community!

MPP IDEAS updated 768x460.png

Ideas

Discover ideas and concepts from users like you for how to use Power Pages and take your work to the next level.

Top Solution Authors
Users online (4,435)