This feels like such a basic question, but I'm moving between screens in a powerapps form, how do I get the current record? I need it to Patch the item.
Solved! Go to Solution.
Well, I have a button that's outside of the form that I want to click and have it edit one of the fields in SharePoint, but for that I need to use Patch and for that I need the current record.
SubmitForm([@FormEdit]); Navigate(ScreenEdit_2, ScreenTransition.Fade); Set(itemID, ThisItem.ID);
This is what I'm trying to use in my button to get to the second page, but the ThisItem function only works in the form itself.
You know the only concern I have with LastSubmit is, if multiple people are working on the list in SharePoint, isn't it possible that someone could have submitted another form, and that number will then get used instead of the number for the current item?
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.