Hello,
I'm still new to PowerApps and you will see in my latest posts (like this one), my app suddenly stopped working properly. After a long week of debugging, I figured out that the "form.updates" at the end of my patch function, prevents patching. I'm speechless why it has suddenly stopped working, but I also cannot figure out how can I solve this issue. Here is my patch function:
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,
SummaryForm.Updates
).ID
)
As mentioned, if I remove the
ProfileForm.Updates,
WorkForm.Updates,
SkillForm.Updates,
SummaryForm.Updates
part from my function, it works. But, this also means I cannot patch the attachments. I have multiple questions
- Why has my app suddenly stopped working after collecting a number of users' data?
- Why do removing these items from my function work?
- How can I ensure that my app functions properly while still patching the attachments?
Thank you,