I have a Power Apps form that I am using for QA purposes that has 5 screens:
QA Service #1
QA Service #2
QA Service #3
Then a "You have successfully submitted your QA" screen.
Each screen is for a different QA service and has it's own "Back" and "Submit" button along with fields, drop downs, etc. I want the SUBMIT button in each screen to send the data of that screen only to SharePoint, but then also navigate them to the last screen to show that "Your QA has been submitted successfully"
I'm pretty new to Power Apps, so trying to use the simple approach - so any assistance is greatly appreciated.
This is what I already have for the submit button: Navigate('Submission Successful Screen', ScreenTransition.Fade) ... but I also need it to send data to SharePoint as well.
Put this code in the OnSuccess property of the Edit Form.
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
I am not clear on your description if you have users enter information and submit on each page or just one.
I think perhaps just one page and then go to "You have submitted..." screen.
I also am assuming that you are using Edit Forms on the individual screens.
If that is the case, then you can place a Navigate function in the OnSuccess property of the Form to take you to your final screen. The Form will submit its data to the SharePoint list, and then if successful, will navigate them to that final screen.
If I misunderstood, please clarify a bit.
I hope this is helpful for you.
Thank you, I'm not sure if I am understanding correctly. I already have the button set to navigate to the screen I want, but I also want it to send the data to sharepoint. This is what I already have:
NAvigate('Submission Successful Scrren',Fade)
But just need it to send data to my SharePoint list as well...
Please let me know if that makes sense?
I'm attaching screen shots to see if that helps at all? I have also yet to publish this, so I don't know if that makes any difference?
So I just don't know how to connect the data to sharepoint upon clicking the button AND also navigating to the end screen to show that everything was submitted successfully?
You will still need to do the submit on the form in your button.
I'd recommend putting the Navigate on the OnSuccess property.
I guess I just assumed the Submit button was already setup and working... but that appears not to be the case.
Thank you for the help!
Can I write it like:
Submit(Clinical Registration QA Screen), Navigate('Submission Successful Screen', Fade)? Just not sure how to combine it all, I believe?
Yes you can:
Submit(Clinical Registration QA Screen); Navigate('Submission Successful Screen', Fade)
However, I'd still recommend the OnSucess for the navigate. You wouldn't want the submit to fail and then your users see that it was a success.
EDIT: and to clarify...Clinical Registration QA Screen in your formula SHOULD be the name of the Edit Form control on your screen - not the name of the screen.
Find your favorite faces from the community presenting at the Power Platform Community Conference!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.
Features releasing from October 2020 through March 2021