cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Kudoed Authors
Users Online
Currently online: 271 members 5,452 guests
Please welcome our newest community members: