cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Skilled Sharer
Skilled Sharer

Re: Button dissapearing after clicking on my own will

@Fields, having them anonymous is indeed a bit of a pain.

Maybe you have 2 buttons on the first page - one to login using an ID and one to generate a random ID for when they first open the app and show them a message with the ID and say they need to remember it - and you store it in a list with no other info about it - then when they open the app the second time they can use the ID to log in and you can use it to check if they've submitted something. 

 

MelindaK
Highlighted
Helper V
Helper V

Re: Button dissapearing after clicking on my own will

@MelindaK, the problem is, i don't want them to use the app after their first use, or if they do, they get blocked in the first main screen...

Achieving this is already hard, and can be very buggy.

What i want, is the user only use that app once, and don't use it anymore...

Highlighted
Skilled Sharer
Skilled Sharer

Re: Button dissapearing after clicking on my own will

@Fields I see, that sounds something quite hard to achive. And unfortunately, I can't help you with that 😐 maybe someone else knows how to do it... if it is possible... 

MelindaK
Highlighted
Helper V
Helper V

Re: Button dissapearing after clicking on my own will

@MelindaK I wanna make this thread up, until someone comes here with a solution! But so far, yours have been great and helped me so far, so once again thank you!

Highlighted
Helper V
Helper V

Re: Button dissapearing after clicking on my own will

Hi @MelindaK,

 

I know i am bothering with this issue, but i wanted to make a quick update about this topic, what i got in my mind is, the person will be registered no matter what, in the sharepoint column, what i can do is, if the name of the person is Automatically on the sharepoint list, the button will hide! No need to make ID's, and it's still going to be anonymous because no person knows that view...

 

The code that i first tried was on the button Visible:

If(User(EditForm1=true),false)

But it was uncessfull, then i tried this:

If(FormMode, Hidden=true)

At this point, i am trying everything.

Maybe your ID ideia can be actually usefull, if i am able to hide it somewhere!

 

Fields,

 

 

Highlighted
Skilled Sharer
Skilled Sharer

Re: Button dissapearing after clicking on my own will

@Fields, I think I understand what you mean - when the person fills in the form the name will be saved automatically on the 'Created By' column, thus you can use this on the Visible property of the button:

 

IsEmpty(Filter(Test, Author.DisplayName = User().FullName).Author)

- this will hide the button if the user has already created an item in the list, or display it if the user didn't. 

You can use this directly on the button Visible property with no other variables. I have tested and it seems to be working for me.

However, it will not delegate for some reason (the blue indication appearing on the Author.DisplayName)

 

Hope this helps 🙂 

MelindaK

View solution in original post

Highlighted
Helper V
Helper V

Re: Button dissapearing after clicking on my own will

Hey @MelindaK,

 

THat actually does not work, it shows me an error, and keeps hiding for no reason!

Capture.PNGlo.PNG

 

Any help would be appreciated

 

Fields,

Skilled Sharer
Skilled Sharer

Re: Button dissapearing after clicking on my own will

You must adapt the Filter to your specific needs - "Test" must be replaced with your list name.
MelindaK
Highlighted
Helper V
Helper V

Re: Button dissapearing after clicking on my own will

The filter was actually called test as well, but i was doing in the wrong app...

 

But it works great now! Thank you once again, and i guess you have a solution on how to do this without knowing their name... Kinda!

 

Thank you

 

Fields,

Highlighted
Skilled Sharer
Skilled Sharer

Re: Button dissapearing after clicking on my own will

True, one thing I wouldn't have thought about.

Glad it works 🙂
MelindaK

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!

Top Solution Authors
Top Kudoed Authors
Users online (7,405)