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

Button clicking with data collection

I'm new to Powerapps and here for help. I'm trying to create an app when clicking on a button, then it will navigate to the next screen, and at the same time, collect data and save it to a list. How to do this? Alaina
1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Button clicking with data collection

Hi Alaina,

 

First, you need to create a connection to your database, selecting the table that you want to the information to be saved to. Add a button, and set the OnSelect property. ; can be used to perform multiple actions. Use the formula similar like below: 

Collect(Table, { Name: User().FullName, Email: User().Email }); Navigate(Screen, ScreenTransition.Fade)

 

If you want to get more user information than just name and email, you can also add a connection to Office 365.

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Alaina
Level: Powered On

Re: Button clicking with data collection

Actually it is not a list but I want to save the user information to a table
Community Support Team
Community Support Team

Re: Button clicking with data collection

Hi Alaina,

 

First, you need to create a connection to your database, selecting the table that you want to the information to be saved to. Add a button, and set the OnSelect property. ; can be used to perform multiple actions. Use the formula similar like below: 

Collect(Table, { Name: User().FullName, Email: User().Email }); Navigate(Screen, ScreenTransition.Fade)

 

If you want to get more user information than just name and email, you can also add a connection to Office 365.

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Alaina
Level: Powered On

Re: Button clicking with data collection

Thank you Mona that worked!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 297 members 3,042 guests
Please welcome our newest community members: