web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / I want to restrict use...
Power Apps
Answered

I want to restrict user to use for one time

(0) ShareShare
ReportReport
Posted on by

Hi team,

I have crated app, using gallery, purpose of the app to collect/save the user inputs to my sharepoint, 

I have to restrict the user to fill it for 1 time. In a way once he submit the button next he should be able to access this app.

Can we do this ? Is this possible ?

 

 

Thanks !

Rakesh

Categories:
I have the same question (0)
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    List:

    Email

    Flag
    abc@gmail.comYes
    def@gmail.comNo

     

    let's say you maintain a list like this.

    App.OnStart:

    Set(varUser,User());

    Set(IsUser,LookUp(ListName,Email=varUser.Email && Flag.Value ="Yes"));

     

    The above code will store user's info into variable if he is in the list and flag value is Yes.

    Then next line on App.OnStart:

    If(IsBlank(Navigate(HomeScreen),Navigate(Access Denied Screen));

     

    The above line of code will check weather the variable is blank or not. If it is blank that means user's flag is No and he is coming for the first time to submit data. it will navigate him to home screen. If variable is not blank that means he is coming again. and will navigate him to access denied screen.

     

    When you take the user's input make this flag YES.

     

    Flag is nothing but choice type column which have two values Yes and No. By default it will be No

     

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    @zmansuri 

    You want me to create a new list ?

     

  • Verified answer
    zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    No, You can add the flag column in the current list. That was just example

  • Community Power Platform Member Profile Picture
    on at

    Appreciate it!

    Thanks !

Under review

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

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard