Hey all,
I'm struggling with doing something in powerapps.
I have a sharepoint list with rows and columns. Let us call this sharepoint list: Table
Table will have several records for an individual person and sometimes they may need to add more records. This is if the fail the test.
My goal is to have the powerapp function in this way:
Student clicks a button, the button has on select code that will go to Table and then copy all rows for that student. Then the powerapp will update the milestoneID value for that record to match the new attempt's milestoneID
I have the following code for "onvisible" of the screen.
Patch(
'table',
Filter(Last('Table',MilestoneID=SafeMilestoneTitle)),
{
MilestoneID: SafeMilestoneTitle
}
);
However, this doesn't work. It says that it can't evaluate error and number.
If I take out the last function, it will not give an error but clicking the button will not modify the sharepoint list of Table.
Any advice?
I know I must be missing something simple.
The context of this is:
The student needs to go back to the powerapp and then re-enter the same information as before, but it needs to be associated with a new milestoneID