cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Community Support
Community Support

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
Highlighted
New Member

Re: Button clicking with data collection

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

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

Highlighted
New Member

Re: Button clicking with data collection

Thank you Mona that worked!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,165)