I'm working on a simple form integrated with SP List, consist from Title,Body, Attachment
for some reason I want to use Patch function.
my issue with the attachment box, when I add a file it create a new row in SP List ( without the attachment ) , and when I add two files it create two rows in SP List ( without the attachment ) and so on.
in AttahmentBox.OnAddFile :
ClearCollect(CollectAttachment,AttachmentBox.Attachments)
and I can see the collection data in collection menu
in AddIcon.OnSelect :
Set(
SubmitNewNote,
ForAll(CollectAttachment,
Patch(
NoteList,Defaults(NoteList),
{
Title:Gallery1.Selected.Title,
Body : DataCardValue1.Text
}
))
)
please I need help to adjust my code so I can save attachments to the SP List