Hi @KaiBPL,
I think @WarrenBelz has provided the correct formula, however, if you have already had a Form, you could directly use the SubmitForm() function.
You could not reference to the attachment column name when you using the Patch() function.
It is necessary for you to insert the attachment control within a form, you could modify formula as below:
Patch(
'YourSPList',
Defaults('YourSPList'),
{
Column1:TextInput1.Text,
Column2:TextInput2.Text,
Column3:TextInput3.Text,
...,
ColumnN:TextInputN.Text
},
EditForm1.Updates
)