How to patch attachments into a SharePoint list

Jones, Jim 0 Reputation points
2024-10-01T14:10:28.2533333+00:00

I have a new form (Form1) that has all my fields contained. I can patch these fields into a new record and it works fine. Now I want to patch a second form (Form2), which contains attachments, into the same record. I have found several advise pages that say to use "Form2.Updates" in my patch function.

i.e. Patch(SharePointList,Defaults(SharePointList),{FieldName: DataCardValue1.Text},Form2.Updates

Here is the code:

Patch(
    'SOW Requests',
    Defaults('SOW Requests'),
    {SOW_Name: DataCardValue27.Text},   
    {'Estimated Cost':Value(DataCardValue14.Text)},
    Form3.Updates
)

The "Form3.Updates" is showing as an error. Any suggestions?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,021 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VarunTha 7,980 Reputation points Microsoft Vendor
    2024-10-01T15:50:44.6833333+00:00

    Hi Jones, Jim,
    Thank you for reaching out to us on the Microsoft Q&A forum.

    This topic is currently not supported in the Q&A forums.

    I recommend initiating a new discussion through the Sharepoint Forum Moderators are readily available there to assist you and provide guidance.

    Please don't forget to Accept answer and close this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.