I have a form that allows a user to click a button and creates a duplicate record (by way of patching) and it works great…except that it won’t copy the attachments to the new record. It will copy every other field, except not the attachments.
I can’t seem to make the patch code patch. I have several fields in patch code, I put Attachments in as the column, the data card name and .Attachments. I know I’m selecting the right name because it even suggests putting Attachments after the dot.
It then gives a line stating, “The type of this argument ‘{Attachments}’ does not match the expected type ‘Attachment’. Found type ‘Table’. The function ‘Patch’ has some invalid arguments”
So, then I changed the column name to Attachment (singular) to see if that made a difference and, of course, it states that column doesn’t exist and the most similar name is ‘Attachments’
Any thoughts?