Hello,
I'm going crazy as I cannot figure out why my app has suddenly stopped working. My app collects data from people and then patches to a SP list. There are 4 separate forms, 3 of them are used for collecting data, 1 shows the collected data as a summary where people can make final changes before submitting. So, I have 2 separate buttons that patch the data. My summary form button works, but for some reason, despite working last week, my other button stopped working. It doesn't patch any data at all. I'm using a variable "LastCreatedID" to identify whether a user is already in the list or not. Here is the button function that's not working.
Set(
LastCreatedID,
Patch(
'SP List',
If(
IsBlank(LastCreatedID),
Defaults('SPList'),
LookUp(
'SPList',
ID = LastCreatedID
)
),
{
'Name of the Person': appuser.FullName,
Job: JobTitle.Text,
'Official email address': appuser.Email,
//There are around 20 fields that are used for patching data to SP
},
ProfileForm.Updates,
WorkForm.Updates,
SkillForm.Updates,
//These are the forms I use for collecting data
SummaryForm.Updates//This is the form that I use for showing a summary
).ID
)
What is wrong with my function that it stopped working? As I mentioned, it's not patching any of the fields.
Thanks,