Hi guys,
In my expense app I currently have a button that when pressed, updated my 'approval' from unsubmitted to pending. This works, however I'd also like to add the time of when this button is pressed to a column that ive created called 'date submitted' (which is in sharepoint). how do i change my code to reflect this?
Here is my code:
UpdateIf(
LineItems,
Approval.Value = "Unsubmitted",
{
Approval: {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Value: "Pending"
}
}
);
Navigate(SubmittedExpensesScreen)
Thanks in advance and let me know if you have any questions!