Hello all, I'm hoping someone can provide the miracle I need. I've tried creating this form three times and still cannot seem to patch the two forms to SharePoint.
My last attempt including creating a new modern form "Basicform" , coping and created the second form "DetailsForm".
I used the modern tablist to guide the user from the Basic form to Details Form.
Each form includes text, choice, and people picker fields from SharePoint.
Each form Item is set to a variable called varItem.
The "New" form button syntax is:
ResetForm(BasicForm);
ResetForm(DetailsForm);
NewForm(BasicForm);
Set(varItem,Defaults('Change Request'));
Set(varRecordType,"New");
Set(varOrg,true);
Navigate(BasicForm)
There is one "Submit" button at the bottom that shows on each screen.
The submit button syntax is set to:
Patch('Change Request',Defaults('Change Request'), BasicForm.Updates, DetailsForm.Updates, CMForm.Updates) . Yet when I tried to submit, I receive an error stating the Patch function: The requested operation is invalid.
Does anyone have any ideas what could be wrong?
If I use form.updates in the patch function, do I still need to add all the fields between { } to make it work?
I would be forever grateful for your help.